Rajesh KG Posted December 8, 2023 Share Posted December 8, 2023 In my Backoffice when I click on carts (abandon carts) I get all of nothing an error since today. I tried to figure out whats the issue, without success. How to solve it. This is the error message: Price specification not found for currency: "" [PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException 0] When I activate debug I see this: public function getPriceSpecification($currencyCode) { $currencyCode = (string) $currencyCode; $priceSpec = $this->priceSpecifications->get($currencyCode); if (null === $priceSpec) { throw new LocalizationException('Price specification not found for currency: "' . $currencyCode . '"'); } return $priceSpec; } Locale->getPriceSpecification() in src/Core/Localization/Locale.php (line 154) Locale->formatPrice() in classes/Cart.php (line 2057) CartCore::getTotalCart() in controllers/admin/AdminCartsController.php (line 908) AdminCartsControllerCore::getOrderTotalUsingTaxCalculationMethod() in classes/helper/HelperList.php (line 374) HelperListCore->displayListContent() in classes/helper/HelperList.php (line 198) HelperListCore->generateList() in controllers/admin/AdminCartsController.php (line 969) AdminCartsControllerCore->renderList() in classes/controller/AdminController.php (line 2210) AdminControllerCore->initContent() in classes/controller/Controller.php (line 306) ControllerCore->run() in classes/Dispatcher.php (line 518) Link to comment Share on other sites More sharing options...
ComGrafPL Posted December 8, 2023 Share Posted December 8, 2023 I would check last orders, carts on database and see currencies tab. Link to comment Share on other sites More sharing options...
Rajesh KG Posted December 8, 2023 Author Share Posted December 8, 2023 (edited) Which tables exactly. What I saw till now is currency ID was correct. Edited December 8, 2023 by Rajesh KG (see edit history) Link to comment Share on other sites More sharing options...
Rajesh KG Posted December 8, 2023 Author Share Posted December 8, 2023 I found it. It was indeed ps_cart Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now