If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Customization from the Admin / Additional Drop Down Field in Shopping Cart

Additional Drop Down Field in Shopping Cart

Started by chowardart on 3 May 2013, 2:21 PM · Views: 1,479

Results 1 to 10 of 10
3 May 2013, 2:21 PM
#1
chowardart avatar

chowardart

New Zenner

Join Date:
Apr 2013
Location:
Florida
Posts:
57
Plugin Contributions:
0

Post #1 by chowardart

Greetings!
One of my clients has a unique situation. Most of their customers are brokers, who send to several different locations, which is no issue.

What is at issue is that there is a finite list of truckers to move the orders. The brokers arrange their own trucking, but must indicate to the customer which trucking company to use.

What I'd like to try and get is an added drop down field at checkout where they could specify from a drop down list which one they want to use, and would not let them continue until they have chosen one.

Every search I have done always winds up about adding fields to product pages, but not to the cart.

Does such a plugin exist?
:lookaroun

3 May 2013, 3:42 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Why not add trucking providers as attributes to the product??

Zen-Venom Get Bitten

3 May 2013, 6:40 PM
#3
chowardart avatar

chowardart

New Zenner

Join Date:
Apr 2013
Location:
Florida
Posts:
57
Plugin Contributions:
0

Post #3 by chowardart

Because they only need to put it into the order once, not with each product... I suppose I could make the trucking a "product", and then add the companies as attributes, something I'll consider...

But, like I was asking, I would rather have a choice at checkout...

6 May 2013, 1:54 PM
#5
chowardart avatar

chowardart

New Zenner

Join Date:
Apr 2013
Location:
Florida
Posts:
57
Plugin Contributions:
0

Post #5 by chowardart

haredo - that sounds just like what I need, but if you know, which line is he talking about about being highlighted that I need to replace?

(I would reply on that thread but it's from 2006)

Thank you!

6 May 2013, 5:15 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Post #6 by haredo

Find this:

<fieldset> <legend><?php echo TABLE_HEADING_COMMENTS; ?></legend> <?php echo zen_draw_textarea_field('comments', '45', '3'); ?> </fieldset>

Change to this:

<fieldset> <fieldset class="shipping" id="comments"> <legend>Choose Your Time For Delivery</legend> <select name="comments"> <option>?? Delivery Time ??</option> <option>Delivery Time 17:00</option> <option>Delivery Time 18:00</option> <option>Delivery Time 19:00</option> <option>Delivery Time 20:00</option> </select> </fieldset>

Make sure to change the wording to Trucking Company to match ...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

6 May 2013, 6:52 PM
#7
chowardart avatar

chowardart

New Zenner

Join Date:
Apr 2013
Location:
Florida
Posts:
57
Plugin Contributions:
0

Post #7 by chowardart

Thank you! I'll try it and let you know!...

6 May 2013, 6:55 PM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Post #8 by haredo

Please do ...
What is your dot com name ?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

6 May 2013, 8:53 PM
#9
chowardart avatar

chowardart

New Zenner

Join Date:
Apr 2013
Location:
Florida
Posts:
57
Plugin Contributions:
0

Post #9 by chowardart

Me, I'm chowardart.com but there's nothing there at the moment...

Thank you, the custom code thread you found did the trick! I just did a test purchase, and sure enough, the choice shows up in the order report - awesome!

6 May 2013, 11:22 PM
#10
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Post #10 by haredo

Ty for posting back the fix worked for you ....

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.