shopping cart

102 views
Skip to first unread message

Daniel Fetchinson

unread,
Mar 18, 2011, 11:23:41 AM3/18/11
to turbogears
Hi folks,

I know it was asked a couple of times already and I've searched around
and found basically nothing so just checking in whether anyone knows
of a shopping cart solution or any other typical part of an ecommerce
solution based on tg that was perhaps developed since this question
came up last time.

Cheers,
Daniel


--
Psss, psss, put it down! - http://www.cafepress.com/putitdown

Alessandro Molina

unread,
Mar 19, 2011, 10:23:41 AM3/19/11
to turbo...@googlegroups.com
I have one that I'm going to release in a few days. It supports
payment by using paypal.
Let me put it somewhere and I'll give you the link.

> --
> You received this message because you are subscribed to the Google Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com.
> To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.
>
>

Alessandro Molina

unread,
Mar 19, 2011, 10:41:07 AM3/19/11
to turbo...@googlegroups.com
On Sat, Mar 19, 2011 at 3:23 PM, Alessandro Molina
<alessand...@gmail.com> wrote:
> I have one that I'm going to release in a few days. It supports
> payment by using paypal.

In the meanwhile you can fetch it from here:
hg clone http://repo.axant.it/hg/stroller

You might find some bugs as it has not been tested on production and
it is a spare time project.
It is implemented as a library, to make it work inside your
application you must add:

INSIDE MODEL.PY
from stroller.model import init_stroller_model
Product, ProductInfo, Category, Order, OrderItem =
init_stroller_model(DBSession, DeclarativeBase)

INSIDE HELPERS.PY
from stroller.helpers import stroller_url, icons, category_icon

INSIDE WEBSETUP.PY
from stroller.model import setup_stroller_database
from stroller.model import init_stroller_model

init_stroller_model(DBSession, DeclarativeBase)
setup_stroller_database(DBSession, DeclarativeBase, User, Group)

INSIDE ROOT.PY
from stroller.controllers.ecommerce import StrollerController
**inside the rootcontroller**
shop = StrollerController()

you should then be able to access it from the /shop url of your
application. I'm sorry for the lack of documentation but as I said it
has been developed in a weekend rush and still pending some love
before a stable release :D

If you have any problem let me know

Daniel Fetchinson

unread,
Mar 19, 2011, 12:18:47 PM3/19/11
to turbo...@googlegroups.com

Hi, thanks a lot, this looks really great!

It uses tg2 and sqlalchemy, right? In the first approximation I was
looking for something for tg1 and sqlobject, but your solution also
helps because I can try porting it to tg1 and so. Or I can think about
moving finally to tg2 and sa? Maybe although I'm not sold on this idea
yet :)

Diez B. Roggisch

unread,
Mar 19, 2011, 4:08:09 PM3/19/11
to turbo...@googlegroups.com
> It uses tg2 and sqlalchemy, right? In the first approximation I was
> looking for something for tg1 and sqlobject, but your solution also
> helps because I can try porting it to tg1 and so. Or I can think about
> moving finally to tg2 and sa? Maybe although I'm not sold on this idea
> yet :)

go use SA. Really. I appreciat Oleg's work with SO, but SA is one of
the most outstanding ORMs and SQL toolkits in existence. Not only code-
wise, but also regarding documentation & support.

TG1 or TG2 don't matter, especially now that Pyramid is out there -
neithe is "the latest and greatest", but of course they work just fine.


Diez

Raj

unread,
Nov 5, 2012, 1:35:00 AM11/5/12
to turbo...@googlegroups.com
Planning to develop an e-commerce application.
Please express your honest opinions regarding developing it in   
What are the challenges I need to overcome and how much time (approx) it will take to complete if we are using TG ?
What is the current status of this stroller?
Do any web sites using this now?

Mengu

unread,
Nov 5, 2012, 12:31:01 PM11/5/12
to TurboGears
hi raj,

turbogears is a scalable framework so you can happily build an e-
commerce application with it. the plus side is within the upcoming
releases there will be performance improvements. if you are asking for
a developer perspective, i honestly cannot think why one wouldn't
develop an e-commerce app with tg2. as i am developing one nowadays.

the challenges you need to overcome with an e-commerce application is
your database design. after that everything will be built around it. i
believe if you plan accordingly and well, have your initial design
ready, you can build it in 2 months but this applies to any other tool
as well. 2 months may seem long however it is not. i suggest you give
it 3 months and have every single detail working.

On Nov 5, 8:35 am, Raj <www.raj....@gmail.com> wrote:
> Planning to develop an e-commerce application.
> Please express your honest opinions regarding developing it in +TurboGears
> What are the challenges I need to overcome and how much time (approx) it
> will take to complete if we are using TG ?
> What is the current status of this stroller?
> Do any web sites using this now?
>
>
>
>
>
>
>
> On Saturday, March 19, 2011 8:11:07 PM UTC+5:30, Alessandro Molina wrote:
>
> > On Sat, Mar 19, 2011 at 3:23 PM, Alessandro Molina
> > <alessand...@gmail.com <javascript:>> wrote:
> > > I have one that I'm going to release in a few days. It supports
> > > payment by using paypal.
>
> > In the meanwhile you can fetch it from here:
> >   hg clonehttp://repo.axant.it/hg/stroller

zhan zou

unread,
Nov 5, 2012, 10:32:17 PM11/5/12
to turbo...@googlegroups.com, fetch...@googlemail.com
how about "http://pypi.python.org/pypi/shoppingCart/1.3.0"
I decide to use it to develop.

在 2011年3月18日星期五UTC+8下午11时23分41秒,Daniel Fetchinson写道:

Alessandro Molina

unread,
Nov 6, 2012, 5:13:20 AM11/6/12
to TurboGears .
Around an year ago I released the little eCommerce project I was talking about previously in this thread.
I don't have much time to bring it forward, but was fairly complete and supported pluggable interface, if anyone is interested in using it I'm glad to hear any feedback.


I'm not sure it works with 2.2, last time I had to use it was on 2.1, but should be fairly easy to migrate it in case.

--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To view this discussion on the web visit https://groups.google.com/d/msg/turbogears/-/qWlVn56qNfAJ.
Reply all
Reply to author
Forward
0 new messages