From a2334a70b30a3dc92bc42250977b86a680419b93 Mon Sep 17 00:00:00 2001 From: PhpMadman Date: Mon, 2 Oct 2017 10:11:43 +0200 Subject: [PATCH] [*] CO: Only show available currencies based on id_shop When using multistore even currencies not enabled for that shop group was displayed. --- controllers/front/payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/front/payment.php b/controllers/front/payment.php index aa799b9..1b64395 100644 --- a/controllers/front/payment.php +++ b/controllers/front/payment.php @@ -46,7 +46,7 @@ public function initContent() $this->context->smarty->assign(array( 'nbProducts' => $cart->nbProducts(), 'cust_currency' => $cart->id_currency, - 'currencies' => $this->module->getCurrency((int)$cart->id_currency), + 'currencies' => Currency::getCurrenciesByIdShop((int)$cart->id_shop), 'total' => $cart->getOrderTotal(true, Cart::BOTH), 'this_path' => $this->module->getPathUri(), 'this_path_bw' => $this->module->getPathUri(),