Hide Product Price For Sold Out Items Only - Envy Theme

Topic summary

Goal: Hide product prices for sold‑out items in the Envy theme, on both product pages and collection listings.

Key steps and developments:

  • Initial suggestion: Add a Liquid condition around the price snippet ({% if product.available %} {% include ‘price’ %} {% endif %}).
  • Issue: The Envy theme did not contain the referenced snippet or files (product-template.liquid/main-product.liquid/product.liquid), so that approach was not directly applicable.
  • Action taken: The helper requested collaborator access, which was granted. A sold‑out product URL and the relevant collection were provided to test behavior across product and collection views.

Outcome:

  • Implementation completed: Prices are now hidden for sold‑out items on both product pages and collection pages.
  • Evidence: Screenshots provided show the price removed where items are sold out.

Status:

  • Resolved. No code details were shared publicly, but the change is active on the store.

Notes:

  • URLs and screenshots were central to confirming the fix.
  • Liquid conditional logic (product.available) was the conceptual basis, adapted to Envy’s structure.
Summarized with AI on February 1. AI used: gpt-5.

@niraj_patel see screenshot below for example.