Log in
Model

LocaleQuantityProcessor

Magento\Wishlist\Model\LocaleQuantityProcessor

What it does

This class converts locale-specific quantity formats (like European decimal separators) into Magento's internal normalized format for wishlist items.

Developers use this to ensure quantity values entered by users in their local format are correctly processed regardless of their locale settings, preventing errors when adding or updating wishlist item quantities.

Public Methods

  • process()