I am working with Studio Theme and want to remove the price and the add to cart button for specific products. I am not looking to remove the price for all products. I currently have the products grouped easily either by collection, product type, and theme template. The theme template is how I achieved this in an older theme by creating a new theme template, but the old code I used with the previous theme is not working with the Studio Theme.
Topic summary
A user is working with Shopify’s Studio Theme and needs to selectively hide pricing and add-to-cart buttons for specific products rather than site-wide.
Current Situation:
- Products are already organized by collection, product type, or theme template
- Previously achieved this functionality in an older theme using custom code and theme templates
- The old code is not compatible with the Studio Theme
Goal:
Find a solution to conditionally remove price and add-to-cart elements based on product groupings (collection, product type, or theme template) that works with the Studio Theme’s structure.