How can I add a custom order form to my product?

Hello everyone,

I want to have a custom form in my product so that when people order they can put their customization typed in the product order “form”. Please advise on how to add a custom form. All of the other examples I’ve seen are outdated.

Not “shop performance” related.

Customization information for products can be gotten with line item properties.

And advanced customization tutorial for vintage themes is here:

https://community.shopify.com/c/shopify-design/product-pages-get-customization-information-for-products/td-p/616503

The process is similar for OS2.0 themes like dawn, etc but the code will need to often be added to sections snippets named main-product.liquid, or product-form.liquid etc inside the relevant form tags, either liquid {% form %} , or html .

https://shopify.dev/api/liquid/objects/line_item#line_item-properties