All things Shopify and commerce
Hi,
I've got some issues, on the featured collection on my product page the pricing is always the same as the price on the product page and not the price on the product in the collection. I would like the price to be as the price in the collection but I don't know how to do.
Does anyone know how to do this, please?
Website: https://pqd9ge-cs.myshopify.com/products/purifying-toner
Hello,
From your shopify admin go to edit code.
Find price snippet and in the price snippet find class price__sale and then add the code.
<div class="price__sale">
{%- unless product.price_varies == false and product.compare_at_price_varies %}
<span class="visually-hidden visually-hidden--inline">{{ 'products.product.price.regular_price' | t }}</span>
<span>
<s class="price-item price-item--regular">
{% if settings.currency_code_enabled %}
{{ compare_at_price | money_with_currency }}
{% else %}
{{ compare_at_price | money }}
{% endif %}
</s>
</span>
{%- endunless -%}
<span class="visually-hidden visually-hidden--inline">{{ 'products.product.price.sale_price' | t }}</span>
<span class="price-item price-item--sale price-item--last">
{{ money_price }}
</span>
</div>
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025