Log in
Model

Reorder

Magento\Sales\Model\Reorder\Reorder

What it does

This class handles the reorder functionality in Magento 2, allowing customers to quickly re-add products from a previous order to their shopping cart.

Developers would use this when implementing custom reorder features or extending the default reorder behavior, such as creating a custom reorder API endpoint or modifying how order items are processed during reorder.

Public Methods

  • execute()