I am working on a Shopify app using Node.js and React templates. I have created a theme extension and successfully fetched data using app proxy. Now, I have added an extension block on the product page, which includes a dropdown menu. I want to pass the selected value from that dropdown menu to the order metafield. How can I achieve this?
You can use the dropdown menu field name as properties[Some name].
Then it will be added automaticaly to cart line item properties when adding the product to cart.
Esnure the dropdown field placed in side the tag of the add to cart button.
And it would be accessible in checkout and order as well.