Change sold out button for a specific collection (STUDIO THEME)

Topic summary

A user seeks to conditionally change the “Sold Out” button text to “Archive” for products either in a specific collection or tagged with “archive” on the Studio theme.

Proposed Solutions:

  • Edit product.liquid or product-template.liquid to add conditional logic checking for the archive tag
  • Use Liquid code to check if product contains ‘archive’ tag or belongs to specific collection handle
  • Multiple code snippets provided using {% if product.tags contains 'archive' %} conditions
  • One suggestion points to card-product.liquid file as the location for sold out button code

Current Status:

  • User attempted implementation but changes aren’t appearing on the website
  • Shared screenshot of their code attempt, which appears to have syntax/placement issues
  • One response suggested globally changing text in en.default.json, but this doesn’t meet the conditional requirement
  • Discussion remains unresolved - user is awaiting further guidance on correct implementation
Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

@lsvvintage you will need to edit product.liquid or product-template.liquid file to find out the code for this sold out button, and then you will need to edit the code to check if the tag is present in the product, if it is present then change the text to archive else sold out