Removing Tax from Shipping and Handling Charges in Magento
As a Magento developer, I often encounter scenarios where clients want to apply tax only to their product subtotal and exclude shipping charges. This can be achieved through configuration changes on the backend.
Understanding Tax Calculation in Magento
By default, Magento calculates tax based on the total amount of items in your cart, including both the price of products and the shipping cost (Handling Charges). The tax is then applied to this combined total.
In your case, you have:
- Product Subtotal: $39.90
- Handling Charges (Shipping): $5.93
- Total Amount for Tax Calculation: $45.83 ($39.90 + $5.93)
- Applied Tax Rate: 10%
- Calculated Tax: $4.53 (10% of $45.83)
How to Remove Tax from Shipping Charges
To apply tax only to the product subtotal and exclude shipping charges, you need to configure your Magento store’s tax settings:
-
Log in to your Magento Admin Panel.
-
Navigate to System > Configuration.
-
Expand the Sales > Tax section.
-
Find the specific tax rate that is currently being applied (in this case, 10%).
-
Click on the tax rate’s name to open its configuration page.
-
Under the Tax Calculation Method Based On field, select Row Total*.
-
Save your changes and clear your cache.
Explaining the Change
By selecting “Row Total” as the Tax Calculation Method Based On, Magento will calculate taxes based on each row of items in your cart separately, rather than calculating tax on the total combined amount.
This means that:
- The product subtotal of $39.90 will be used to calculate the tax.
- The shipping charge (Handling Charges) of $5.93 will not be included in the tax calculation.
Therefore, the new tax calculation would look like this:
- Product Subtotal for Tax Calculation: $39.90
- Applied Tax Rate: 10%
- Calculated Tax: $3.99 (10% of $39.90)
Conclusion
Removing tax from shipping charges in Magento requires a change to the store’s tax calculation method. By following the steps outlined above, you can configure your store to apply taxes only to the product subtotal and exclude shipping charges.
Remember that these changes will affect all tax rates configured in your store. If you have multiple tax rates with different rules, ensure each one is configured correctly based on your specific business requirements.
For more detailed information about Magento’s tax configuration options, I recommend referring to the official Magento documentation or seeking assistance from a professional development team like Laravel Company.