Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Shipping Method Drop Down Menu

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-28-2011, 12:05 PM
 
CowboyTed CowboyTed is offline
 

Member
  
Join Date: Dec 2009
Posts: 12
 

Default Shipping Method Drop Down Menu

I am using xcart ver 4.3.0 . Is ther a way to edit the check out area where the customer chooses a shipping method? The drop down automatically shows the UPS shipping choices and despite BOLD letters saying USE THE DROP DOWN for other choices,.... people cannot seem to find it.

What I want to do is just have the drop down say Select a Method instead of having UPS being the selected. Where can I edit this?

Any ideas??

Thanks!
__________________
Version 4.3.0
Reply With Quote
  #2  
Old 01-28-2011, 02:23 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Shipping Method Drop Down Menu

You can edit the template that shows the shipping methods and just add another <option> to the <select> and make it selected by default. Which template depends on the checkout you are using - if it's FLC check in modules/Fast_Lane_Checkout/
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 01-28-2011, 04:00 PM
 
CowboyTed CowboyTed is offline
 

Member
  
Join Date: Dec 2009
Posts: 12
 

Default Re: Shipping Method Drop Down Menu

Thanks for replying,
In the skin1/customer/main/cart_totals.tpl I did do exactly that but had no affect,... I don't believe we are using FLC but I will re-look.
I did look at the modules/Fast_Lane_Checkout/ before. What file would it be??
__________________
Version 4.3.0
Reply With Quote
  #4  
Old 01-28-2011, 07:41 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Shipping Method Drop Down Menu

skin1/modules/Fast_Lane_Checkout/shipping_methods.tpl
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 01-29-2011, 08:10 AM
 
CowboyTed CowboyTed is offline
 

Member
  
Join Date: Dec 2009
Posts: 12
 

Default Re: Shipping Method Drop Down Menu

Thanks Steve,...

That pointed me in the right direction,.... I do have Fast Lane Checkout enabled. To make the changes I needed I had to edit the skin1/main/select_carrier.tpl file. Although I got some of the changes I wanted I still could not get it exactly the way I want it.

I want "no" delivery method showing until the customer actually selects a method. After reading many posts on Google this seems to be a concern of many of the users of xcart and I sure would like to know how to make these changes so I can help others.
__________________
Version 4.3.0
Reply With Quote
  #6  
Old 04-05-2011, 11:23 AM
 
John Ling John Ling is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 42
 

Default Re: Shipping Method Drop Down Menu

i have similer concern.. i have 2 shipping method in drop down .. even after changing the pos. # UPS comes as default while i want my FLAT RATE come as default any help with this?
__________________
X-Cart Version 4.2.3
Reply With Quote
  #7  
Old 05-25-2011, 11:35 AM
 
globalawakening globalawakening is offline
 

Newbie
  
Join Date: Feb 2011
Posts: 7
 

Default Re: Shipping Method Drop Down Menu

I'm in the same boat, I want USPS to be the default, not UPS.
__________________
Global Awakening
Globalawakening.com
----
GlobalAwakeningStore.com
X-cart Gold 4.4.4
Reply With Quote
  #8  
Old 05-28-2011, 07:38 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Shipping Method Drop Down Menu

Quote:
Originally Posted by cflsystems
You can edit the template that shows the shipping methods and just add another <option> to the <select> and make it selected by default. Which template depends on the checkout you are using - if it's FLC check in modules/Fast_Lane_Checkout/

How do I make it selected by default? I'm using 4.4.3 One Page Checkout. Here is what I have...

Code:
{* $Id: select_carrier.tpl,v 1.1 2010/05/21 08:32:18 joy Exp $ vim: set ts=2 sw=2 sts=2 et: *} <select{if $name} name="{$name}"{/if}{if $id} id="{$id}"{/if}{if $onchange} onchange="{$onchange}"{/if}> <option value=""{if $current_carrier eq ""} selected="selected"{/if}>Please Select</option> <<<=== THIS PART ADDED {if $is_ups_carrier_empty ne "Y"} <option value="UPS"{if $current_carrier eq "UPS"} selected="selected"{/if}>{$lng.lbl_ups_carrier}</option> {/if} {if $is_other_carriers_empty ne "Y"} <option value=""{if $current_carrier ne "UPS"} selected="selected"{/if}>{$lng.lbl_other_carriers}</option> {/if} </select>

Instead of "Please Select" coming up, it defaults to "Other Carriers", regardless of what the added option vales are.

Thanks in advance!
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #9  
Old 05-28-2011, 03:15 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Shipping Method Drop Down Menu

Because $current_carrier is never empty
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #10  
Old 05-28-2011, 04:34 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Shipping Method Drop Down Menu

Quote:
Originally Posted by cflsystems
Because $current_carrier is never empty

OK, then how can I "edit the template that shows the shipping methods and just add another <option> to the <select> and make it selected by default." as you suggest?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:36 PM.

   

 
X-Cart forums © 2001-2020