Vikas Kad
Vikas Kad

Reputation: 1021

Shopify add extra parameter with buy button

I am new to shopify , I have created a product with buy button JS SDK and generated embed code. Now, I want to send extra parameters with checkout button which can be displayed at backend.

can anyone help me please. Thanks in advance.

Upvotes: 3

Views: 2127

Answers (2)

richgilbank
richgilbank

Reputation: 394

Unfortunately, line item properties are not yet supported by the JS Buy SDK. They are, however, on our roadmap and we hope to have a solution to this available soon.

Upvotes: 1

HymnZzy
HymnZzy

Reputation: 2925

You can make use of cart.attributes property of Shopify cart.

More details - https://help.shopify.com/themes/customization/cart/get-more-information-with-cart-attributes#create-a-cart-attribute-field

Upvotes: 0

Related Questions