I want to change it but I cant figure it out. any help is appreciated!
Hello @ChrisAkindayo ,
Wrap the add to cart button with id condition
e.g.
{% if product.handle == âyou-product-handleâ %}
//change add to cart with specific text or necessary changes.
{% else %}
// Your existing code as it is.
{% end %}
Regards
Guleria
Hey @ChrisAkindayo ,
You can achieve this by leveraging product tags and applying conditional logic in your themeâs code.
For example, you can tag certain products with something like custom-button, and then in your product-card or main-product.liquid file, use an {% if %} condition to display a different âAdd to Cartâ button or text for those tagged products.
If youâre working with a specific collection, you can also check for collection.handle to target changes only within that collection.
Let me know your theme and what exactly you want the button to say/do â happy to help further.
Cheers!
Shubham | Untechnickle