Hi. I would like to hide the price for the products containing the tag ‘businesslisting’ (also in collections) . I tried this solution but I can’t find a product card liquid position. Is it called something else in my Motion theme? Could someone kindly direct my where and what code should I use?
Topic summary
A user seeks to hide product prices for items tagged ‘businesslisting’ in the Motion theme, including on collection pages. They attempted a solution from another thread but couldn’t locate the product card liquid position in their theme.
Proposed Solution:
- Add custom code to
theme.liquidfile above the</body>tag - Code checks if product contains ‘businesslisting’ tag and conditionally hides price
Current Status:
The suggested code snippet did not work—prices remain visible after implementation. The user provided a screenshot confirming the issue persists.
The discussion remains unresolved with no follow-up troubleshooting or alternative solutions offered yet.
Hey @Marb2023
Follow these Steps:
-
Go to Online Store
-
Edit Code
-
Find theme.liquid file
-
Add the following code in the bottom of the file above tag
{% if product.tags contains 'businesslisting' %}
{% else %}
{% endif %}
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
