Log in
Model

Decimal

Magento\Catalog\Model\Layer\Filter\Decimal

What it does

This class provides decimal attribute filtering functionality for Magento 2's layered navigation.

Developers use this filter to enable customers to filter products by decimal-based attributes (like weight, dimensions, or custom numeric values) using range-based selections.

It handles applying the filter to product collections and rendering the filter options with proper formatting in the catalog layer.

Public Methods

  • apply()