// Improving adding address with order-opc

This commit is contained in:
mDeflotte
2012-02-13 14:15:23 +00:00
parent 2689906576
commit 981db438d1
5 changed files with 12 additions and 3 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ class OrderOpcControllerCore extends ParentOrderController
if ($this->nbProducts)
$this->context->smarty->assign('virtual_cart', false);
$this->context->smarty->assign('is_multi_address_delivery', $this->context->cart->isMultiAddressDelivery());
$this->context->smarty->assign('is_multi_address_delivery', $this->context->cart->isMultiAddressDelivery() || ((int)Tools::getValue('multi-shipping') == 1));
$this->context->smarty->assign('open_multishipping_fancybox', (int)Tools::getValue('multi-shipping') == 1);
$this->isLogged = (bool)($this->context->customer->id && Customer::customerIdExistsStatic((int)$this->context->cookie->id_customer));