Discount code for buyer after purchase

19 0 2

Hi there,


How do I create a discount code or pop up after customer has completed a purchase on my store?


The discount code/ voucher is for them to use for future purchases.





Replies 6 (6)
Shopify Partner
327 16 38

App Selly has post-sale feature that can display discount code on "thank you" page for your store:


Best regards,

★ SELLY UNITED - The front solution to increase sales for online store and POS -
19 0 2

Hi Risa,


Sure. Thank you!

Shopify Staff (Retired)
Shopify Staff (Retired)
1260 90 222

Hi, @fangsb.


Tira here, from Shopify Support.


Great question! Thank you @Risa for the app recommendation. I'm happy to help with some more suggestions: 


You can add the discount code to the Order Confirmation notification (email) that is sent out to customers. You can follow our guide on how to edit a notification template here: Editing a specific notification template. You can type some text and the discount code into the body of your notification, where you would like the discount code to show up. To learn more on how to create a discount code, you can view our help doc here: Creating discounts. You can create a discount based on a percentage, fixed-amount, Buy X Get Y, or a free shipping discount. 


You can also look into pop-up apps from our App Store. These apps allow you to add a customized pop-up to your store, with features such as adding a message along with a discount code, or allow your customers to sign-up for your mailing list. 


Here are some of my recommendations:


Privy - You can run exit pop-ups that are customizable, and with A/B testing to see which pop-ups best work with your customers.

WooHoo - Discount Email Pop ups - This app has spin pop-up games that pop-up when your customers exit your store or abandon your cart.

Personizely Exit & Email Popup - Includes exit, email, and messenger pop-ups.


You can find similar apps here. If you have any questions about these apps, you can contact the third-party developer by using the information listed underneath the "Support" section of the app's page.


Let me know if that helps!

To learn more visit the Shopify Help Center or the Community Blog.

19 0 2

Hi Tira,


Sure. Thanks for your recommendations.

Shopify Partner
60 0 1

you can use app Auto Discount: Welcome Voucher, where you can set creating a discount code for customers who completed a purchase in your store. Discount code (voucher) will be send automatically to customer email after his order is placed (or paid). Customer can use generated discount code for order in future.

Shopify Partner
4167 244 732

Hello @fangsb, you can try eCommerce marketing automation all in one Shopify app AiTrillion.

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
- 13+ Shopify Apps launched on app store.