59 if ($this->scopeConfig->getValue(
60 self::XML_PATH_SALES_REORDER_ALLOW,
77 $order = $this->orderRepository->get($orderId);
81 if ($this->customerSession->isLoggedIn()) {
82 return $order->canReorder();
__construct(\Magento\Framework\App\Helper\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Sales\Api\OrderRepositoryInterface $orderRepository)
const XML_PATH_SALES_REORDER_ALLOW