Jump to content

Update product tax rules via database


Recommended Posts

I'll answer myself. It is not enough to just update ps_product table, also ps_product_shop table has to be udpated.

 

To change tax groups for all active products the sql queries would be:

UPDATE ps_product SET id_tax_rules_group = 1 WHERE active = 1;
UPDATE ps_product_shop SET id_tax_rules_group = 1 WHERE active = 1;
  • Like 5
Link to comment
Share on other sites

×
×
  • Create New...