Goal: Show an automatic 10% discounted price on product pages (Dawn theme) without using compare-at prices. The discount is already displayed on collection and home pages via existing Liquid code.
Proposed solution: A reply suggested replacing the product price code with a conditional that displays compare-at price (struck-through) and current price when compare_at_price > price.
Issue with proposal: The store does not use compare-at prices, so the suggested snippet may not apply. The original poster asked if the code only works when compare-at price is set, and requested guidance on where exactly to place the code on the product page.
Open questions: How to display an automatic discount on the product page without relying on compare-at prices, and the correct file/section for inserting the code in the Dawn theme.
Status: Unresolved; requires a solution tailored to automatic discounts without compare-at price and clear placement instructions.
I have an automatic discount of 10% setup - I already have the liquid code for the discounted price to display on the collection and home pages, however, I need a code for the discounted price to display on the actual product pages. I do NOT have compare at price setup. I am using Dawn theme. Can anyone assist?
Hi, thanks for your response. Is this code only for if a compare at price has been entered in the product listing? If so, I do not have any compare at prices setup for my products.