Delivery Time in osCommerce
Buy Gary A Beer?
Buying me a "beer" helps me to keep my contributions updated and keep this blog alive - and you get a link from my homepage to your site. Cheers!
The other day, I was asked about the possibility of including a time selection field in the shipping page of an osCommerce site. A typical example would be a delivery service such as a flower shop.
This is very alike my previous code for selcting a delivery date which works well. Basically, all I had to was copy that but make it "time" instead of "date".
With some Googling, I found a nice jQuery based timepicker which i integrated into the checkout_shipping page.
So, the checkout_shipping.php after the changes;

In the admin, on the orders.php details, it looks like this;

Obviously I chose that date and time in the checkout page. Th selcted date and time also shows in the customer facing order history page(s) as well. Sweet!
As you can see I prettied up the time selector by adding a clock image. Looks pretty nice!



Hi, where can i find this contribution?
Comment by Maano — June 10, 2010 @ 2:45 pm
I never made it into a contribution. It's really easy though if you give it a go.
Comment by Gary — June 11, 2010 @ 12:33 pm