35 Framework\
App\
Config\ScopeConfigInterface $scopeConfig,
68 $this->messageManager->addErrorMessage(
69 __(
"The quote item isn't found. Verify the item and try again.")
71 return $this->resultFactory->create(ResultFactory::TYPE_REDIRECT)->setPath(
'checkout/cart');
74 $params = new \Magento\Framework\DataObject();
76 $params->setConfigureMode(
true);
79 $resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
80 $this->_objectManager->get(\
Magento\Catalog\Helper\
Product\View::class)
89 $this->messageManager->addErrorMessage(
__(
'We cannot configure the product.'));
90 $this->_objectManager->get(\Psr\Log\LoggerInterface::class)->critical($e);
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]