the eCart object contains information about the items ordered.
you need to create a loop through the items in the cart, a recordset to lookup the items inventory count, and an update to use for updating the inventory based on the cart quantity.
if you need assistance creating this, we can help in a premiere support appointment.