X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Change shipping options to radio buttons instead of a dropdown box (https://forum.x-cart.com/showthread.php?t=35626)

divinechic 03-18-2008 05:48 PM

Re: Change shipping options to radio buttons instead of a dropdown box
 
I will try this and see if it works for me.

chamberinternet 04-11-2008 04:36 AM

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


All times are GMT -8. The time now is 10:01 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.