Hi there!
I’m having trouble hiding the prices from a specific collection template using the Craft theme. Can anybody assist?
A user seeks to hide product prices from a specific collection page on their Shopify store using the Craft theme.
Solution Provided:
</body> tagdisplay: noneImplementation:
Current Status:
The original poster confirmed the solution works. However, two additional users encountered issues:
The helper offered to assist both users through private messages for further troubleshooting.
Hi there!
I’m having trouble hiding the prices from a specific collection template using the Craft theme. Can anybody assist?
hey @vancouver_k share the URL of your website so i can help you
Hey @vancouver_k
Welcome to Shopify Community! Can you share your Store URL and the collection name so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
Hi there,
it’s not published yet - the link to the page is https://225e55-80.myshopify.com/collections/personalised-prints
The pw is yohray
Thank you
hey @vancouver_k plz share the screen short where do you want to change
Hey @vancouver_k
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 collection.handle == 'personalised-prints' %}
{% endif %}
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you, that’s perfect!
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Hi
I’m trying to do this as well for my collections, i’ve added your code just above the tag.
Changed the "personalised-prints’ to ‘my collection name’. But it doesn’t work.
Could you please check?
https://m2v0pc-ya.myshopify.com/pages/thema-bundels
/kr
Boothable
Dries
Hi Moeed,
I’ve just tried your solution, and it worked perfectly for one collection. Thank you!
However, I’d like to remove the price from the grid for more than one collection (for example, if one product happens to be in multiple collections etc). I’ve tried copying and pasting the same bit of code underneath with the new collection name, but that doesn’t work, and I’ve also just tried adding the new collection name in in inverted comma’s after the first one, but that didn’t work either. Would you happen to have a workaround?
Thanks so much!
Jo
Hey @HBIronbridge
Happy to help out with it, feel free to drop more information in private messages and then I can have a look.
Best,
Moeed