I only have one TAX option but when entering new product I'm forced to set the TAX option.

Is there a way set a TAX value to default?

3 Answers 3


The easiest way is changing a value in Magento Database

UPDATE `eav_attribute` SET `default_value` = '2' WHERE `eav_attribute`.`attribute_code`='tax_class_id';

By default is set as NULL So change default_value = 'Your value tax'

If you inspect Taxes Dropdrop you will find Tax Value

enter image description here


You could add a small custom module, MyModule\Taxdefault

This way you have some history and deployment covered.


<?xml version="1.0"?>
                <Mage_Catalog />


<?xml version="1.0"?>


$installer = $this;
/* @var $installer Mage_Catalog_Model_Resource_Setup */


// Will update the attribute

  • Its not working, correctly...
    – Srihari
    Jul 27, 2016 at 14:51
  • it should be updateAttribute() instead of addAttribute() Apr 28, 2017 at 12:18

Go to your sql_db and find the record "tax_class_id" in the table "eav_attribute" and update the field "default_value" with the desired value.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.