Log in
Helper

Data

Magento\Catalog\Helper\Data

What it does

This helper class provides core catalog functionality including breadcrumb path generation, retrieving current category/product from registry, tax calculations on product prices, and checking catalog configuration settings like price scope and layered navigation display.

Developers use it when building catalog-related features that need access to current catalog context, price calculations with tax, or catalog configuration values.

Public Methods

  • setStoreId()
  • getBreadcrumbPath()
  • getCategory()
  • getProduct()
  • getLastViewedUrl()
  • splitSku()
  • getAttributeHiddenFields()
  • getPriceScope()
  • isPriceGlobal()
  • isUsingStaticUrlsAllowed()
  • isUrlDirectivesParsingAllowed()
  • getPageTemplateProcessor()
  • shouldDisplayProductCountOnLayer()
  • getTaxPrice()