Hi I am complete newbie to Shopify and I’m trying to design a new website for a client of mine using a copy of the Dawn theme. I need to add some customisation options on my product pages and I’ve added a Textarea to the form on main-product.liquid section. The Textarea is displaying and functioning as expected on the product pages, but it isn’t displaying on my cart/checkout which is obviously not much use to anyone. Can anyone offer any help here please?
I believe there is a bug with the product pages in Dawn. The line item properties are not being sent as parameters to the cart API. Maybe because it seems like there are two product form elements on the product page (to be confirmed).
The solution:
Go to the file assets/product-form.js, find const body = JSON.stringify({ and add the following code under that line: