Jump to content

Edit History

Twilli

Twilli

Gelöst !!

classes/controller/FrontController.php

 

$this->context->smarty->assign(array(
            'id_currency_cookie' => (int)$currency->id,
            'logged'             => $this->context->customer->isLogged(),
            'customerNumber'     => ($this->context->customer->logged ? $this->context->customer->id : false)

        ));

 

 

Das ganze dann in/als override

 

Und in der gewünschten .tpl über

{$customerNumber}

aufrufen

 

Grüße

Twilli

Twilli

Gelöst !!

classes/controller/FrontController.php

 

$this->context->smarty->assign(array(
            'id_currency_cookie' => (int)$currency->id,
            'logged'             => $this->context->customer->isLogged(),
            'customerNumber'     => ($this->context->customer->logged ? $this->context->customer->id : false)

        ));

 

 

Das ganze dann in/als override

 

Grüße

Twilli

Twilli

Gelöst !!

classes/controller/FrontController.php

 

$this->context->smarty->assign(array(
            'id_currency_cookie' => (int)$currency->id,
            'logged'             => $this->context->customer->isLogged(),
            'customerNumber'     => ($this->context->customer->logged ? $this->context->customer->id)

        ));

 

 

Das ganze dann in/als override

 

Grüße

×
×
  • Create New...