sale a product with poits

  • Posts: 719
  • Thank you received: 3
10 years 8 months ago #185856

-- HikaShop version -- : 2.3.5

Hi,
is there a way to have the price of a product on points?
I mean i'd like to have the price of some product on EUR and just some on points.


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 13201
  • Thank you received: 2322
10 years 8 months ago #185857

Hi,

You can potentially create a new currency for the points, and then apply this currency on the product in the product edition page.

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

  • Posts: 719
  • Thank you received: 3
10 years 8 months ago #185953

Hi,
yes, i had thought that but how about the update of the points?


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 8 months ago #185964

What do you mean ? If you have a "points" currency, you can enter the price of the products with that point currency and change it by editing the product.

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

  • Posts: 719
  • Thank you received: 3
10 years 8 months ago #186035

Hi,
i mean how can i do to take away the points of the user from AlphaUserPoints system?
Also there will be the case which the users buy the product with points and the products with EUR also!


my site with Hikashop
www.lacasettabio.it
Last edit: 10 years 8 months ago by lacasetta.

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 8 months ago #186037

Hi,

You can configure the HikaShop user points payment plugin via the menu System>Payment methods if you want to allow your users to pay with points.
And if you want your users to be able to purchase only some products with their points, you can create two different warehouses and each type of product, have two sets of shipping methods for each warehouse, and then set the other payment methods to the set of shipping methods relative to the warehouse of the products to be paid with this payment method and set the user points payment method to be limited to the other set of shipping methods.

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

  • Posts: 719
  • Thank you received: 3
10 years 8 months ago #186089

Hi,
now i have a pay with points plugin enable to give a discount with 100 points.
Can i enable a second plugin to handle the product of the second warehouse?


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 8 months ago #186098

Hi,

You can create as many instances of payment plugins as you want. So yes, you can have several "pay with points" payment methods if that's necessary.

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

  • Posts: 719
  • Thank you received: 3
10 years 8 months ago #186204

Hi,
so i made a test restricted to superuser:
-I created a new currencie called PNT and i set the rate=0.0000
-I created a warehouse called points products
-I created a new product and set the warehouse to "points products" and the price to buy it PNT 75.
-I created a new shipping method called "shipping points" and i set the shipping cost = 0.0000. Also i set one restriction on warehouse = "points product"
-I created a new payment method with "HikaShop User Points payment plugin" called "buy with points" And i set only one restriction shipping method="shipping points". You can see it on my screenshot attached here.

Now, on my frontend i buy a normal product with EUR and one product with PNT.
On checkout, step shipping method, i have the methods to ship the EUR product (that i have to choose) and the method to ship the PNT product auto-selected because it is free.
Untill then it is ok!
The problem is on the payment step:
i can choose the payment to EUR product but i don't see the PNT payment.
If i confirm the order and set it payed on AlphaUserPoint i have that the system gives me the points for my purchase of the EUR product but the system doesn't remove the points for the purchase of the PNT product.


my site with Hikashop
www.lacasettabio.it
Attachments:

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 8 months ago #186319

Hi,

By design, it don't think that it will be possible.
When you want to pay, you just have one single payment method for the entire order and this order have only one currency.
You can change dynamically the currency (using the currency switcher) but you can't say that some products are in EUR and the other in PNT ; all will be in the same currency and the price will be converted if required.

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: 719
  • Thank you received: 3
10 years 8 months ago #186385

