Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Default Vat Checked? Rate Topic   - - - - -

 
  • neropanda
  • Newbie
  • Trial users
  • Join Date: 28-Nov 20
  • 1 posts

Posted 28 November 2020 - 09:21 PM #1

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.