How can I make a custom cart checkbox function on all cart pages?

How can I make a custom cart checkbox function on all cart pages?

rv3
Excursionist
20 0 3

Hi! I need to add to my cart pages a custom checkbox (it is for heureka.sk a central european price comparison site) the purpose is that the customers should be able to choose if they want to get a survey after they purchased on our shop if they are satisfied etc. I have got a code from an app developer which is working but only on the „main cart“ page (below i will attach the pictures what i mean exactly). I have added the same code to my other 2 cart liquid files, the checkbox is there on the other 2 options as well, but it is not functioning. It doesnt matter if they leave the box unchecked or if they check the box they will be opted in for this survey. Any tips how could i make this code work everywhere?

IMG_0831.jpeg

IMG_0830.jpeg

IMG_0829.jpeg

 

Reply 1 (1)

user_24
Visitor
2 0 0

Hi Rv3, could you please share the script here?