Shopify themes, liquid, logos, and UX
Hello team,
I have this product, for example. Where the price depending on the variant chosen differs.
I'd like to implement, that on the page where you see the product/ in the collection or wherever else it appears (not on the page when you access the product), the minimum-maximum price range should appear.
Thank you.
https://rmfbaits.ro/collections/box-uri-rmf
Site - www.rmfbaits.ro
Pw - rmf2025@!
Hi @qadesign25 ,
I hope this message finds you well.
To display the minimum and maximum prices of a Shopify product with variants, you need to modify your theme’s code where the product price appears on collection pages.
Replace the existing price display code with the following Liquid snippet:
{% if product.price_varies %}
<p>From {{ product.price_min | money }} to {{ product.price_max | money }}</p>
{% else %}
<p>{{ product.price | money }}</p>
{% endif %}
This will ensure that the price range appears wherever the product is displayed, except on the product detail page.
Let me know if you need further assistance!
Best,
Dotsquares Ltd
Problem Solved? ✔ Accept and Like solution to help future merchants.
Hey 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, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025