hi @paul2009
Thank you for the detailed response!
I understand that it’s not possible to programmatically add custom data to order via the cart or checkout page due to the limitations you mentioned regarding the locked-down nature of the checkout process. I also appreciate the clarification about the cart page not having access to the checkout details for transferring data directly into the order.
Your suggestion about using a Custom Product Form to capture and pass additional data to an order is very helpful. While it’s not exactly what I was hoping for, I will definitely explore this option. I can see how a custom product form might help in certain situations, although it would need to be tied to individual products, which isn’t ideal in my case, as I was aiming to capture a geolocation (what3words address) relevant to delivery, not a product-specific input.
To give you more context, I’m working with the what3words service to capture precise delivery addresses at checkout. The goal is to pass this location data along with the order so it can be used by carriers or integrated into an order management system. Given that the checkout page cannot be modified and the cart page approach won’t allow me to pass this data, I’m curious if there are other potential workarounds. For instance, is there any way to store a custom input from the cart page (using something like the what3words AutoSuggest component) and send it to the order’s Additional Info or Notes field via the Orders API? This could help ensure the data is still passed through the backend.
I appreciate any further insights you may have, and thanks again for the suggestion about the Custom Product Form!