Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi @hapq95 👋 use alternate templates
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hi, @hapq95
Thanks for reaching out to the community. We are MooseDesk, a comprehensive Live Chat, FAQ & Helpdesk App designed to elevate your customer support experience.
To hide certain sections of the product page for specific collections on Shopify, you can achieve this by adding a conditional Liquid code to your product template. Here's a step-by-step guide:
First, make sure you know which sections of the product page you want to hide. These are usually located in your product.liquid template or in a product section file (such as product-template.liquid).
You'll need to modify the template to include conditional logic that checks if the product belongs to a certain collection. This can be done using Liquid's collection object.
Here's an example of how you can hide a section based on the collection a product belongs to.
In this example:
After making the changes, preview your product pages to ensure the section is hidden or displayed correctly based on the collection.
This method should allow you to control which sections appear on product pages based on the collection they belong to.
I hope this answer addresses your question effectively. If you found it helpful, we’d appreciate a 'LIKE' for MooseDesk. If your issue is resolved, please mark this as 'SOLUTION’.
In the meantime, our MooseDesk Team is always here to help with customer support solutions. We’re passionate about improving your customer experiences through our Live Chat, FAQ, and Helpdesk App.
With MooseDesk, you can engage with customers through omnichannel support, manage inquiries with a robust ticket system, and provide quick responses.
Once again, keep up the fantastic work, and I wish you the best of luck in the future!
Was your question answered? Giving MooseDesk's reply a Like or marking it as an Accepted Solution!
Install now. Be our early bird and get all features free forever.