Hi. I have seen similar posts for different themes but I was wondering if anyone knows how to hide the item price once the product as been sold (my theme is MINIMAL). I have very limited knowledge on HTML coding so if you can provide step-by-step instructions on how to integrate this on my Shopify shop that would be helpful. Thanks in advance for any help!
@mt85 - this will need bit custom coding where in product page we need to check it product is sold out and if yes then hide/remove the price. You can contact me here or on my email below, I will let you know all the details, please share your product page link too.
Minimal themes price code is in section product-template.liquid around line 160 to around line 180
Possible direct link https://shopify.com/admin/themes/current?key=sections/product-template.liquid&line=160
Always make a backup of theme code before making changes
You’ll either want to make an alternate template with those lines commented out or deleted so you can directly control it just for that specific product..
Or wrap that code in a an if statement checking either the product availability or product.first_available_variant
{% if product.available %}
{% endif %}