Merge pull request #1542 from sumitwebkul/gli-2774

Updated: Error message for not found products in front office
This commit is contained in:
Rohit Jain
2025-07-03 20:04:14 +05:30
committed by GitHub

View File

@@ -1062,7 +1062,7 @@ class CartCore extends ObjectModel
}
if (!Validate::isLoadedObject($product)) {
die(Tools::displayError());
die(Tools::displayError('Some products are not found. Please refresh the page.'));
}
if (isset(self::$_nbProducts[$this->id])) {