Hi Standoutd,
Thanks for your reply. I'm using a tag at the moment meta-notforsale and it makes the add to cart button and the variant menu disappear.
div class="product-form section"> {% assign notforsale = false %} {% assign notforsale_msg = '' %} {% for tag in product-detail.tags %} {% if tag contains 'meta-notforsale-' %} {% assign notforsale_msg = tag | remove: 'meta-notforsale-' %} {% assign notforsale = true %} {% elsif tag == 'meta-notforsale' %} {% assign notforsale = true %} {% endif %} {% endfor %} {% if notforsale %} {% unless notforsale_msg == '' %}<p class="unavail-message">{{ notforsale_msg }}</p>{% endunless %} {% else %} {% if product-detail.available %}
What can I change in the code to make the variant appear again and hide the price?
Many thanks!