magenxcommerce/module-weee

N/A

安装: 105

依赖项: 2

建议者: 0

安全性: 0

星星: 0

关注者: 1

分支: 0

开放问题: 0

类型:magento2-module


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.

安装详情

The Magento_Weee module can be installed automatically (using native Magento install mechanism) without any additional actions.

在安装此模块之前,请注意,magenxcommerce/module-weee依赖于以下模块

  • Magento_Catalog
  • Magento_Checkout
  • Magento_Customer
  • Magento_Quote
  • Magento_Sales
  • Magento_Store
  • Magento_Tax

有关如何在Magento 2中启用或禁用模块的说明,请参阅如何启用或禁用模块

结构

Pricing/ - 包含税收调整的目录。

有关模块的典型文件结构信息,请参阅模块文件结构

可扩展性

扩展开发者可以与magenxcommerce/module-weee模块交互。有关Magento扩展机制的更多信息,请参阅Magento插件

The Magento dependency injection mechanism enables you to override the functionality of the Magento_Weee module.

布局

此模块在以下目录中引入了以下布局和布局处理程序

  • view/adminhtml/layout:

    • catalog_product_form
    • sales_creditmemo_item_price
    • sales_invoice_item_price
    • sales_order_create_item_price
    • sales_order_creditmemo_new
    • sales_order_creditmemo_updateqty
    • sales_order_creditmemo_view
    • sales_order_invoice_new
    • sales_order_invoice_updateqty
    • sales_order_invoice_view
    • sales_order_item_price
    • sales_order_view
  • view/base/layout:

    • catalog_product_prices
  • view/frantend/layout:

    • checkout_cart_index
    • checkout_index_index
    • checkout_item_price_renderers
    • default
    • sales_email_item_price
    • sales_email_order_creditmemo_items
    • sales_email_order_invoice_items
    • sales_email_order_items
    • sales_guest_creditmemo
    • sales_guest_invoice
    • sales_guest_print
    • sales_guest_printcreditmemo
    • sales_guest_printinvoice
    • sales_guest_view
    • sales_order_creditmemo
    • sales_order_invoice
    • sales_order_item_price
    • sales_order_print
    • sales_order_printcreditmemo
    • sales_order_printinvoice
    • sales_order_view

有关布局的更多信息,请参阅布局文档

UI组件

您可以使用位于以下目录的配置文件扩展客户表单和小部件

  • view/adminhtml/ui_component:
    • product_attribute_add_form
  • view/frontend/ui_component:
    • widget_recently_compared
    • widget_recently_viewed

有关UI组件的信息,请参阅UI组件概述