How to hide the prices of sold out items in the 'Cascade' theme

snugdepot
New Member
3 0 1

I went to product.liquid under template and this is what it says:

"availability" : "http://schema.org/{% if product.available %}InStock{% else %}OutOfStock{% endif %}",
"price" : {{ variant.price | divided_by: 100.00 | json }},
"priceCurrency" : {{ cart.currency.iso_code | json }},
"url" : {{ shop.url | append: variant.url | json }}
}{% unless forloop.last %},{% endunless %}
{%- endfor -%}
]
}
</script>
{% endunless %}

</section>

 

How do I edit to hide the prices of sold out items? It can say $0.00 or just be hidden - either way.

JHKCreate
Shopify Partner
2479 426 581

Hello,

what theme are you using and can you please share the complete product template liquid file

Thanks

- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@jhkcreate.com
0 Likes
snugdepot
New Member
3 0 1

Cascade theme

0 Likes
KetanKumar
Shopify Partner
16867 1843 6308

@snugdepot 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes