ATG Consumer Commerce includes an inventory system adapter that provides an API to determine if an item is in stock, back-ordered, or pre-ordered. That is, ATG Consumer Commerce provides a set of Inventory interface classes that can be implemented to provide inventory functionality. ATG Consumer Commerce ships with an example that is a repository-based inventory system. See the Inventory Framework chapter in the ATG Commerce Programming Guide for more information.

Since the repository is provided by ATG Consumer Commerce (as an instance of a GSA repository), we were able to use the existing component: /atg/commerce/inventory/InventoryRepository and the inventory XML schema: /atg/commerce/inventory/inventory.xml. We simply used the ACC to enter information into the repository. We supplied inventory information for only a few examples of the products in the Pioneer Cycling store; for other products, the inventory information displays as “unknown.”

 
loading table of contents...