Jump to content
  • 0

Customer ID in Kundenbereich anzeigen lassen


Twilli

Question

1 answer to this question

Recommended Posts

  • 0

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

Edited by Twilli (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...