Centarro has published now a module which does the job for any tax : https://www.drupal.org/project/commerce_product_tax. These kind of custom resolver is not needed anymore, except if you want to calculate the tax type per variation programmatically.
Centarro has published now a module which does the job for any tax : https://www.drupal.org/project/commerce_product_tax. These kind of custom resolver is not needed anymore, except if you want to calculate the tax type per variation programmatically.