Send 1 serial per product ordered not by quantity

  • Posts: 123
  • Thank you received: 7
  • Hikaserial Standard Hikashop Business
1 year 2 months ago #278695

Hello

We have been asked by a client if they can sell a product, which will have x number of licenses depending on the number chosen. However, when a user makes an order through Hikashop they only want to send 1 activation code per product ordered and then licenses will be distributed by a 3rd party application. They also want to have breakpoints for prices depending on the quantity being purchased.

Our main question is: Is there a way to only send 1 serial key per product no matter what the quantity is?

Example
Price breakpoints
1-4: $10
5-20: $8
21-40: $6
41-80: $3

I go to the online store and order the following:

Product A
Quantity: 75
Price: 75x3 = $225
Serials to send: 1

Product B
Quantity: 1
Price: $10
Serials to send: 1

Product C
Quantity: 10
Price: $80
Serials to send: 1

I have ordered 3 products, so I only should receive 3 serial keys - not 86 keys. Is this possible?

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

  • Posts: 23118
  • Thank you received: 3582
  • MODERATOR
1 year 2 months ago #278708

Hello,

You should not use the default feature of HikaSerial but use a plugin like "serial per order".
But that plugin will send X serial per order, not per different product in the cart.
Afterwards, you can use that plugin has a base and create your own custom plugin for your specific requirement.

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: 123
  • Thank you received: 7
  • Hikaserial Standard Hikashop Business
1 year 2 months ago #278828

Hi Jerome,

Thanks for the quick reply. Just to clarify, once the plugin has been published and assigned to a serial pack we need to remove the serial pack assignment within hikashop for each product correct?

Cheers,

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

  • Posts: 23118
  • Thank you received: 3582
  • MODERATOR
1 year 2 months ago #278855

Hello,

If you do not want HikaSerial to generate serials for the products (depending the quantity) ; yes, you have to remove the pack assignation.

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

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

Moderators: Obsidev
Time to create page: 0.061 seconds
Powered by Kunena Forum