Checking user points

  • Posts: 16
  • Thank you received: 0
  • Hikashop Business
6 years 2 months ago #286284

-- url of the page with the problem -- : petdream.hu
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3

Hi,

Is it possible for a customer to check how many user points he/she has without buying anything?

Thanks
László

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 2 months ago #286288

Hello,

It would depend on the used point system.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 16
  • Thank you received: 0
  • Hikashop Business
6 years 2 months ago #286355

Hi,

We are using the "user_points" custom field.

Thanks
László

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

  • Posts: 4486
  • Thank you received: 609
  • MODERATOR
6 years 2 months ago #286370

Hello,

Unfortunately right now with custom field that's not possible... But that can be easily customisable to have on the frontend thanks to this kind of code :

echo hikashop_loadUser->user_points

You can add this kind of code in your required view to display it on the frontend.

Note : Have a look on this tutorial to learn how to use the override system able you to custom frontend view.

Sorry for this return.

Regards

Last edit: 6 years 2 months ago by Philip.
The following user(s) said Thank You: hlsystem

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

  • Posts: 117
  • Thank you received: 6
5 years 10 months ago #292081

Hello! I've created a little module to show points from user_points custom field based on Jerome and Nicolas tips. Anybody can download it here :)


Sorry for my English, it's not my native language.
Last edit: 5 years 10 months ago by alin.
The following user(s) said Thank You: khotso

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

Time to create page: 0.073 seconds
Powered by Kunena Forum