Hi!
I’m looking for help regarding creating custom options for products that don’t effect inventory (in this case sizing).
I tried https://ui-elements-generator.myshopify.com to create a code, followed all the steps and created a custom section, and the options show up on a product page BUT the option that’s chosen doesn’t appear in the cart or on my end to know what size was chosen. Any help would be so appreciated!
Hi @kmcvetty welcome,
followed all the steps and created a custom section,
Did you literally make a new html or liquid section file {% section ‘name’ %} instead of adding to code into the product form?
If so you’d need to either move that code into the product form per the community tutorials for line items properties or cart attributes.
https://community.shopify.com/post/616525
https://community.shopify.com/topic/613718
Or more advanced use the html form attribute to assign the proper form.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#form
Hi! So, I created a new liquid file section for products, since it doesnt apply to all products. I was able to fix the problem of it not appearing in checkout by adjusting where the form was placed thanks to the link you shared. However, do you know if there is a way to block a client from clicking “add to cart” until they choose an option? For now, it can be added to a cart without choosing which size option they would like. Thank you!