How to link custom button so that it adds item to cart when you click on it?

Hey,

I have multiple buttons in the product description area of my page that I would like to turn into, essentially an “add to cart” button.

How do i link this? The closest thing i could do is have it link to the product page again, but i would like the item to directly add item to cart when customers press on this.

There are two buttons I want to make like this, “GLO-UP NOW” and “CLAIM OFFER”, website is here: https://theglorx.com/products/skin-revitalize-x

Hello @Vto ,

You can trigger the default atc button on click of the custom buttons.
To trigger the default button you need to write a JS script.

Thanks

hi @Vto

This is needs to be done via a code so that one button “claim now” should be different and another button “get offer” will be different but the action will be add to cart

see this i have done

Good evening, how are you? I would like to know how to add multiples add to cart button on product description page. One in each session