Hide price of sold out product

frontiera
New Member
8 0 0

How to auto hide price when product sold out. (Hide price only, not the disactive product)

some of the items are sold out. when item is sold out(quantity = 0), the price for that item, or variant, is hidden. How can I go about doing that?

I am using wokiee latest them

 

 

0 Likes
Guleria
Shopify Partner
1306 269 361

Hello,

Edit theme each file in which contain the price code.
Once you find it just wrap it b/w this condition

{% if product.available %}
// Yoour existing code
{% endif %}


Thanks

 



Want to modify or custom changes on store hire me.
Email: guleriathakur43@gmail.com, Skype: navrocks1
If helpful then please Like and Accept Solution.
0 Likes
frontiera
New Member
8 0 0

Could you tell me how is price code looks like??

0 Likes