Skip to main content
Easy Digital Downloads Documentation
Documentation, Reference Materials, and Tutorials for Easy Digital Downloads

Limit the number of times a product can be purchased

In general, digital products do not have a need for stock control, but on occasion, such as for users selling tickets or other “digital” items that have a limited quantity, the ability to limit the total number of times a product can be purchased, can be very helpful.

The core Easy Digital Downloads plugin does not support stock tracking by default, but there is a simple extension that adds this feature.

First, you will need the Purchase Limit extension. Once you have purchased and installed the extension, go to the edit screen of the product you wish to set a purchase limit on.

There are two ways to limit the purchase count for products:

1. For the entire product when using a single price option
2. For individual price options when using variable prices

If using a single price option, you will have a new input field that looks like this:

Screenshot from 2013-10-25 15:06:12

If using variable prices, you will have an input field added to each individual price:

Screenshot from 2013-10-25 15:08:13

When you set a purchase limit, either for the entire product or for individual prices, and that limit is reached (meaning that many customers have purchased it), new customers will no longer be allowed to purchase the item.

Variable price options will display as sold out:

Screenshot from 2013-10-25 15:10:27

Single price products will have their entire purchase button changed to “Sold Out”:

Screenshot from 2013-10-25 15:11:21

If you wish to change the text that is displayed for sold out options, you can go to  Downloads > Settings > Extensions and set your own text there.

Read our latest blog post:
Add More Stripe Payment Methods at Checkout