@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
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.liquidorproduct-template.liquidto 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.liquidfile 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