From e86c56172dad2892d5c7e7dbb0908b0f4ffbaae0 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Mon, 28 Oct 2013 17:42:23 +0100 Subject: [PATCH] [*] FO: Can not establish purchase total when tax incl. --- controllers/front/OrderController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/front/OrderController.php b/controllers/front/OrderController.php index e394ee408..b81556eb4 100644 --- a/controllers/front/OrderController.php +++ b/controllers/front/OrderController.php @@ -58,8 +58,8 @@ class OrderControllerCore extends ParentOrderController { $this->step = 0; $this->errors[] = sprintf( - Tools::displayError('A minimum purchase total of %s is required in order to validate your order.'), - Tools::displayPrice($minimal_purchase, $currency) + Tools::displayError('A minimum purchase total of %1s (tax excl.) is required in order to validate your order, current purchase total is %2s (tax excl.).'), + Tools::displayPrice($minimal_purchase, $currency), Tools::displayPrice($this->context->cart->getOrderTotal(false, Cart::ONLY_PRODUCTS), $currency) ); } if (!$this->context->customer->isLogged(true) && in_array($this->step, array(1, 2, 3)))