Is it possible to create a custom field in the checkout, which value would be passed along when the order is created?
For example lets just call this field asks for your favorite color, and when the order is created... i can see on the order that this customers favorite color is "Green".
Would it be possible to pass this custom field into the order object so it would be possible in the orders section or even when checking the order with the order API
@JonnaWiberg For simple customer|user entered info use Cart Notes, which is a setting in most standard themes.
For more specific info or data shopify calls that type of data Cart attributes, or Line item properties(LIPS) for individual products.
Or in some cases you just used the Cart note https://ui-elements-generator.myshopify.com/pages/cart-attribute
Thank you, im a bit closer now to what i want to achieve. I was able to create a cart attribute... but i can only fill in this value inside the cart... is it possible to fill in this input directly in the checkout instead? i can see on a created order that this value follows along:) i have shopify plus so i can edit the checkout.liquid file if thats any help
@JonnaWiberg If your trying to do instore pickup shopify already has that feature so this may be an XYproblem
i can only fill in this value inside the cart... is it possible to fill in this input directly in the checkout instead?
In general it can be much simpler to create a more appropriate flow in /cart to support getting what info you rather than trying to hobble your way through hacking /checkout