Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
This is an accepted solution.
1) Add checkbox toggle metafield for products name it Hide Price.
2) Enable toggle checkbox for the product to which you need to hide the price.
3) Find the price code in theme fiels.
4) Wrap it in the condition
{% if product.metafields.custom.hide_price == true %}
// You custom code or text or leave it blank
{% else %}
<!-- Your default price display logic here -->
{% endif %}
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.
This is an accepted solution.
1) Add checkbox toggle metafield for products name it Hide Price.
2) Enable toggle checkbox for the product to which you need to hide the price.
3) Find the price code in theme fiels.
4) Wrap it in the condition
{% if product.metafields.custom.hide_price == true %}
// You custom code or text or leave it blank
{% else %}
<!-- Your default price display logic here -->
{% 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.
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.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025