Providing extra input fields to customers in add-to-cart form
We would like to allow customers of the shop to add a comment or other details in editable fields for some of the products before they add them to the shopping cart.
What is the best way to go about that? I'm happy to develop a module for that, but need some guidance on where to get started.
The data provided by the customer should of course be stored together with the ordered product so that is can be display in the cart and later in the order history.
Shouldn't be too hard but I tried all day and couldn't find a working approach. Hopefully someonw can give me some hints?
Comments
Thanks a lot. This was very helpful and I used that knowledge to develop my module https://drupal.org/project/commerce_product_dimensions so that customers can input dimensions to products and the price is calculated by multiplying the dimensions with the base price. Just if anyone finds this useful.