Log in
Model

ProductTotals

Magento\PageBuilder\Model\Catalog\ProductTotals

What it does

This class calculates product totals for Magento 2 PageBuilder's Products content type.

Developers use it to retrieve counts of products matching specific conditions, including total products, disabled products, and products not visible individually.

It handles complex filtering scenarios including category anchors, price conditions, and parent-child product relationships.

Public Methods

  • getProductTotals()