Hide Product Price on Taste theme

Topic summary

Goal: Hide product prices for items with Product Type “XYZ” in Shopify’s Taste theme.

  • Initial attempt targeted the product page: wrap the price snippet in sections/main-product.liquid with “unless product.type == “XYZ””. This didn’t meet the need because the target was the collection page.
  • Clarified requirement: hide prices on the Collection page only. Solution provided for snippets/card-product.liquid: conditionally render the price only when the template is a collection and the item’s type is not “XYZ” (i.e., use “template contains “collection”” and “unless card_product.type == “XYZ””). Outcome: confirmed working.

Follow-up request: Show prices and enable Add to Cart only for logged-in customers across “Coming soon,” Collections, and Featured.

  • Guidance offered: use Liquid conditionals such as “if customer” (logged-in users) and template/collection checks (e.g., “template contains “collection”” and “collection.handle == “your-handle-here””). Full implementation was not provided and would require Liquid knowledge.

Notes:

  • Liquid = Shopify’s templating language; “customer” is the logged-in user object; “collection.handle” is the collection identifier.

Status: Original issue resolved; secondary request remains guidance-level and open.

Summarized with AI on December 27. AI used: gpt-5.

Can you please share product url with product type “XYZ” ( with password if your store password is enabled )?
Thanks!