cancel
Showing results for 
Search instead for 
Did you mean: 

There has been an error processing your request

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

There has been an error processing your request

Hello,

 

I am trying to add new URL in multiple Webiste/store for Checkout page.

Error .jpg

 

$cart = $objectManager->get('\Magento\Checkout\Model\Cart');

            $productRepository = $objectManager->create('Magento\Catalog\Api\ProductRepositoryInterface');

            $params = array(
                'product' => '435',
                'qty'     => '1',
            );
            $_product = $productRepository->getById('435');
            $cart->addProduct($_product, $params);

            $cart->save();

Thanks

1 REPLY 1

Re: There has been an error processing your request

Hi @siddhant _jain ,

 

Can you check into var/report the file with the same name than the Errpr log record number?

Inside that file you'll get the description of the error.