amadeco/module-weee-configurable-products

Extends Magento Weee module for configurable products to prevent double taxation by adjusting WEEE tax calculation.

v1.0.1 2025-03-27 08:54 UTC

This package is auto-updated.

Last update: 2025-04-15 11:16:06 UTC


README

Latest Stable Version Magento 2 PHP License

SPONSOR: Amadeco

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

  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:
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:

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.