Skip to main content

How can i retrieve the customer ID?

More
13 years 5 days ago #125159 by claudio.reyes
-- url of the page with the problem -- : consenti2.mx
-- HikaShop version -- : 2.2.1 business
-- Joomla version -- : 3
-- PHP version -- : 5

i wish to use this piece of code $this->partner_id in a html custom module in order to display the hikashop Customer ID. Is there a way to do this?

Please Log in or Create an account to join the conversation.

More
13 years 5 days ago #125188 by Xavier
To have the ID of the current customer, you can use the function "hikashop_loadUser()", this return the id.
If you use "hikashop_loadUser(true)" it will return all the user object.

Please Log in or Create an account to join the conversation.

Time to create page: 0.168 seconds
Powered by Kunena Forum