About Club osCommerce

Showcasing osCommerce - the good, the bad and the ugly!

StumbleUpon It! DIGG It!

Adding A Delivery Date

Written By Gary on Mar 10 2008 ·

Over in the official osCommerce Forum, someone wanted the ability to add a "delivery date" that the customer can choose to select.

I have no doubt that there is a pre-existing contribution that can handle this, bt I thought it would make an interesting exercise, to see if I could come up with something that is coded cleanly and, most importantly, works easily…

Introducing the Club osCommerce Date Picker!

This little mod took me about 15 minutes work. I added a text input using javascript on the checkout_shipping page, and created the value as a session. I input the session value into the database. Then pull the value from the database to display the customer preferred delivery date in the Admin area.

Here's a short video showing this;

If anyone wants the code, please let me know - it does involve some changes to core osCommerce files (though the changes are very minimal. If anyone wants it, I'll package it up ready for download.


Buy Gary A Beer?
Buying me a "beer" helps me to keep my contributions updated and keep this blog alive. Cheers!


3 Comments

  1. Hello, I need the code. I appreciate if you could help me
    Best

    Comment by Nurlan — October 25, 2008 @ 11:05 pm


  2. Nurlan - here.

    Comment by Gary — October 27, 2008 @ 8:57 am


  3. Hello
    I could really use that script if you would be so generous as to share it. My shopping cart is very modified, but that feature is very needed. Thank you so much for the help.

    Comment by Barbara Fena — December 3, 2008 @ 5:59 am


Leave a comment

RSS feed for comments on this post · TrackBack URL

Hot 100 osCommerce Shops

View the osCommerce HOT 100These are the best looking, most exceptional osCommerce Stores as voted for by you.

New to osCommerce - get inspiration from these beautiful shops. Reckon your site has what it takes to become a member of the HOT 100? Submit it!