Jump to content

 

neropanda

Member Since 28 Nov 2020
Offline Last Active Dec 11 2020 07:06 PM
-----

Topics I've Started

Default Vat Checked?

28 November 2020 - 09:21 PM

When we create a new product manually, we sometimes forget to check the VAT button. Is there a way to have it checked by default? 
We have a "vat low" rate and a "vat high" rate and i would like to have the last one checked by default in the create product page.

 

 <input type="checkbox" name="product_data[tax_ids][{$tax.tax_id}]" id="elm_taxes_{$tax.tax_id}" {if $tax.tax_id|in_array:$product_data.tax_ids}checked="checked"{/if} value="{$tax.tax_id}" />
 
I change this code but still can't help me please.