logo

Select Sidearea

Populate the sidearea with useful widgets. It’s simple to add images, categories, latest post, social media icon links, tag clouds, and more.
hello@youremail.com
+1234567890
 

How to include “Compare Price At” on Product page on shopify theme

How to include “Compare Price At” on Product page on shopify theme

I read on shopify forum that there is a question:
“Currently “Compare Price At” price shows up on the Collection pages with a line through.
We want the “Compare Price At” to play the role of MSRP (Manufacturer’s Suggested Retail Price) at product page”
The solution for this is below:
Add this snippet to your product liquild next to price

{% if product.compare_at_price > variant.price %}

{% include ‘price’ with variant.compare_at_price_max %}

{% endif %}

This snippet will show compare_at_price when it is higher than the product price.

No Comments

Post a Comment

Comment
Name
Email
Website