Any chance you are using caching in part of your templates?

-Chris

On Tue, Jul 21, 2009 at 5:38 PM, Udbhav <[email protected]> wrote:

>
> I'm getting an integer as expected.  The only way I can get rid of the
> error showing up on all product pages is by clearing cookies from my
> browser, or logging out and logging in as another user.  It shows up
> when simply viewing a product page, even if I'm not attempting to add
> a product.
>
> On Jul 21, 6:23 pm, Chris Moffitt <[email protected]> wrote:
> > I'd throw some debugging statements in there to see if the value you're
> > getting for "minimum" is what you are expecting. There could be some
> caching
> > going on but I don't think that's the issue.
> >
> > -Chris
> >
> > On Tue, Jul 21, 2009 at 3:31 PM, Udbhav <[email protected]> wrote:
> >
> > > I have my own product model inheriting from satchmo's, which has a
> > > minimum quantity field.  I've hooked up a listener that checks to see
> > > if the quantity being added to the cart in satchmo_cart_add_verify is
> > > at least equal to the minimum quantity if it's defined.  This all
> > > works fine, the only problem is that once the error has been raised,
> > > it shows up as an error on every product page.  Anybody know what
> > > might cause this, would it have anything to do with my cache?  Here's
> > > my listener code for reference...
> >
> > >http://dpaste.com/hold/69662/
> >
>

--~--~---------~--~----~------------~-------~--~----~
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