Log in
Model

OrderInfoBuyRequestGetter

Magento\Sales\Model\Reorder\OrderInfoBuyRequestGetter

What it does

This class retrieves and processes product configuration data (buy request) from order items when customers reorder products.

It handles custom product options by unserializing stored option values and prepares the data structure needed to add products back to the cart.

Developers use this during reorder functionality to reconstruct the original product configuration from a previous order.

Public Methods

  • getInfoBuyRequest()