Shopify themes, liquid, logos, and UX
Hi everyone,
I am looking for a way to show the original price (price item at regular) on the collection page. However, products which have discounts right now are showing the price after discount.
I am using Supps theme right now.
It would be great to receive help from everyone. Thank you so much
@shinhajoon - need to edit code to show the original price
Hi @shinhajoon
To show the original (regular) price alongside the discounted price on your collection page in your Shopify store using the Supps theme, you will need to modify your theme’s Liquid code. This ensures that when a product is on sale, customers see both the crossed-out original price and the current discounted price automatically, without manual edits per product.
Here’s a tactful, step-by-step approach based on Shopify community best practices:
In Shopify admin, go to Online Store > Themes > Actions > Edit code.
Find the file responsible for rendering products on collection pages. This is often named something like:
sections/collection-template.liquid
snippets/product-card.liquid or snippets/product-grid-item.liquid
templates/collection.liquid (less common in modern themes)
Since you use the Supps theme, check under snippets or sections for the product card snippet.
Inside the product card snippet, look for the code that outputs the product price. It might look like:
{{ product.price | money }}
or
{{ product.price | money_with_currency }}
You want to replace or wrap this with logic that checks if the product is on sale (i.e., if the compare-at price is higher than the current price) and then shows both prices.
Use this Liquid code pattern:
{% if product.compare_at_price > product.price %} <span class="original-price" style="text-decoration: line-through;"> {{ product.compare_at_price | money }} </span> <span class="sale-price" style="color: red; font-weight: bold;"> {{ product.price | money }} </span> {% else %} <span class="regular-price"> {{ product.price | money }} </span> {% endif %}
This code shows the original price crossed out if there’s a discount, and the sale price next to it.
If no discount, it just shows the regular price.
Save the changes and preview your collection page.
Products with discounts should now show both prices automatically.
Products without discounts show only the regular price.
To improve appearance, add CSS to your theme’s stylesheet (assets/theme.css or similar):
.original-price {
color: #999; text-decoration: line-through; margin-right: 8px;
}
.sale-price { color: #e60023; font-weight: 700; }
Backup your theme before making any code changes.
This method works automatically for all variants and products with discounts, so no manual per-product edits are needed.
If your theme uses JavaScript or specialized price rendering, you may need to adapt the code accordingly.
Some themes use metafields or alternate variables; ensure you test on multiple products.
thank you @BiDeal-Discount
I have tried to locate the product-card.liquid but I could not see it on section/snippet. The closest one I saw was this one
and when I check it, I could not see the part {{ product.price | money }} or {{ product.price | money_with_currency }} anywhere in this one. Is there any other file that I should look into?
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025