3

The product that was requested doesn't exist. Verify the product and try again. error on checkout page Magento 2

1
  • run indexing command and try again Commented Oct 13, 2022 at 11:11

2 Answers 2

0

This error comes from an exception given by this path vendor/magento/module-catalog/Model/ProductRepository.php line 308 $product->load($productId); if (!$product->getId()) { throw new NoSuchEntityException( __("The product that was requested doesn't exist. Verify the product and try again.") ); }

Go to exception because it doesn't find the productId, if it's there first and it doesn't find it after, it must be a problem with an external module, try disabling it and reindexing and caching, you should solve it.

0

This might happen when a product that was previously ordered, or it maybe in the cart - has since been removed from the shared catalog.

To prevent the error, you should return it to the catalog, and disable the product. Magento handles disabling of products much better than it does removing from Catalog.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.