Export shows product without tax

Sometimes an export looks like it has no tax. This could actually be correct.


What is happening?

When a file is uploaded and there is no product tax included in the upload, the product gets a product_tax_id of 0. After checking the product in VirtueMart, it does show a tax rate.

However, the database still says 0. After saving the product, the database will still be 0. This happens because the tax rate has not been changed in anyway, so VirtueMart leaves it as it is. There are 2 ways to make this work:

  1. Change the tax on the product page to another value and then change it back. VirtueMart will then save the new tax value.
  2. Import a tax rate or tax id via CSV Improved

Now CSV Improved can export a product price with tax.