Support » Plugin: License Manager for WooCommerce » How to set purchase limit to the number of license keys

  • Resolved charafweb


    Hi Drazen Bebic (@drazenbebic),

    Thank you very much for your plugin. This kind of addon is very rare.

    I have one request/question: is it possible to set a product purchase limit to the number of license keys?
    For instance: Let’s say I have a product “A” that has 10 licenses. When all those licenses are sold-out, I want the product to be showing as “Sold-out” / “Not available”.

    I made an experiment: I tried to buy 12 units of the product “A” (knowing that there are only 10 licenses), and the operation finished successfully. I was thinking it will throw an error like there is “not enough units of that product” or a message like that…

    Thank again

Viewing 1 replies (of 1 total)
  • Plugin Author Drazen Bebic


    Hello @charafweb,

    thank you for your message and for using my plugin.

    For this purpose you already have the WooCommerce stock management. It will help you do exactly what you’re trying to accomplish. Currently the plugin doesn’t update the stock automatically if you add new license keys, so you’ll have to do that manually (for now, this feature is also coming).

    If you need help setting it up, let me know.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.