Closed
Description
At product cart page, we are getting tax value which implies for multiple rule.
For example :-- If users has create tax rule for any specific country as well as its region also then if user select that region at cart page, it implies both rule like region based and country based for that product.
It should implies only for region based. Magento must have provide the priority to region then country.
Preconditions
Magento 2.2.2 Community Edition.
Steps to reproduce
- Login to admin panel.
- Use system configuration for Tax.
- Create individual tax rate and tax rule for specif region and country.
- Add any product into cart.
- Go to cart page.
- Select any region and verify that country specific rule is applied or not.
- Now, update with region which you had created rule.
- Verify that tax calculate for both rate region and country or not.
Expected result
- If specific region is selected and associate rule is created then tax should calculate only for region.
- If specific region based rule is not created and rule is created for country then tax should calculate only for country.
- If rules are created for both specific region and country and user select specific region for shipping then tax should calculate only for specific region instead of total of both rates.