Jump to content

BO AdminCart error: Price specification not found for currency: ""


Rajesh KG

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...