Hi,
maybe i found a solution and it seems to work. :ohmy:
But now i'm stopped when the 2 plugins "HikaShop User Points payment plugin" have to work together.
Hikashop don't sum the two point costs but just the first one like ID.
I mean that if the first "HikaShop User Points payment plugin" plugin have to remove (for example) 20 points and the second one have to remove 30 points, Hikashop removes only 20 points, while it should remove 50 points !
:(


my site with Hikashop
www.lacasettabio.it
Last edit: 10 years 8 months ago by lacasetta.

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

  • Posts: 719
  • Thank you received: 3
10 years 8 months ago #186408

I'm testing with only one "HikaShop User Points payment plugin" and i discovered that the restrictions of zone, shipping method and currency do not work. I mean that there is any restriction.
Is it my fault or that does not work on your end too?


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 7 months ago #186521

Hi,

Yes, that's right.

When I started to rewrite the "alpha user points" plugin to split it into two different plugin ; I had to keep the retro-compatibility in order to propose the exact same features.
Some of these features are generating some troubles for the plugin structure.
So it's possible to create several instances to earn points, and they can be aggregated ; but for the payment part, that's not possible for the moment.
Due to some troubles when having several payment plugin (in virtual coupon mode), I place a limitation which is hard coded in the plugin.

About the restrictions, the "payment user point" use the same restriction system than other payment plugins.
In virtual coupon mode, the restrictions are still use ; the only difference is that the payment method is not display in the list, it just create the additional.

I wish I could have time to work on a plugin because it is things I want to implement for HikaPoints.

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: 719
  • Thank you received: 3
10 years 7 months ago #186587

Hi,
you said that if i set the "Use virtual coupon" on YES the restrictions work; isn't it?
If yes i think that there is something wrong on my site .
I test it on my payment points plugin that i use for about two years without restrictions.
The shipping, zone and currency restrictions have not effect.
You can see the configuration of the plugin on my screenshot
could you check it on your end please?
thanks
regards


my site with Hikashop
www.lacasettabio.it
Attachments:

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 7 months ago #186718

Hi,

Depending the configuration of the plugin, with the virtual coupon you can use the restrictions yes.
But I made a lot of test and I found some configuration which are not compatible with the restrictions ; specially when you let the customer choose to use or not his points (because it does not go though the payment listing).
So ; after around 3 hours of development I got some things working ; but I have a lot of messages to reply and I can't spend more more time on that for the moment.
If you want the test plugin with the modifications ; please send us an email though the "contact us" form.

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: 719
  • Thank you received: 3
10 years 7 months ago #186798

Hi,
indeed i let the users to choose the use of the points.
I'm sorry about your time spent cause me!
But i just ask to use the plugin like it seems to be.
Maybe other users will thank you about the issue.
So, i'm going to ask for the file via email.
Thanks a lot!
Best regards


my site with Hikashop
www.lacasettabio.it
Last edit: 10 years 7 months ago by lacasetta.

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 7 months ago #186829

Hi,

I'm sure that the features will interest some other users.
It's just that the plugin have two modes (payment method / virtual coupon) which are too different ; I should have separate them, find something else or just stop the "payment method" mode...
So when I want to modify one single little line in the plugin, I have to made dozen of different test in order to be sure that it does not have impact with the specials options (like the "virtual points" option which is insane).

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

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

  • Posts: 719
  • Thank you received: 3
10 years 7 months ago #187224

Hi Jerome,
i made a lot of test with your new "UserPoints Payment Plugin".
And now the currency and zone restrictions work.
The shipping restriction does not work.

For buy some products with points and other with EUR (all togheter) i give up! :blink:
With the plugins we have today it is impossible .

I hope you'll write this on your todo list! ;)

Thanks a lot for your help and time spent.
Regards


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 7 months ago #187244

Hi,

The shipping restriction does not work.

Ah yes that's right ; there is no code for that in the plugin.

For buy some products with points and other with EUR (all togheter) i give up! :blink:

There are too many possibilities and too many questions for a feature that you can write in a single small line.
Does a product which can be bought by points can be bought with some real money ?
If the user want to use his points to buy some products and they are several different rules (for different products) how does the plugins should read ? Depending that one could ask for a partial sum of the user points and the other won't have enough points for his rules if the first one use the points... Does the priorities should really count ? Maybe the user could choose which products ? But if they are different rules for the same product (one for the product, another for the category, or maybe two for the products but with different restrictions) ?!
It is definitively not something easy to implement and you can be sure that I passed a lot of hours thinking about it ; writing ideas on paper ; discarding some, tearing other...

So yes, it's already in my TODO list for HikaPoints, with a lot of other funny features.

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: 719
  • Thank you received: 3
10 years 7 months ago #187273

For what I could understand thinking and doing many tests, I think the right way is to enter the product price only with the currency points.
But the problem is that the current plugin "userpoint payment" has always rate: 1point = ??? EUR. In this way, the plugin does pay also products that are in EUR. And if you set the value restriction on POINT it does not work because the value of the shop is EUR.
My best wishes for a beautiful new plugin!
:)


my site with Hikashop
www.lacasettabio.it

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

Time to create page: 0.091 seconds
Powered by Kunena Forum