Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
HI,
Discount codes don't appear to be working on my cart page, if the page POSTs to /cart with a discount parameter, it doesn't seem to be applied, no error messages or anything. If I post it to the /checkout page, it shows on the Shopify checkout page. It also works by inputting it on the checkout page. I can't see anything in my theme that would be causing this issue, is there an issue on Shopify's side with this?
You can view this at https://www.laurasconfectionery.co.uk/ using the discount code MUM15
Thanks
This is just how Shopify works. Discount codes can only be applied in checkout.
You could maybe fake it with some javascript on the cart page. If you pass a discount code through a URL parameter, you could use javascript to get the code and update the prices. It's not a scalable solution though because you'd have to know (hard code) how the discount works for the discount code passed in. Or if you're able to construct your discount code with that information, you could parse the code to get the discount value (something like PROMO5percent = 5% off, PROMO10dollar = $10 off).
We are having this problem with Debut theme. Why the flip have a promo code entry box on the cart if it doesn't work?????????? How can I get rid of the promo code entry box on my cart, since it is only causing confusion and problems?
Seems like Every other Ecommerce site allows a coupon to be entered and applied within the cart , so the customer knows the detail before checking out. Why can't Shopify run the same?
Billhd, I agree. I am having an issue where we are running a promo and people are not completing their orders because they don't see the discount from the coupon on the cart page. This seems elementary to me from a conversion perspective. I can imagine how much revenue stores and Shopify itself is missing out on because of this one thing. They should be paying for this kind of feedback, lol.