Helper
Reorder
Magento\Sales\Helper\Reorder
What it does
This helper class manages reorder functionality in Magento 2's Sales module.
Developers use it to check if the reorder feature is enabled in store configuration and whether a specific order can be reordered by verifying both system settings and order-specific conditions.
It provides a centralized way to validate reorder permissions before allowing customers to reorder items from their order history.
Public Methods
- isAllow()
- isAllowed()
- canReorder()