Open daydream05 opened 4 years ago
Hi, so I've never used shopify before so I don't really know where to start.
Basically, I want to have a product and a user can input a custom text field attached to that product.
How does one go about implementing that?
I see we have access to the client sdk but I'm not sure if I can update the metafields with that since it uses the storefront api
Thanks!
Products in Shopify have a customAttributes array. I use this extensively:
customAttributes
addItemToCart(id, 1, [{ key: 'color', value: color }])
Let me know if you need any more help
Hi, so I've never used shopify before so I don't really know where to start.
Basically, I want to have a product and a user can input a custom text field attached to that product.
How does one go about implementing that?
I see we have access to the client sdk but I'm not sure if I can update the metafields with that since it uses the storefront api
Thanks!