Add to cart doesn't add Shopify line item properties
tobymarsden opened this issue · comments
This line doesn't include any line item properties from the product form, which stops the theme from working with all product options and file upload apps, and also makes it difficult to add line item property fields within the theme.
A better approach might be to serialize the form.
Hi there,
I am experiencing the same issue. Did you manage to resolve it?
Thanks!
@lexvz Yes, I don't have the code to hand but I just serialized the form (I think $('#form_buy').serialize()
). This was a store belonging to a customer of my app so I made the minimum changes required to avoid causing any other issues, but it's worked fine for them.