• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

7. IPN and PDT > 78. Manage Your Inventory with IPN

Manage Your Inventory with IPN

Indicate whether the products on your web site are in stock using up-to-date inventory data maintained by some add-ons to your IPN processing script.

Merchants who sell tangible goods typically don’t have an unlimited supply of any item. When you sell out of something, you might no longer want it to appear on your web site: you can’t sell what you don’t have. Managing inventory counts for each order and updating your web pages accordingly can be a time-consuming and tedious process, but it can be mostly automated with PayPal’s IPN system.

This hack consists of a database table, tblProducts, that holds our inventory count, an IPN processing page that manages the count, a web page that displays an out-of-stock message when appropriate, and an email notification to alert you when the inventory count for a particular item is running low (or has been depleted).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint