New Shopify Certification now available: Liquid Storefronts for Theme Developers

Showing confirmation and new price after discount code applied

fungtutor
Tourist
11 0 3

After a customer clicks on a discount code link, is it possible to show a pop-up confirmation to tell customer that the code has been applied successfully?

 

In addition, can you show the discounted price directly in collection / shop? Right now the discounted price only shows up in cart.

 

Many thanks!

Reply 1 (1)
ShopDoctors
Shopify Partner
38 2 4

You can achieve this by appending `?discount-code=YOUR-CODE` to the URL while using the app https://apps.shopify.com/discount-on-cart-pro

That will do one of two things:

- If the customer already has items in their cart, the coupon will be applied and a success message will show the discount amount.

- If the cart is empty, the app will attempt to apply the coupon once the customer adds something to their cart.

The coupon application would happen on any page which displays either the app's standalone discount field or the app's discount coupon cart summary.