https://github.com/iparmentier/magento2-weee-configurable-products
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.
https://github.com/iparmentier/magento2-weee-configurable-products
bugfix magento2 magento2-configurable-products magento2-module magento2-weee
Last synced: 14 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/iparmentier/magento2-weee-configurable-products
- Owner: iparmentier
- License: osl-3.0
- Created: 2025-03-26T16:42:51.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-04-15T11:12:12.000Z (about 1 month ago)
- Last Synced: 2025-05-05T06:09:53.711Z (14 days ago)
- Topics: bugfix, magento2, magento2-configurable-products, magento2-module, magento2-weee
- Language: PHP
- Homepage: https://www.amadeco.fr
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Amadeco WeeeConfigurableProducts Module for Magento 2
[](https://github.com/Amadeco/magento2-weee-configurable-products/releases)
[](https://magento.com)
[](https://www.php.net)
[](LICENSE)[SPONSOR: Amadeco](https://www.amadeco.fr)
## 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:
```bash
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
1. Create directory `app/code/Amadeco/WeeeConfigurableProducts` in your Magento installation
2. Clone or download this repository into that directory
3. Enable the module and update the database:```bash
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
https://github.com/magento/magento2/issues/25554- **Issue**: FPT not applied on configurable products (children) in checkout summary #28931
https://github.com/magento/magento2/issues/28931- **Pull Request**: Fixed Product Taxes (FPT) are not used from simple products #35883
https://github.com/magento/magento2/pull/35883## Compatibility
- Magento 2.4.x
- PHP 8.1, 8.2, 8.3## Contributing
Contributions are welcome! Please read our [Contributing Guidelines](CONTRIBUTING.md).
## 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](LICENSE.txt) file for details.