Log in
Helper

Data

Magento\Weee\Helper\Data

What it does

This helper class manages Fixed Product Tax (FPT/WEEE) calculations and display settings throughout Magento 2.

Developers use it to retrieve WEEE amounts, determine how WEEE taxes should be displayed in different zones (product pages, cart, emails), and handle WEEE tax calculations for quotes and orders.

It provides methods for getting WEEE attributes, checking if WEEE is enabled, and calculating totals including or excluding WEEE tax.

Public Methods

  • getPriceDisplayType()
  • getListPriceDisplayType()
  • getSalesPriceDisplayType()
  • getEmailPriceDisplayType()
  • isTaxable()
  • includeInSubtotal()
  • isEnabled()
  • displayTotalsInclTax()
  • getAmountExclTax()
  • typeOfDisplay()
  • getProductWeeeAttributes()
  • getWeeeTaxAppliedAmount()
  • getWeeeTaxAppliedRowAmount()
  • getBaseWeeeTaxAppliedRowAmount()
  • getApplied()
  • setApplied()
  • getProductWeeeAttributesForDisplay()
  • getProductWeeeAttributesForRenderer()
  • getWeeeTaxInclTax()
  • getBaseWeeeTaxInclTax()
  • getRowWeeeTaxInclTax()
  • getBaseRowWeeeTaxInclTax()
  • getTotalTaxAppliedForWeeeTax()
  • getBaseTotalTaxAppliedForWeeeTax()
  • getWeeeAmountInvoiced()
  • getBaseWeeeAmountInvoiced()
  • getWeeeTaxAmountInvoiced()
  • getBaseWeeeTaxAmountInvoiced()
  • getWeeeAmountRefunded()
  • getBaseWeeeAmountRefunded()
  • getWeeeTaxAmountRefunded()
  • getBaseWeeeTaxAmountRefunded()
  • getTotalAmounts()
  • getBaseTotalAmounts()
  • isDisplayIncl()
  • isDisplayInclDesc()
  • isDisplayExclDescIncl()
  • isDisplayExcl()
  • getTaxDisplayConfig()
  • getWeeeAttributesForBundle()
  • _resetState()