Hi, currently in the process of switching to the Dawn theme and would like to display the discounted price on the product page and collection page (see attached). I am not talking about the “compare at price”, but would like to display an automatic discount.
We have an automatic 20% discount for watches, so customer does not need to enter a discount code at the checkout, it’s automatically applied at the checkout.
In order for the customer to see the discounted price on the product page, I edited product-template.liquid (see the code in the original post). Now, I am transitioning to the new Dawn theme and the product template is in json and not liquid, so I am asking ow to do the same thing in json.
How do I display already discounted price on the product page?
The product price needs to reflect the automatic discount that is applied at the checkout.
This is not the same!
I am not talking about “compare at price”.
We have an automatic discount that is applied at the checkout, so customer does not need to enter any coupon codes.
I want to display discounted price on the product page, just like I did it in liquid (see code in original post), but I don’t know how to do it in the new Dawn theme with json.
I ended up going off of this response, but it only shows the discounted price on the main pages and in collections, not the actual individual item. Since it changes the code, I duplicated the theme and named it “sale” for this purpose. Just remember to change it back after the sale. Also, next time there’s a sale any updates made to the main theme won’t transfer.