Quote:
Originally Posted by Tim Soles
Secondly, a minor issue which goes back to the previous version or earlier is that when manually creating a new product the Apply Taxes field is not highlighted by default. It is easy to miss this because the field does show the tax rate, but you need click on it to highlight it for it to apply.
|
In /skin/common_files/main/product_details.tpl find
Code:
<option value="{$taxes[tax].taxid}"{if $taxes[tax].selected gt 0} selected="selected"{/if}>{$taxes[tax].tax_name}</option>
and replace with
Code:
<option value="{$taxes[tax].taxid}"{if $taxes[tax].selected gt 0 or $new_product eq 1} selected="selected"{/if}>{$taxes[tax].tax_name}</option>
or if you need specific tax only selected (replace X with taxid)
Code:
{section name=tax loop=$taxes}
<option value="{$taxes[tax].taxid}"{if $taxes[tax].selected gt 0 or ($new_product eq 1 and $taxes[tax].taxid eq 'X')} selected="selected"{/if}>{$taxes[tax].tax_name}</option>
{/section}