If you wouldn't mind submitting a ticket, I'll look at this.

-Chris

On Wed, Oct 28, 2009 at 6:20 PM, Nicolas Miyasato <[email protected]>wrote:

>
> What I did is sth like this.
>
>
> In the login view, after the user has been authenticated, attached to
> the request object the cart.
>
> This is the method (more or less):
>
> def get_cart(request, contact):
>    cart = contact.cart_set.latest('date_time_created')
>    if len(cart): request.session['cart'] = cart.id
>
>
> With that I make sure that if the user had a cart when he last logged
> off, then he gets it back when logging in again.
>
> Thanks,
>
> --
> Nicolás Miyasato (miya)
> http://nmiyasato.blogspot.com
>
>
>
> 2009/10/27 Nicolás Miyasato (miya) <[email protected]>:
> >
> > So I was looking through the forums and found out that somebody
> > already asked about this.
> >
> >
> http://groups.google.com.do/group/satchmo-users/browse_thread/thread/9570425db9d030a3/be5924c4324fe7b4?#be5924c4324fe7b4
> >
> > My question is, during this time, was this written into satchmo or
> > should i roll out my own solution as wgw did?
> >
> > Also, I found a closed bug related to this, however I cannot seem to
> > reproduce. Whenever I logout, the items in the cart are just cleared.
> > So when I log in, all the items that were in the cart are just gone.
> >
> >
> http://bitbucket.org/chris1610/satchmo/issue/214/items-in-cart-lives-to-long
> >
> > Am I missing something here? Any configuration checkbox that i have
> > not found perhaphs?
> >
> > Thanks a lot for your help.
> > --
> > Nicolás Miyasato (miya)
> > >
> >
>
> >
>

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