In some cases, it makes sense to send shoppers back to your Shopify store instead of using text-to-buy. When you do, you can still create a smooth, high-converting experience by linking directly to your site with a discount code already applied at checkout—no typing required.
Here’s how to format your links.
If you want to send shoppers to your homepage and automatically apply a discount, use this simple format:
Input:
Home page: pleaseacceptthiscookie.com
Discount code: WELCOME10
Output:
pleaseacceptthiscookie.com/discount/WELCOME10
You can also direct traffic to a specific product, collection, or content page—while still applying the discount in the background.
Input:
Destination page: pleaceacceptthiscookie.com/collections/whats-new
Discount code: WELCOME10
Output:
pleaseacceptthiscookie.com/discount/WELCOME10?redirect=/collections/whats-new
This method works for any Shopify page, including:
Product pages
Collection pages
Blog or content pages
Your cart (/cart
)
Just replace the redirect=
path with the URL path you want to send shoppers to.
Why this matters:
Auto-applying discounts reduces friction, improves conversion rates, and ensures your customers don’t miss out on the offer you promoted via SMS. It also gives you flexibility to guide shoppers to the right place while still delivering value.