django shopping cart as a beginner
- by Jacques Knie
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