amadeco / module-weee-configurable-products
Extends Magento Weee module for configurable products to prevent double taxation by adjusting WEEE tax calculation.
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: ~8.1.0||~8.2.0||~8.3.0
- magento/framework: 103.0.*
- magento/module-configurable-product: *
- magento/module-weee: *
README
Overview
The Amadeco WeeeConfigurableProducts module addresses issues related to the calculation of Fixed Product Taxes (FPT) for configurable products in Magento 2. By adjusting the tax computations, the module ensures that FPT is correctly applied by averaging the tax amounts of the child products, overcoming limitations in Magento's default behavior.
Key Features
- Improved FPT Calculation: Adjusts FPT for configurable products by averaging the tax amounts from child items.
- Seamless Integration: Overrides Magento's default Weee tax calculation to provide more accurate tax totals on configurable products.
- Enhanced Compatibility: Optimized for Magento 2.4.x and PHP 8.1, 8.2, 8.3.
Installation
Composer Installation
Run the following commands from your Magento root directory:
composer require amadeco/module-weee-configurable-products bin/magento module:enable Amadeco_WeeeConfigurableProducts bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy
Manual Installation
- Create directory
app/code/Amadeco/WeeeConfigurableProducts
in your Magento installation - Clone or download this repository into that directory
- Enable the module and update the database:
bin/magento module:enable Amadeco_WeeeConfigurableProducts bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy
References
This module addresses known issues and incorporates community feedback:
-
Issue: FPT is not applied to configurable products #25554 magento/magento2#25554
-
Issue: FPT not applied on configurable products (children) in checkout summary #28931 magento/magento2#28931
-
Pull Request: Fixed Product Taxes (FPT) are not used from simple products #35883 magento/magento2#35883
Compatibility
- Magento 2.4.x
- PHP 8.1, 8.2, 8.3
Contributing
Contributions are welcome! Please read our Contributing Guidelines.
Support
If you encounter any issues or have feature requests, please open an issue on our GitHub repository.
License
This module is licensed under the Open Software License ("OSL") v3.0. See the LICENSE.txt file for details.