I want to show price cut sale% on whole multiple collections. How can I do it PROGRAMMATICALLY?
For example:
At Collection ‘Medicine’, I want to apply 10% sale.
At Collection ‘Baby Care’, I want to apply 20% sale.
& so on.
So, All products associated with that collection will get respective sale%.
Also, it must show cut price on product price. i.e. before & after.
something like:
Rs. 2000 Rs. 2200
10% Discount
WHAT I HAVE DONE SO FAR?
{% if emphasize_price %}
{{ product_item_price }}
{% if collection.handle == "medicine" %}
Discount 10% - Save Rs. 200
{% endif %}
{% endif %}
Copy
So Far its Working. But now, question is, how to show PRICE AND CUT PRICE at {{ product_item_price }} ???
PLEASE ANSWER.
I am using EMPIRE Shopify Theme by Pixel Union.


