Log in
Model

OrderInfoBuyRequestGetter

Magento\Sales\Model\Reorder\OrderInfoBuyRequestGetter

What it does

This class retrieves and processes the buy request information from an order item, specifically handling custom product options during reorder operations.

It unserializes stored custom option values and reconstructs the original purchase request data, making it ready for adding the product back to cart.

Developers use this when implementing reorder functionality to ensure custom options are properly restored.

Public Methods

  • getInfoBuyRequest()