[ic] Where is inventory updated?

Ed LaFrance edl@newmediaems.com
Thu, 19 Apr 2001 09:19:59 -0700

At 12:09 PM 04/19/2001 -0400, you wrote:
>Does anyone know where inventory is updated. I would like to modify how
>interchange modifies the inventory database. It seems as though interchange
>modifies inventory with the line:
>Inventory now: [data table=inventory col=quantity key="[item-code]"
>increment=1 value="-[item-quantity]"]
>However, this line is called in both the etc/log_entree and
>etc/log_transactions files. If this were updating the inventory, wouldn't
>interchange then be decrementing inventory by 2 each time (since the line is
>called once in each file, for a total of two times per transaction)?

Check the route entries in your catalog.cfg file and the mv_order_route 
input tag on ord/checkout.html - chances are only etc/log_transaction is 
being used.

- Ed L.

**** Virtual Hosting w/private IC Installation, $65/month! ****
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax