what are common names of submit buttons for add to cart button and checkout button?

Shopify Partner
22 1 3

HI,

I want to know is it possible that we have to use default names or tag names for submitting for checkout or add to cart? I can see someone has used input type and someone has used button for submitting checkout or add to cart. 

0 Likes
Highlighted
Explorer
78 3 15

Hey,

If you mean to the names of the HTML element - the most common ones are 'checkout', 'goto_pp' and 'goto_gc'.

 

Regards

1 Like
Highlighted

Most of the theme developers use the name "checkout."

 

This would be a perfect candidate for one of the Community App Developer Code Guidelines as described in https://community.shopify.com/c/Custom-Storefronts-Support/Community-App-Developer-Code-Guidelines/t....

We could specify that it is recommended to name the checkout button as "checkout."

 

 

0 Likes