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.
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.
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)
Why don't you try fiddling with the cart update view? Use [Editable Fields](http://drupal.org/project/editablefields) to make the field editable; I'm not sure if this can be done without unintended side-effects, but it's worth a try.
Comments
Custom line item
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.
Thank you for your post. What
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
I don't know how to do this
I don't know how to do this at this time.
Screencasts on custom line item types
OK, you asked for it.
Here are two screencasts on custom line items.
[Introduction to Custom Line Items](http://www.commerceguys.com/resources/articles/237) and [Using Custom Line Items to Provide a Donation Feature](http://www.commerceguys.com/resources/articles/238)
Gift Cards and Gift Packs
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.
Editable Fields
Why don't you try fiddling with the cart update view? Use [Editable Fields](http://drupal.org/project/editablefields) to make the field editable; I'm not sure if this can be done without unintended side-effects, but it's worth a try.
Did you solve it?
Hi,
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.
Regards!