Reputation: 1021
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
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
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