wishes for each line item of the order

Is there a way to insert a text field inside each line item of the cart, in a way that the customer can write a wish for each product he buys?

Thank you.

Posted: Oct 12, 2011


rfay Randy Fay on October 12, 2011

That's a custom line item. You can just add a textfield to the line item if all your items need this. Otherwise you'll need to [create a custom line item](http://www.drupalcommerce.org/node/907#comment-1924). I did this on http://cgtraining.commerceguys.com and it worked fine. I added the participant's name. Just added a field to the line item, configured it to be shown in the add to cart form, and all was good.

frixos on October 13, 2011

Thank you for your post.

What i really want is a similar functionality with the quantity textfield. A wish textfield to be provided in the shopping cart summary like quantity and not in the add to cart form.

Is there a way to implement this.?

thank you

frixos on November 2, 2011

Hi and thank you for your post.

What i am trying to do is to give the customer the opportunity to write a gift card for every product he puts to the cart.

The problem is that i dont want this textfield ( gift card) to be visible in the Add to Cart Form but to be editable inside the shopping cart update form just like the quantity text field.

Is there any way to implement this with the custom line item types module or any other contributed module ?

also i want to provide the same functionality with gift packs ( customer chooses a gift pack through the shopping cart update form)

Thank you.

syrgak on May 25, 2012


I can see it's been a while since you had this issue.
I wonder how far did you get with the solution. Did you solve it?

I want to have editable fields on the cart page.