// small fix
This commit is contained in:
@@ -44,8 +44,6 @@ class OrderOpcControllerCore extends ParentOrderController
|
|||||||
$this->context->smarty->assign('is_multi_address_delivery', $this->context->cart->isMultiAddressDelivery() || ((int)Tools::getValue('multi-shipping') == 1));
|
$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->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));
|
|
||||||
|
|
||||||
if ($this->context->cart->nbProducts())
|
if ($this->context->cart->nbProducts())
|
||||||
{
|
{
|
||||||
if (Tools::isSubmit('ajax'))
|
if (Tools::isSubmit('ajax'))
|
||||||
|
|||||||
@@ -46,6 +46,8 @@ class ParentOrderControllerCore extends FrontController
|
|||||||
*/
|
*/
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
|
$this->isLogged = (bool)($this->context->customer->id && Customer::customerIdExistsStatic((int)$this->context->cookie->id_customer));
|
||||||
|
|
||||||
parent::init();
|
parent::init();
|
||||||
|
|
||||||
/* Disable some cache related bugs on the cart/order */
|
/* Disable some cache related bugs on the cart/order */
|
||||||
|
|||||||
Reference in New Issue
Block a user