is there any menu item for show point?

  • Posts: 210
  • Thank you received: 7
3 days 23 hours ago #367137

hi
is there any menu item for show point?
or how can i show to user how much point he has?

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

  • Posts: 83811
  • Thank you received: 13571
  • MODERATOR
3 days 16 hours ago #367140

Hi,

By default the points are displayed at the top of the user control panel on the frontend.
So you can create a menu item of the type HikaShop user control panel via the Joomla menu manager in order to access it.
If you don't see the points area there, it's possible that you deactivated the display setting in the settings page of the HikaShop user points plugin via the Joomla plugins manager.

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

  • Posts: 210
  • Thank you received: 7
3 days 16 hours ago #367141

is it possible use any module ? or can you give a simple code to get that? is it enough to show raw point value from point column of user table or there is any calculation on it? for example convert to any currency ?

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

  • Posts: 83811
  • Thank you received: 13571
  • MODERATOR
3 days 13 minutes ago #367143

Hi,

There is no ready-made module.
But, yes, you can just show the raw value of the user_points column in the hikashop_user table for the current user.
The code is quite simple:

$user = hikashop_loadUser(true);
echo $user->user_points;

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

Time to create page: 0.046 seconds
Powered by Kunena Forum