Can you modify the "add to cart" link in the Galleria theme on Shopify?

thewrk
Visitor
2 0 0

Hello all,

Does anyone know how to change the "add to cart" to another link?

I want the add to cart button redirect visitors to another website.

Thank you,

THE WRK

Reply 1 (1)

JHKCreate
Shopify Expert
3571 639 916

Hi @thewrk !

This is indeed doable, you would need to find the <form> element of the cart and modify the parameters as follows:

This answer on StackOverflow should help you achieve the desired results.

Let me know if that works!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com