How can i retrieve the customer ID?

  • Posts: 2
  • Thank you received: 0
11 years 2 months ago #125159

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #125188

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.065 seconds
Powered by Kunena Forum