Amadeco WeeeConfigurableProducts Module for Magento 2
[](https://github.com/Amadeco/magento2-weee-configurable-products/releases)
Loading actions...
Skill content
Main instructions and any bundled files for this skill.
Amadeco WeeeConfigurableProducts Module for Magento 2
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/WeeeConfigurableProductsin 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 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.
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.
Prompt Playground
1 VariableFill Variables
Preview
# 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.
Related Skills
Frontend Typescript Linting.mdc
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend li...
2. Apply Deepthink Protocol (reason about dependencies
risks