View Single Post
  #3  
Old 08-30-2012, 05:19 PM
 
smarta smarta is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 129
 

Default Re: Setting Product defaults in admin

great thanks

i edited
: /common_files/main/product_details.tpl

and swapped the order of the yes & no options and that changed the default

ie

<tr>
{if $geid ne ''}<td width="15" class="TableSubHead"><input type="checkbox" value="Y" name="fields[free_shipping]" /></td>{/if}
<td class="FormButton" nowrap="nowrap">{$lng.lbl_free_shipping}:</td>
<td class="ProductDetails">
<select name="free_shipping">
<option value='N'{if $product.free_shipping eq 'N'} selected="selected"{/if}>{$lng.lbl_no}</option>
<option value='Y'{if $product.free_shipping eq 'Y'} selected="selected"{/if}>{$lng.lbl_yes}</option>
</select>
</td>
</tr>

to

<tr>
{if $geid ne ''}<td width="15" class="TableSubHead"><input type="checkbox" value="Y" name="fields[free_shipping]" /></td>{/if}
<td class="FormButton" nowrap="nowrap">{$lng.lbl_free_shipping}:</td>
<td class="ProductDetails">
<select name="free_shipping">
<option value='Y'{if $product.free_shipping eq 'Y'} selected="selected"{/if}>{$lng.lbl_yes}</option>
<option value='N'{if $product.free_shipping eq 'N'} selected="selected"{/if}>{$lng.lbl_no}</option>

</select>
</td>
</tr>
__________________
4.4.3
Reply With Quote