Log in
Model

OrderedProductAvailabilityChecker

Magento\Sales\Model\Order\Reorder\OrderedProductAvailabilityChecker

What it does

This class checks if products from a previous order can be reordered based on their product type.

Developers use it during the reorder process to validate product availability, especially for complex product types like configurable or bundle products.

It acts as an extensibility point where custom availability checkers can be injected via dependency injection for different product types.

Public Methods

  • isAvailable()