Page 1 of 1

Set default tax class to "Taxable Goods"?

Posted: Sat Sep 19, 2015 2:00 am
by bobbyacker
How can I set the default tax class to "Taxable Goods"?
Thanks, Bobby

Re: Set default tax class to "Taxable Goods"?

Posted: Tue Sep 22, 2015 2:18 pm
by motion2082
Manually update the "tax_class_id" in your "oc_product" table to the same as your "taxable goods"

Re: Set default tax class to "Taxable Goods"?

Posted: Tue May 23, 2017 10:05 am
by webplus
Can anyone tell me how to do this, please
i have the same question

This is when entering a product, I need the Tax class to set " Taxable Goods" as default - at the moment it is "none"

Re: Set default tax class to "Taxable Goods"?

Posted: Tue May 23, 2017 10:46 am
by webplus

Re: Set default tax class to "Taxable Goods"?

Posted: Wed Oct 17, 2018 5:32 am
by Guybonin
Hi I am looking for the same solution. Please help.
I have opencart 3.0.2.

Re: Set default tax class to "Taxable Goods"?

Posted: Wed Oct 17, 2018 10:27 pm
by Johnathan

Code: Select all

IN:
/admin/controller/catalog/product.php

REPLACE:
$data['tax_class_id'] = 0;

WITH:
$data['tax_class_id'] = 9;

The default tax_class_id for the "Taxable Goods" tax class is 9, but if yours is different you should use that value in the replaced code.

Re: Set default tax class to "Taxable Goods"?

Posted: Mon Oct 22, 2018 10:33 am
by Guybonin
Thank You it worked great. Now I can import my csv file without any modification.

Re: Set default tax class to "Taxable Goods"?

Posted: Tue Oct 23, 2018 1:05 am
by xxvirusxx