Skip to main content

Enabling user to use only some of their user points?

More
9 years 3 weeks ago #277732 by veeco
-- 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.

More
9 years 3 weeks ago #277747 by Jerome
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.

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

More
9 years 3 weeks ago #277819 by veeco

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.

More
9 years 3 weeks ago #277832 by nicolas
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.169 seconds
Powered by Kunena Forum