Pay with points default option

  • Posts: 53
  • Thank you received: 2
9 years 11 months ago #182431

-- url of the page with the problem -- : www.vitaking.ro
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.10
-- Browser(s) name and version -- : Firefox 34

Hello,

We are using the Alphauserpoints component in order to let the users be able to pay with points on our site. Problem is the pay with points payment method always starts with substracting the available points. We would like to have this only offering as a possibility to use the available points, and start with the "no" option. Is this possible? Can you give us a hint where to look in order to modify this behaviour?

Regards,
Dezso Markon

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 11 months ago #182433

Hi,

Which payment plugin are you using for the link between HikaShop and AlphaUserPoints.
Please provide some screenshots of the plugin configuration.

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: 53
  • Thank you received: 2
9 years 11 months ago #182472

Dear Jerome,

We are using the Hikashop Alphauserpoints Payment Plugin. But the settings of this plugin has nothing to do with our problem, there is no such setting for what we are trying to do.



Right now when the user selects the checkout page the plugin substracts the available user points from the final total. This is how the page gets displayed, because the default action for the question " Do you want to use your points..... " is YES. We simply want for the default action NO, so if the user wants to use the points he has to choose the YES option.

Regards,
Dezso

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 11 months ago #182491

Hi,

Thanks, now I see what you what to achieve.
There was no option for that in the plugins but I implemented it for the next release.

What I can recommend you to do before the release (which is planned for this month) is to modify the two "user_points" plugins and replace the occurrences of

$app->getUserState(HIKASHOP_COMPONENT.'.userpoints_no_virtual_coupon', 0);
into
$app->getUserState(HIKASHOP_COMPONENT.'.userpoints_no_virtual_coupon', 1);
So you will change the default value for the usage of the points.

With the next version of the plugins, there will have a new setting in the "hikashop / user_points" plugin configuration ; with the setting "Ask for no coupon" to display the special step in the checkout you will also have a setting "Do not use point by default".

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: otx

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

  • Posts: 53
  • Thank you received: 2
9 years 11 months ago #182658

Dear Jerome,

Thank you for your help, I can confirm that this solves the problem. Great help that we will have an option for this in the next edition!

Regards,
Dezso

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

Time to create page: 0.066 seconds
Powered by Kunena Forum