Hello,
I’m currently running the Boost theme and hide my prices when an item is sold out. I’m now looking at hiding the price when the product is not sold out, but the amount is set to $0. I’m currently using this option for items that I want customers to request a price (‘price on application’) for high-end value items.
I can’t seem to find a successful code option for the theme I’m running.
Can anyone please provide any assistance?
Products that fall into this category can be seen here:
https://thatretropiece.com/collections/wall-sculptures
Hi @StanSavellis ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Find file product-block.liquid and search for the code snippets below
Step 3: Wrap all the code i’ve mark above by this code
{% if product.price > 0 %}
// This is the marked code
{%endif}
It will look like
Step 4. Find file main-product.liquid and search for the code snippets below
Step 5: Wrap all the code i’ve mark above by this code
{% if current_variant.price > 0 %}
// This is the marked code
{%endif}
It will look like
1 Like
Thank you, thank you, THANK YOU - worked perfectly. Appreciate your time.
@StanSavellis , glad to hear that 