Select a date for delivery
I would like to allow the user to add a date during the checkout. The product she ordered would be delivered on the day she specified.
I installed Date module and added a date field to Orders with a datepicker popup, but this field only shows for the admin interface when the admin wants to add an order manually.
I would like to set it up so the customer can see and fill this field also.
How should I do this?
Comments
Field on line item
You'll need a date field on your line item type (or perhaps a custom line item type). See the recent postings on http://commerceguys.com including the [Introduction to custom line item types](http://www.commerceguys.com/resources/articles/237)
Thank you for your help, but
Thank you for your help, but I don't think that'll be the right choice for this one. I saw your screencast (which was useful, thanks for that:)), but what I would like to do is to add a datepicker to the the first checkout page, where the user can add her billing and shipping info etc.
Correct me if I'm wrong but adding a field to the line item would allow the user to add a specific date to each product she'll order. I just want one date on the end of the shopping so my client would know when to deliver the whole package.
Can I do this?
Experiment with editableviews
You might consider experimenting with [Editable Fields](http://drupal.org/project/editablefields) assuming that the shipping date goes with a line item, you might be able to add the date to view.
If instead this is related to Commerce Shipping, which I have negligible experience with, you might need a different path.
Ok, I'll take a look into it,
Ok, I'll take a look into it, thanks!
Editable Fields allows the
Editable Fields allows the same functionality than the one with line item types. I can make a field editable by the user.
I just found the solution:
I just found the solution: Commerce Field Group module http://drupal.org/project/commerce_fieldgroup_panes
This allows me to create fields to the order, put them into field groups display this group on the admin/commerce/config/checkout/form page. Here I can control where it will appear.
I'm trying it right now, but I think that'll take care of my problem.