You could used cart_add_verify to do an additional inventory check before
adding to the cart.

http://www.satchmoproject.com/docs/dev/signals.html

-Chris

On Sun, May 30, 2010 at 5:43 PM, Michal <[email protected]> wrote:

> The use case is - the stock for a given product is 2 items and 5
> shoppers put the same product in their carts and proceed with checkout
> process and place an order. The outcome will be -3 in the
> product.items_in_stock. Looks like the whole inventory tracking
> mechanism is encapsulated in an signal listener attached to
> order_success and there is no validation done anywhere before or even
> here.
>
> So - my question is - what is the best signal to connect to do cart
> verification before it is passed to payment for checkout handling? Or
> maybe there is another way to solve it without modifications to
> satchmo core?
>
> Regards,
> Michal
>
> --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<satchmo-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to