Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

diglin/Diglin_Sales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diglin_Sales

Fix a hidden tax issue when using tax and discount into the Magento Backend

Reason of this module

Since a long time our dear super Magento product have some issues with the tax calculation for european countries (maybe others too). If you try to use discount code from the backend, you will get some curious display of the tax calculation. The ground is, the hidden tax is not taken in account into the calculation in the backend.

Hidden tax is the amount of tax removed after a discount is applied on a product price including tax: e.g. With a VAT of 8%, the price is 150 CHF incl. VAT, the discount is 10% * 150 CHF = 15 CHF incl. VAT. Based on excluded VAT, the price is 138.89 CHF excl. VAT, the discount is 10% * 138.89 CHF= 13.89 CHF. The hidden tax value is 15 – 13.89 = 1.11 CHF

Compatibility

  • Magento 1.7.x until Magento 1.8.x (in Magento 1.9 it's fixed)

Tax Settings

This problem appears when you set the following tax settings:

image

In fact, Magento doesn't support those settings and say officially that it's not a correct way. I don't have a clue why they think like that but this setting is definitely the good one after to have talk around me about this topic (accounting, other developers and merchant).

Basic installation

Until I have the time to create a composer and modman files (or feel free to PR them ;-)), copy the files into the appropriate folder structure.

You will need the Admin Theme module to get allowed to overwrite admin template. Here is the link to the github module of Inchoo_AdminTheme

Author

About

Magento 1 - Fix a hidden tax issue when using tax and discount

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages