I tried to implement that some time ago and it was a terrible pain.

As Dave says, you have to do the AJAX call in Javascript in the template. And 
you have to be very careful about the cross-site request forgery token (you 
have to include an special tag into your templates and get its value via DOM). 
On the other hand, it seemed that the user session was not the same one for 
AJAX calls and for regular non-AJAX calls, to getting the information from the 
cart can be tricky.

Just what I remember right now, by the way. Probably I am confused about some 
details.

Pablo Casado
---
[email protected]
@hardlifeofapo
Skype: p.casado

On 27/07/2012, at 13:43, Dave Brown <[email protected]> wrote:

> I don't have ajax on the cart screen, but have it on the floating cart - 
> Europeanpaper.com
> 
> There are already calls in place to add/remove, adjust qty all via ajax - you 
> just have to implement it in the template.
> 
> Dave
> 
> 
> On Thu, Jul 26, 2012 at 7:29 PM, Tom Longson (nym) <[email protected]> wrote:
> Hey Satchmo-users!
> 
> Has anyone done work building a JavaScript XHR / Ajax version of the view 
> cart screen? It would be great if this was a little more dynamic :)
> 
> Cheers,
> Tom Longson
> ----------------------------------------------------------------------------
> CUPCAKES!! http://www.cupsandcakesbakery.com/
> 
> -- 
> 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.
> 
> 
> 
> -- 
> Dave Brown
> CEO/Founder
> Rampframe.com - Action Sports Network
> 
> -- 
> 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.

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