Enabling user to use only some of their user points?

  • Posts: 175
  • Thank you received: 0
7 years 2 months ago #277732

-- url of the page with the problem -- : localhost
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.5
-- PHP version -- : -
-- Browser(s) name and version -- : -
-- Error-message(debug-mod must be tuned on) -- : -

Hello, is it possible for user to use their user_points partially?

for example, if user have 10.000 points, but only want to use 2.000 of their points in current purchase, how to do it? I've tried to changing the plugins settings but all of the options are either "use all points" or "dont use user points"

any option to make it so user can use "some of their points"

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 2 months ago #277747

Hello,

The customer can choose to use points or not ; but he cannot choose the amount of points.
It would require some custom development in order to implement such kind of feature.

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: 175
  • Thank you received: 0
7 years 2 months ago #277819

Jerome wrote: Hello,

The customer can choose to use points or not ; but he cannot choose the amount of points.
It would require some custom development in order to implement such kind of feature.

Regards,


Hello

is there any guide where to start such development for the feature?

Thank you

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 2 months ago #277832

Hi,

I would recommend to have a look at the plugins/hikashop/userpoints/ plugin files.
The plugin has a specific "user points" block that can be added to the checkout workflow in order to display a choice to the user to choose or not to use his points. So it would require either tweaking the code of that plugin, or creating another one based off of this one (which I would recommend but is a bit more complex), so that it would have a dropdown or an input field so that the customer could enter the amount of point he wants to use instead of just if he wants to use them or not.

The following user(s) said Thank You: veeco

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

Time to create page: 0.046 seconds
Powered by Kunena Forum