Extra field during checkout

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
15 years ago
What would be the best way to add extra field (delivery date) on checkout page ? - maybe where the shipping info is ?
I think i have to store extra info in new table , so i can upgrade site to newer ver. in the future. Any ideas, suggestions - maybe someone already did something like that ?
15 years ago
This is certainly a good idea and should be considered for next release. Within the Shipping Methods the shipping methods you should be able to:

a) specify the week days in which delivery takes place (e.g. if you have a standard shipping method - Mon, Tues, Wed, Thurs, Fri)
b) specify a lead time or number of days from the order date for which the item will be delivered e.g. "2 working days"

Then when a customer places an order, based on the shipping method that is selected, you can present the user with a delivery estimation. They can then change their delivery options to suit there required delivery date.

In the meantime, if you didn't want to do to much coding you could create a custom setting e.g. Shipping.ShippingMethod.LeadTime and give it an integer value of how many days lead time you should add to the order date (to give an estimated delivery date)

Then on the checkout page / order page just create a simple function that takes the order date and adds the above number of "working" days to it.

This will save you having to write any data access code, it just means it will be calculated each time you load the page.
13 years ago
You could maybe use the order notes to add a note with the delivery date in?
13 years ago
'Checkout attributes' option will allow you to do it (Admin area > Catalog > Attributes > Checkout Attributes)
13 years ago
nopCommerce team | a.m. wrote:
'Checkout attributes' option will allow you to do it (Admin area > Catalog > Attributes > Checkout Attributes)


I need the checkout attributes appear in the confirmation of purchase, how I can do?
13 years ago
try removing

<%@ Register TagPrefix="nopCommerce" TagName="CheckoutAttributes" Src="~/Modules/CheckoutAttributes.ascx" %>
+
<nopCommerce:CheckoutAttributes ID="ctrlCheckoutAttributes" runat="server"></nopCommerce:CheckoutAttributes>

from OrderSummary.ascx


and putting them in

CheckoutConfirm.ascx
13 years ago
thank you, I need to the compiler again ?
13 years ago
no, the solution won't need recomplied after this change    :#)
13 years ago
When I add the delivery date in the checkout attributes, I get 3 seperate drop down lists (Day-Month-Year), should this be GUI date picker like in the rest of the application? or is this how it is designed?

I have found the DatePicker.ascx control which seems to use a textbox, imagebutton and ajaxToolkit:CalendarExtender, is this not used or not working here?
12 years ago
I need the calendar as well. How would I add that or change the code from the date picker?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.