I am trying, like MANY before me, to display the discount that an applied coupon has in the PRODUCT and CART page.
I am using the sample code here - https://help.shopify.com/en/themes/development/discounts
When I go to the checkout page, I see the coupon applied, but using the above code, I am not able to see the discount on the cart page. I tried using the JS SDK to get the cart object, and the discount isn't in their either.
It's completely ridiculous that we cannot see the discounted price or discounted line items to display to the user prior to checkout, as many others have said. I've seen some apps that do this, but would like to know HOW they are doing is so the rest of us can learn.
Does anyone know why Shopify's own documentation on this doesn't even work?
|10 seconds ago|