Lead Time – handmade products

By | July 20, 2012

Project for today was to build a system to allow a shopowner to assign a leadtime to products. For example, a hand made product that takes 3 days to produce. Now imagine shopowner sells 50 or 60 such products, some of which can be sent immediately, some take 3 days to produce, some take 5 days. Or another scenario is if shopowner has a supplier who takes a little time to get products to him to resend to customer…you get the idea, I’m sure.

So, shopowner can now set up individual products to have a “lead time” in days;

Of course, products could all have the same amount of lead time, or could have different amounts. I then made logic that grabs the value (in days) of the product being purchased that has the highest leadtime and works out the next available working day based on this;

In this example you can see the matrox has a lead time of 5 days, and the printer has a lead time of 1 day. The message underneath takes the higher amount of days and works out 5 working days from order date. Saturdays and Sundays are not counted as working days, and I have also added the ability for the shopowner to add in bank holidays, vacation time and so on.

In the checkout process, I also show a similar message;


A good way for shopowner to let customers know that some products are not available immediately!

2 thoughts on “Lead Time – handmade products

  1. Eddy

    Hi Gary,

    Is the ability to add in bank holidays & vacation time restricted by number of data entries the shopowner can enter?

  2. Gary Post author

    Hi Eddy – there is no restriction on the holidays that can be added.

Leave a Reply

Your email address will not be published.