Link to User points

  • Posts: 94
  • Thank you received: 0
6 years 10 months ago #272110

-- HikaShop version -- : 3.1.0
-- Joomla version -- : 3.7.2

Hi, is there a way to link / show the customer's user points in their user control panel or as a direct link?
Thank you

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 10 months ago #272149

Hello,

If you're using the HikaShop user custom field ; you can see to display that field (as read-only) in the front-end.
Otherwise, you would have to use a view override (and a bit of PHP) to display the value where you want to display it.

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.
The following user(s) said Thank You: GB11

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

  • Posts: 94
  • Thank you received: 0
6 years 9 months ago #272217

Thank you. Can you advise how to do that in the front end? Yes, I am using the custom field.

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
6 years 9 months ago #272220

Hi,

In the HikaShop user synchronization plugin, that you can edit via the Joomla plugins manager, you'll find an option to display the custom user fields on the Joomla profile edition page that you can reach when on click on the profile link of the HikaShop user control panel.
Note that you'll want to turn on the "read only" setting of the field itself.

The drawback though is that you won't be able to change the points in the backend either if you do that.
So I do think that the best would be to customize the Joomla profile page to include the display of the points.
You would have to edit the Joomla profile page and add custom code there to load the user custom field value and display it.
So it's not that easy and would require a developer to do that customization for you I'm afraid.

Last edit: 6 years 9 months ago by nicolas.

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

  • Posts: 94
  • Thank you received: 0
6 years 9 months ago #272282

Thanks.
Perhaps something for a future update ;)

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

  • Posts: 94
  • Thank you received: 0
6 years 8 months ago #275616

So it's not that easy and would require a developer to do that customization for you I'm afraid.


How would I go about getting a price for this to be done?

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 8 months ago #275619

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.
The following user(s) said Thank You: GB11

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

  • Posts: 117
  • Thank you received: 6
5 years 11 months ago #292083

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.

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

Time to create page: 0.078 seconds
Powered by Kunena Forum