Reducing stock quantity when an order is confirmed

Author Message

Felix Laate

Thursday 01 September 2005 5:49:31 am

Hi all!

I'm doing (after all these years) my first ez shop. Each product has an attribute "quantity".

What I would like, is that whenever a user confirms an order, this quantity is lowered by one.

I understand that it's possible to hack the kernel to make this work, but this has unwanted consequenses..

I think that I could (in the same way that an object of an class is updated) put some code into the "confirmorder-template" that achieves this.

Has anyone done similar things? And do they want to share the experience(s)?

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.