Remove BUY button for sold items

Items checked as Limited quantity in the admin section will no longer display the BUY button when sold out.

Check the item as Limited quantity

When the For sale and Price fields are switched on, there should be a Limited quantity checkbox next to each image. Check this, and set the Number available.
When the available quantity of an item is purchased, the BUY button will no longer display.  If you are using for checkout, the additional steps below are required.

Items sold via Mals-e checkout

If you use (for adding shipping and tax) for checkout the PayPal Instant Payment Notification option will need to be enabled within your PayPal account like so:
When setting this up, you will be asked for an IPN URL.  It is:

Replace with your actual domain.

NOTE: When using, you must also use the "PayPal Commerce Platform" option within your account for the auto-removal to work.