Changing Add to Cart text for certain products

Hello,

The client is requesting the “add to cart” button change to “download now” only for certain category of products.

On this product for example: https://www.synthpalace.com/products/roland-sh-5-sample-pack

Please help - thank you!

1 Like

@danainspan

yes your have try this way

{% if product.handle contains "roland-sh-5-sample-pack" %}
your dowanlaod button code
{% endif %}

Thanks for the reply. Where would this code go?

Also, the client would like to hide the product details on these category products as well.

1 Like

@danainspan

product page add to cart bbutton

Sir please forgive me I’m not familiar enough with the code for understand how to do this or where. Can you provide screenshot or can I give access to the site?