A first order is a good moment to say thank you in your own words, beyond the standard order emails.
When a registered customer’s first order is paid, this routine publishes a private toast that only they can see. It’s available for seven days and can appear on eligible storefront pages they visit while signed in.
Toasts don’t appear on checkout or payment pages, so the customer may see the message during a later visit rather than immediately after paying. Other storefront messages and browser display limits can also affect whether it appears.
It only works when the customer was signed in at checkout, because Store Routines must be able to prove the order belongs to their account. Guest orders don’t get it.
Before you turn it on
Edit the message to sound like your store. No store-specific selections are required when adding this routine.