I am using the Symmetry theme but need to hide price on specific products that require contacting for pricing, not sure how to do it
This requires you to add a metafield or a tag so that the product can be identified if it’s price should be shown or not. Then add changes to the code of your theme.
I can help you with it if you want, just let me know.
- Add checkbox toggle metafield for products name it Hide Price.
- Enable toggle checkbox for the product to which you need to hide the price.
- Find the price code in theme fiels.
- Wrap it in the condition
{% if product.metafields.custom.hide_price == true %}
// You custom code or text or leave it blank
{% else %}
{% endif %}
Yeah this is the one.
Thank you!! I made the metafield but I have never done that before so I am unsure how to find what to write in the code to make it do that
@Guleria , you available to help her out with the Liquid? Let me know if you’re not, because I can spare some time to help Lexi out.
Hey @lexijane , it seems like @Guleria hasn’t replied just yet. I can help you with it if you’re up for it, just message me, but maybe I’ll respond in like 8-10hours from now because it’s 12:30AM here and I just finished helping another person out with their store.
Thank you so much!! Sent you a message
Hiya
I am having the same issue. Where can I add this code to have more choices over showing or not showing prices in collections in Symmetry. Many thanks.
Without a way to know the structure of the files inside Symmetry - since it is a paid theme - either you’ll have to give a collab request to a coder or do it yourself.