django shopping cart as a beginner

Posted by Jacques Knie on Stack Overflow See other posts from Stack Overflow or by Jacques Knie
Published on 2011-02-20T13:10:07Z Indexed on 2011/02/20 15:25 UTC
Read the original article Hit count: 435

Filed under:
|

Hi, i'm quite new to django and trying to add a shopping cart to a simple webshop. What I need is a simple cart that can be filled and presents its content, which is then sent to the vendor via email. So Satchmo might be too big for this task. Therefore i chose django-cart (http://code.google.com/p/django-cart/) which causes some problems now.

1. Is django-cart the right thing? Or are there any better approaches to this task?

2. As I am a beginner even django-cart makes me struggle. I used the view and the template of the django-cart-website, but writing a form that can be used to add products to the cart took me hours. I probably need help in understanding the general layout of a shopping cart and its integration into a website.

3. Two more specific questions: Is it possible to dynamically populate a formfield in a template (e.g. with {{ object.id }})? Is django-cart able to change (update) the contents of a cart?

I hope it's not too many questions at once.

Thanks in advance Jacques

© Stack Overflow or respective owner

Related posts about django

Related posts about django-forms