Log in
Helper

Reorder

Magento\Sales\Helper\Reorder

What it does

This helper class manages the reorder functionality in Magento 2's Sales module.

Developers use it to check if customers are allowed to reorder items from their previous orders, both globally through store configuration and on a per-order basis.

It verifies the system configuration setting and individual order capabilities before allowing a reorder action.

Public Methods

  • isAllow()
  • isAllowed()
  • canReorder()