VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Shipping Modules => Topic started by: ivytony on August 15, 2007, 00:51:01 AM

Title: how to add 'choose delivery time' function?
Post by: ivytony on August 15, 2007, 00:51:01 AM
Hi,

My store is primarily for local pickup/delivery and I would like customers to choose a delivery time if they like us to deliver. I'm wondering how to add this option in the shipping module?

thanks
Title: Re: how to add 'choose delivery time' function?
Post by: Edgar. R. Koster on August 15, 2007, 08:19:22 AM
two ways i can think of:
The first, fast to do working in a jiffy. Con: big list for customers to choose from
add seperate shipping methods to the list for each delivery period e.g. deliver 10-12, deliver 14-16
The second, add a checkout step. This is "harder" for you need to code. Then if a shipping method is selected for which you said apply "Choose delivery" (a new to make option on the shipping method) the next step will be a new one to specify the time. This is a nicer solution.

If you go with option 1, I'll go with option 2 :-) I need it myself and it's on my waiting to do list to build if no nice solution is there. The next project so to say.
Title: Re: how to add 'choose delivery time' function?
Post by: ivytony on August 15, 2007, 18:07:54 PM
so when is the option 2 project going to be done? I appreciate your reply and the input. :)
Title: Re: how to add 'choose delivery time' function?
Post by: ivytony on August 15, 2007, 18:15:44 PM
my 2 cents here: I tried to modify the Joomla Events calendar components for virtuemart so that the delivery time can be configured at the vm backend. When a customer chooses local delivery, (s)he will be asked to choose a delivery time (date & time) from the calendar. thanks!
Title: Re: how to add 'choose delivery time' function?
Post by: Edgar. R. Koster on August 15, 2007, 20:35:50 PM
I hope to start somewhere next week :-)
Title: Re: how to add 'choose delivery time' function?
Post by: ivytony on August 15, 2007, 21:27:01 PM
thanks for the replies, Edgar. R. Koster.

Are you going to make that hack public when you are done with it? thanks!! :)
Title: Re: how to add 'choose delivery time' function?
Post by: Edgar. R. Koster on August 15, 2007, 21:51:34 PM
Of course. I'll post it with my others on my site.


(I leave it up to the users to decide to donate vm or me for it, I don't mind)
Title: Re: how to add 'choose delivery time' function?
Post by: ivytony on August 15, 2007, 22:09:40 PM
you are awesome, Edgar. R. Koster!

how long will it take before you release the hack?

thank you so much!!!
Title: Re: how to add 'choose delivery time' function?
Post by: Maria Sejling on October 23, 2008, 14:00:56 PM
Dear Edgar. R. Koster,
Did you do this hack yet?

Best regards, Masol :-) ;D