All things Shopify and commerce
hi all,
I'm trying to hide product pricing on collection & product pages for products tagged with the tag "Hide-Pricing"
I'm using the enterprise them.
Any help would be appreciated, thanks.
The simpler the answer the better for me (the beginner) to understand. 🙂
Hi @VD10
This can easily be done using some liquid condition on price if you are familiar with coding rather than just follow the instruction otherwise reach me out I will help you
Solution :
Go to code edit and search for the price snippet than their will be a price div above that div just past that if condition
{% if product.tags contains 'hide-price' %}
{% endif %}
I hope this solution worked for you! if not share your collaboration code or reach me out on email and number
if Yes Just like this Reply and Mark it as a Solution and to keep me motivated BUY ME A Coffee
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
Hi Mehran,
Thanks for your reply.
Am i looking at the correct file? Please see attached.
Where should I place your code?
At start where its say class="price
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
Hi Mehran, couldn't get it to work. 😞
Can you share yor collaboration code i can help you
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
OKay
In this screenshot, you can start your if the condition from the line 23 and end it on line 44
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
Hi Mehran,
getting much closer. 🙂 It is doing the opposite. It is showing the price for products with the "hide-price" tag and not showing the product pricing that don't have the tag.
Hi @VD10
Try using this insted of If
{% unless product.tags contains 'hide-price' %}
{% endunless %}
I hope this solution worked for you!
if Yes Just like this Reply and Mark it as a Solution and to keep me motivated BUY ME A Coffee
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
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