There's also a satchmo_cart_add_verify signal: you can listen to that, and if you raise a particular exception in the listener (can't think off the top of my head what it's called -- something like CartAddProhibited), the user won't be able to add it to the cart.
On Sep 6, 8:47 am, Dan Gentry <[email protected]> wrote: > Thanks Marc. Both are good things to try. > > On Sep 6, 3:17 am, "Dierckx, Marc" <[email protected]> > wrote: > > > > > > > > > Hi, > > > if you do not want to display the product that are sold, add a {% if > > product.stock > 0 %} condition in the (product.html) template to only show > > products that are available > > > regards, > > > marc > > > ________________________________ > > > Von: [email protected] im Auftrag von Dan Gentry > > Gesendet: Mo 05.09.2011 17:11 > > An: Satchmo users > > Betreff: Re: Works of Art > > > I'm also open to other suggestions. My goal is to not have a customer > > try to put a sold item in the cart before being told it isn't > > available. > > > -- > > 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 > > athttp://groups.google.com/group/satchmo-users?hl=en. > > > winmail.dat > > 5KViewDownload -- 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.
