Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How do I change choose options to add to cart on collection page?

How do I change choose options to add to cart on collection page?

nijntjelover
Explorer
82 0 14

Hi, 

I am using dawn on my website. On the collections page, for some products it will say "aan winkelwagen toevoegen" (add to cart), and for other products it will say "opties kiezen" (choose options). Does anyone know how to make it an add to cart button for ALL products that i offer on the entire websiteScreenshot 2023-11-16 at 10.24.56.png

 

URL: Bundo.nl

 

See attached. 

 

Tnx!

Replies 4 (4)

raphaellima
Shopify Partner
47 10 9

That's because the product has variants, if it has variants, it will appears as "opties kiezen".

Raphael Lima | Developer
WhatsApp: +55 (31) 92002-9324

nijntjelover
Explorer
82 0 14

Ok Thanks for clarifying!

Aly7
Shopify Partner
5 0 0

1- Go to code editor

2- search card-product.liquid in snipped

3- Find line  {%- if card_product.variants.size > 1 or qty_rules -%}

4- paste this code  {%- if card_product.variants.size < 1 or qty_rules -%}

you are good to go. If it's helpful please like the answer. 

Have a great day 🙂

MRamzan
Shopify Partner
392 3 36

To change the labels here are the steps:

 

Hire Me:

WhatsApp: +91-9145985880
Email: mohdramzaan112@gmail.com
Skype: mohdramzaan112