Hi guys,
   Currently, I need to place an button(suppose named button1) on each 
product box within category product list page.
So, when user click the button, directly add the bound product to shopping 
cart, and then, the cart icon placed some place else refresh items number 
currently have in cart.

So, I think for the button1, I need to send ajax request to add product to 
cart.
Is there any existing url for adding product to cart? And, how to make cart 
icon display items number in real-time?

If there is no such url, I need to write by myself, I see for Cart model, 
one method named 'add_item', need to call this guy, eh?

Any suggestion or general direction is appreciated.

Thanks.
Wesley

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to