Technical information for the developer
Code Encryption / Obfuscation
Extensions developed by ETWS are not encrypted (no IonCube, Zend Guard, etc.).
100% of the source code is open source and not a single line of code is obfuscated / encrypted.
Observers / Events
The extension listens for the following events, and uses them to add its functionality to Magento.
- Area: global – Event: controller_front_init_before
Model Usage Replacement
- We use our class instead of Mage_Tax_Model_Sales_Pdf_Tax (global/pdf/totals/tax/model)
The extension does not rewrite any templates.
The etxension adds the following fields:
- et_payment_extra_charge — Payment Charge Amount in display currency
- base_et_payment_extra_charge — Payment Charge Amount in base currency
- et_payment_extra_charge_excluding_tax — Payment Charge Amount excluding tax in display currency
- base_et_payment_extra_charge_excluding_tax — Payment Charge Amount excluding tax in base currency
to the following tables: