Articles on: Regios Discounts

How to Create Shareable Links

Similarly to built-in Shopify discounts, you can create links to your store that will apply a specific discount code to the cart when visited.

Use Cases


share discount via link

Step 1 - Create a Discount Code


Create a discount code, NOT an automatic discount.
You must save the discount first before you can get a link.
After saving the discount, go to the home screen of the app, then click on your discount to open its "Edit product/order/shipping discount" page.



A screenshot of the "Promote > Get a shareable link" button on larger screens

On larger screens (eg. desktops), you'll see a "Promote" button at the top right of the screen. Click that, then "Get a shareable link."

A screenshot of "Actions > Promote > Get a shareable link" button on medium-size screens

On smaller screens, such as tablets, you'll see an "Actions" button at the top right of the screen. Click that, then find the "Promote" section, and click "Get a shareable link."

If you don't see the "Promote > Get a shareable link" button:
Are you sure you created a discount code, NOT an automatic discount?
Have you already saved the discount?



A screenshot of the "Get a shareable link" modal

The app will get a list of shareable URLs for this discount from Shopify's API. Click "Copy link" to copy a link to your clipboard.


The functionality for shareable links is built-in to Shopify.

For example, if you visit yoursite.com/discount/CODE, it will apply whatever the discount code is to the cart.

However, this does not work for automatic discounts, because they do not have a "code" that you can add to the URL.


Add ?redirect=/collections/HANDLE to the end of the URL.

%2F is the same as /, so if the above gives you issues, try ?redirect=%2Fcollections%2FHANDLE.

For example, if you want a link that automatically applies the discount code 15OFFSHIRTS and takes a customer to your "Shirts" collection:

yoursite.com/discount/15OFFSHIRTS?redirect=%2Fcollections%2Fshirts

Your Feedback Matters


As a solo founder, your experience is crucial to me. Could you spare a moment to share your thoughts? Please leave a review on the Shopify App Store. Thank you for helping me improve!

Updated on: 14/02/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!