Zen Cart Logo
Forums / General Questions / Delivery Address from Drop Down List at Checkout

Delivery Address from Drop Down List at Checkout

Locked

Views: 1,706

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
25 Jul 2008, 5:25 PM
#1
organicman avatar

organicman

New Zenner

Join Date:
Jul 2008
Posts:
13
Plugin Contributions:
0

Delivery Address from Drop Down List at Checkout

I am working with a customer who sells products using a buying club model wherein monthly deliveries to nearby cities go to the residence of a specified buying club member for each city in the network. The club members for that city go to the specified residence to pick up and pay for the orders at specified dates and times.

The standard way of handling this with Zen Cart is for each subscriber to enter the DELIVERY ADDRESS of their local city delivery contact as a secondary address in addition to the primary payment address in their own account. Then they have to select this each time they place an order using the “Change Your Address” button. This is a bit cumbersome and confusing. We are trying to make this as user friendly and idiot proof as possible.

As a solution, my client wants to have a dropdown list in the checkout process (Step 1) so that the user chooses their city from the drop down list and the delivery information for the local contact person automatically appears in the delivery/shipping information fields for that order.

I am guessing this would involve linking the “address_book_id” field for the local delivery person (from the “address_book” table in the DB) to the city for that designated delivery person in the drop down list. Then the appropriate delivery data gets inserted into the shipping/information field automatically. Does this sound plausible? Any suggestions on how to proceed?

25 Jul 2008, 5:55 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Delivery Address from Drop Down List at Checkout

Same question in this thread - you may be able to clone one of the shipping modules and modify it to suit, but it looks like it would be a lot of work.

http://www.zen-cart.com/forum/showthread.php?t=101345

25 Jul 2008, 7:34 PM
#3
organicman avatar

organicman

New Zenner

Join Date:
Jul 2008
Posts:
13
Plugin Contributions:
0

Re: Delivery Address from Drop Down List at Checkout

Thanks for the suggestion. I cloned three versions of the storepickup module. All three show up with the radio buttons at checkout and I can choose the proper one.

However it doesn't show up on the email invoice - only my home/primary address as the "Shipping/Delivery" address, so a bit misleading unless I can figure out how to tweak the confirmation email invoice to include the shipping method and instead of the shipping address. Can't find the order confirmation email template or language files. Any suggestions on how to get this final adjustment made?

25 Jul 2008, 8:41 PM
#4
organicman avatar

organicman

New Zenner

Join Date:
Jul 2008
Posts:
13
Plugin Contributions:
0

Re: Delivery Address from Drop Down List at Checkout

Okay, I found the email_template_checkout.html file in the email folder and have been trying to alter it with both Dreamweaver and Notepad, but NOTHING I change seems to affect the confirmation email. I have deleted huge blocks of code and nothing changes in the order confirmation emails. Can anyone point out the error of my ways?

25 Jul 2008, 9:02 PM
#5
organicman avatar

organicman

New Zenner

Join Date:
Jul 2008
Posts:
13
Plugin Contributions:
0

Re: Delivery Address from Drop Down List at Checkout

I have been able to make the adjustments to the confirmation email in the order.php file (lines 950-953).