views:

3801

answers:

5

I'm looking to implement a very basic shopping cart. Satchmo seems to install a lot of applications and extra stuff that I don't need. I've heard others mention django-cart. Has anyone tried this Django app (django-cart)? Anything to watch for or any other experiences?

+5  A: 

I think the reason there aren't really many out-of-the-box solutions is because most people who use Django are power users. They tend to want to roll out their own solutions, especially considering how easy it is to do in Django.

To answer your question, DJwarehouse is the only other cart I'm aware of.

Andrew
DJwarehouse also looks like a good alternative. Thanks!
Ryan Duffield
seems like a serious project.
panchicore
+16  A: 

Well if you want to use django-cart you should view it as a starting point for developing your own. The last commit (r4) for the project was November 2006.

By comparison, the last commit (r1922) to Satchmo was a couple of hours ago.

With Satchmo you get code that is under active development and actually used by real e-commerce sites.

If you develop your own you're running the risk of alienating customers and losing money. If you use Satchmo you can spend more time developing/improving other areas of your site.

I bet you can already guess my recommendation :)

As for the apps and other stuff in Satchmo I can tell you, from personal experience, that you don't need to include them all in your INSTALLED_APPS setting. I don't remember exactly what I pared it down to, but there were only around 6-7 Satchmo apps in my INSTALLED_APPS and they were all ones I needed. I think they've done even more modularization since then.

Van Gale
I was under the impression that it was more difficult to exclude the apps you didn't need. If it can be reduced as you say, then maybe it won't be so bad. Don't worry; the whole reason I posted this is due to my urge to avoid rolling my own custom solution. :-)
Ryan Duffield
According to the project's Google Code page, the old django-cart project has been replaced by another cart app (or utility) hosted at the same Google Code page, so this information may not apply anymore.
TomA
+4  A: 

As mentioned above, Django-cart hasn't been updated in a long time so it is most likely not compatible with Django 1.0 and the more recent versions of Django. For that reason alone, I'd recommend sticking with something more recent.

I'm biased because I'm a dev on Satchmo but I think the feeling of overkill with Satchmo is a bit overblown. You'll probably be surprised at all the things you think you'll want to do with your "simple cart." Soon it may not be so simple.

Worst case, if Satchmo is too much you can yank out the parts you don't care about.

+1  A: 

Seems that a new version of Django-cart has been released on 25th March. http://vaig.be/2009/03/django-cart-released.html

Wonder how the new version fares with respect to Satchmo.

Satchmo has shopping cart, customers, inventory, pricing, shipping (interface to 3 shippers), payments (interface to 7 different payment gateways), discounts, upsell, etc. almost everything to build an e-commerce site. The new django-cart only has shopping cart. Not really useful yet.
Van Gale
Satchmo has also done all the work figuring out where to do caching for best performance and has some limited analytics. The real (potential) competitor for Satchmo was released 27th March: http://code.google.com/p/django-lfs/
Van Gale
Thanks for the link to django-lfs, I will have to check it out.
Ryan Duffield
A: 

I am using django-cart and it is not really an app - it is a start of an app. There are no views, and it totals about 150 lines of code. There is no doc but it is pretty clear how to use most of it. I am a little unsure of the intention of ItemManager or how that is supposed to be used. Comparing it to Satchmo is like comparing a flea to an elephant. They are a little different.

yes but... django-cart does the work if you only want to add/remove a model class to a basket. Is simple solution for minimalistics add-to-basket
panchicore