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

Change shipping options to radio buttons instead of a dropdown box

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 03-18-2008, 05:48 PM
  divinechic's Avatar 
divinechic divinechic is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 78
 

Default Re: Change shipping options to radio buttons instead of a dropdown box

I will try this and see if it works for me.
__________________
X-Cart Gold version 4.1.9
Reply With Quote
  #12  
Old 04-11-2008, 04:36 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,471
 

Default Re: Change shipping options to radio buttons instead of a dropdown box

I have a similar scenario, one of my clients use UPS and a custom shipping freight.
But they require the custom shipping freight to be the first choice rather than UPS.

I've ensured that the custom shipping freight is set to the highest position within "Shipping Methods" in the admin section.

And also changed the code in cart_totals.tpl to the following:

Code:
{if $active_modules.UPS_OnLine_Tools and $config.Shipping.realtime_shipping eq "Y" and $config.Shipping.use_intershipper ne "Y" and $show_carriers_selector eq "Y"} <strong class="red-txt">{$lng.lbl_shipping_carrier}: </strong> <select name="selected_carrier" onchange="javascript: document.cartform.submit();"> <option value=""{if $current_carrier ne "UPS"} selected="selected"{/if}>{$lng.lbl_other_carriers} (Free UK Delivery)</option> <option value="UPS"{if $current_carrier eq "UPS"} selected="selected"{/if}>{$lng.lbl_ups_carrier}</option> </select> <br /><br /> {/if}

But UPS still keeps appearing as the first shipping option. Any ideas?

Thanks & Regards

Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:46 PM.

   

 
X-Cart forums © 2001-2020