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!