Hi there! Looks for help. We’re currently running a store-wide sale, 20% off all products. The discount is applied correctly at checkout. But we need to show the before/after (regular/sale prices) on both the:
The collection page: https://syrachacuse.com/collections/syrachacuse-gourmet-sauces
And product: https://syrachacuse.com/products/syracuse-style-hometown-hot-sauce
Currently, only the regular price is being shown on the collection page and product.
Thank you!!!
Hi @aCharlie ,
To show both regular and sale prices on your collection and product pages during a store-wide sale, you’ll need to adjust your Shopify theme’s Liquid templates. Here’s a general guide:
-
Edit Collection Page Template:
- Find the Liquid file responsible for your collection pages (like collection.liquid or collection-template.liquid).
- Modify the code to display both product.price and product.compare_at_price. The compare_at_price is typically the original price before the discount.
-
Edit Product Page Template:
- Similarly, for the product pages, edit the corresponding Liquid file (like product.liquid or product-template.liquid).
- Ensure that both product.price and product.compare_at_price are displayed.
This will allow customers to see the original price alongside the discounted price. Remember to backup your theme before making changes. If you’re not familiar with Liquid or theme editing, you may want to consult with a Shopify expert.