Jump to content

Display User/custumer Id In Frontoffice


adressopost

Recommended Posts

I think you will have to assign the id in the blockuserinfo module, hookDisplayNav method. something like
$this->context->smarty->assign('customerID', $this->context->customer->id}

Then in the template, nav.tpl (theme folder, modules, blockuserinfo) have it check if the id is > 0. If so, display it.

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...