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