test-magenx / module-weee
N/A
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
pkg:composer/test-magenx/module-weee
Requires
- php: ~7.3.0||~7.4.0
- magento/framework: 103.0.*
- magento/module-backend: 102.0.*
- magento/module-catalog: 104.0.*
- magento/module-checkout: 100.4.*
- magento/module-customer: 103.0.*
- magento/module-directory: 100.4.*
- magento/module-eav: 102.1.*
- magento/module-page-cache: 100.4.*
- magento/module-quote: 101.2.*
- magento/module-sales: 103.0.*
- magento/module-store: 101.1.*
- magento/module-tax: 100.4.*
- magento/module-ui: 101.2.*
Suggests
- magento/module-bundle: 101.0.*
This package is auto-updated.
Last update: 2025-10-13 09:59:51 UTC
README
The Magento_Weee module enables the application of fees/fixed product taxes (FPT) on certain types of products, usually related to electronic devices and recycling.
Fixed product taxes can be used to setup a WEEE tax that is a fixed amount, rather than a percentage of the product price. FPT can be configured to be displayed at various places in Magento. Rules, amounts, and display options can be configured in the backend.
This module extends the existing functionality of Magento_Tax.
The Magento_Weee module includes the following:
- Ability to add different number of fixed product taxes to product. They are treated as a product attribute.
- Configuration of where WEEE appears (on category, product, sales, invoice, or credit memo pages) and whether FPT should be taxed.
- A new line item in the totals section.
Installation details
The Magento_Weee module can be installed automatically (using native Magento install mechanism) without any additional actions.
Before installing this module, note that the Magento_Weee is dependent on the following modules:
- Magento_Catalog
- Magento_Checkout
- Magento_Customer
- Magento_Quote
- Magento_Sales
- Magento_Store
- Magento_Tax
Refer to how to enable or disable modules in Magento 2.
Structure
Pricing/ - directory that contain tax adjustment.
For information about a typical file structure of a module, see Module file structure.
Extensibility
Extension developers can interact with the Magento_Weee module. For more information about the Magento extension mechanism, see Magento plug-ins.
The Magento dependency injection mechanism enables you to override the functionality of the Magento_Weee module.
Layouts
This module introduces the following layouts and layout handles in the directories:
-
view/adminhtml/layout:catalog_product_formsales_creditmemo_item_pricesales_invoice_item_pricesales_order_create_item_pricesales_order_creditmemo_newsales_order_creditmemo_updateqtysales_order_creditmemo_viewsales_order_invoice_newsales_order_invoice_updateqtysales_order_invoice_viewsales_order_item_pricesales_order_view
-
view/base/layout:catalog_product_prices
-
view/frantend/layout:checkout_cart_indexcheckout_index_indexcheckout_item_price_renderersdefaultsales_email_item_pricesales_email_order_creditmemo_itemssales_email_order_invoice_itemssales_email_order_itemssales_guest_creditmemosales_guest_invoicesales_guest_printsales_guest_printcreditmemosales_guest_printinvoicesales_guest_viewsales_order_creditmemosales_order_invoicesales_order_item_pricesales_order_printsales_order_printcreditmemosales_order_printinvoicesales_order_view
For more information about a layout, see the Layout documentation.
UI components
You can extend a customer form and widgets using the configuration files located in the directories
view/adminhtml/ui_component:product_attribute_add_form
view/frontend/ui_component:widget_recently_comparedwidget_recently_viewed
For information about a UI component, see Overview of UI components.