Log in
Model

WeeeConfigProvider

Magento\Weee\Model\WeeeConfigProvider

What it does

This class provides WEEE (Waste Electrical and Electronic Equipment) tax configuration data for the checkout process in Magento 2.

It implements ConfigProviderInterface to supply frontend JavaScript components with settings that control how WEEE taxes are displayed in the cart and checkout, such as whether to show tax details, include them in prices, or add them to subtotals.

Developers use this when customizing checkout display behavior for stores that need to comply with WEEE tax regulations.

Public Methods

  • getConfig()
  • iDisplayPriceWithWeeeDetails()
  • isDisplayFinalPrice()
  • isWeeeEnabled()
  • getIncludeWeeeFlag()
  • isIncludedInSubtotal()