Show a welcome offer to visitors who aren’t signed in

Publish a welcome popup with your coupon code for visitors who aren’t signed in, without showing it to signed-in customers.

A welcome code can give a new visitor a reason to place an order. Showing it only to people who aren’t signed in keeps it away from customers browsing from their account.

When you choose Run now, this routine publishes a popup for visitors who aren’t signed in, with your code and a button to the shop. The popup remains available for 14 days. Browser-based display limits prevent it from appearing repeatedly during the same browsing session or within seven days of being shown. Returning customers who aren’t signed in can see it too.

The popup only shows the code. The discount, its limits and any first-order rule are set on the coupon in WooCommerce. Choosing Run now again while the popup is still live doesn’t extend it, so remove the current popup in Storefront changes first, or wait for it to end.

Before you turn it on

Create the coupon under Marketing > Coupons first, then configure its discount, expiration and usage limits. Store Routines displays the coupon code but doesn’t create or manage the coupon itself.

Make sure the coupon remains valid throughout the popup’s scheduled duration. If the offer should only apply to first orders, configure and test that restriction separately.

Update the popup title and code to match your coupon. Check the button link too, because your shop page may not be at /shop/.

What this routine does

WhenRun manually
ThenShow a modal popup

Requirements

  • Store Routines 1.1.0 or later

Store Routines reviews every routine on your store before importing it, and imports it turned off.