To support products with individual tax set we need to override ITaxService to make it take the product setting rather than the default tax info from the price group into account.
Relevant APIs
UCommerce.Catalog ITaxService TaxService
UCommerce.EntitiesV2 Product PriceGroup
UCommerce.Extensions DynamicProperty<T>()
Hands-on
Set up a field with the PriceGroupControlFactory.
Set a custom price group on a product.
Inherit TaxService and override the CalculateTax method.
Check the product for the field (take into account variants).
Load the price group based on the id stored in the field.