How can I assign action to my custom buy button in a Shopify store?

How can I assign action to my custom buy button in a Shopify store?

MyEcomAgent
Excursionist
19 1 2

Hi guys,

i´ve got an html and a css code, its a button, wich i wan´t to use as the buy button in Shopify.

Now the question is, i imported the button as a custom liquid, how do i give it the action to add the item to the cart?
And i want to the same button in a different color, to make it the dynamic button, so google pay etc. is beeing shown in there.

 

 

MyEcomAgent_0-1699793160332.png

 

 

I just need the right form for it, i couldn´t figure it out yet.

Thank you guys

Greetings Enes

myecomagent.com
PW: 2023

Replies 0 (0)