Retrieving checkout / cart buttons

Shopify Partner
28 3 6
Wondering if there is a way to easily retrieve the element attributes of a themes checkout button that are on the ‘’ page and in the Ajax cart (side cart)?
Reply 1 (1)

218 1 110



<input id="attr-myattribute" type="hidden" name="attributes[myattribute]" value="my attribute value" />

You can look at cart attributes and store values in there, which will get passed to cart/checkout/order objects and they're also shown on order page in the admin and you can edit them.

More info here