# E-Commerce, Anyone?

**URL:** <https://www.ruby-forum.com/t/e-commerce-anyone/155819>\
**Category:** Radiant CMS\
**Created:** [December 17, 2008, 8:11am UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819 "2008-12-17T08:11:30Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [December 17, 2008, 8:11am UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/1 "2008-12-17T08:11:30Z")

</div>

I need to build a site with shopping cart functionality and I was hoping  
to develop the site with Radiant. Has anyone built an e-commerce site  
with Radiant? Any ideas, tips or tricks you’d like to share?

Thanks.

---

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [December 17, 2008, 8:35pm UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/2 "2008-12-17T20:35:30Z")

</div>

Todd Mcgregor wrote:

> I need to build a site with shopping cart functionality and I was hoping  
> to develop the site with Radiant. Has anyone built an e-commerce site  
> with Radiant? Any ideas, tips or tricks you’d like to share?

Check out Spree - [http://spreehq.org/](http://spreehq.org/). You could run it as a sub domain,  
like [shop.mydomain.com](http://shop.mydomain.com).

---

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [December 19, 2008, 11:59am UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/3 "2008-12-19T11:59:19Z")

</div>

Todd Mcgregor wrote:

> I need to build a site with shopping cart functionality and I was hoping  
> to develop the site with Radiant. Has anyone built an e-commerce site  
> with Radiant? Any ideas, tips or tricks you’d like to share?
> 
> Thanks.

You may want to have a look at [http://railskits.com/](http://railskits.com/) …

---

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [December 26, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/4 "2008-12-26T21:45:06Z")

</div>

Radiant would be a great catalog system for e-commerce.

---

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [January 12, 2009, 8:32pm UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/5 "2009-01-12T20:32:34Z")

</div>

Chris Poldier wrote:

> Radiant would be a great catalog system for e-commerce.

I’m interested in this… but I don’t know how to use a Radiant page  
as a kind of template itself for a given model.

As an example, let’s call it “Product” (I’m imaginative), and we have  
a nice admin section to do CRUD on it.

We need, from within a Radiant page, to call something like \<r:self  
attribute=“name” /\> (just an example).

Then we would also need a way to iterate over these, and filter them,  
too…

Any ideas?

nachokb

---

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [January 12, 2009, 8:59pm UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/6 "2009-01-12T20:59:25Z")

</div>

The best eCommerce source for Ruby on Rails is Spree [http://spreehq.com](http://spreehq.com)  
Radiant is an excellent CMS, and i’m sure that you could use it for an  
eCommerce solution, but i would use Spree.

Jason

---

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [January 12, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/7 "2009-01-12T21:26:34Z")

</div>

On Mon, Jan 12, 2009 at 1:58 PM, jason white \<  
removed\_email\_address@domain.invalid\> wrote:

> The best eCommerce source for Ruby on Rails is Spree [http://spreehq.com](http://spreehq.com)  
> Radiant is an excellent CMS, and i’m sure that you could use it for an  
> eCommerce solution, but i would use Spree.

Have you ever used Spree? Can it be set up as an extension to use with  
share\_layouts? I have a shop on Shopify because it seemed like a logical  
choice at the time. It would be cool to move that over.

~Nate

---

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [December 17, 2008, 8:48pm UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/8 "2008-12-17T20:48:59Z")

</div>

Ben M. wrote:

> Todd Mcgregor wrote:
> 
> > I need to build a site with shopping cart functionality and I was hoping  
> > to develop the site with Radiant. Has anyone built an e-commerce site  
> > with Radiant? Any ideas, tips or tricks you’d like to share?
> 
> Check out Spree - [http://spreehq.org/](http://spreehq.org/). You could run it as a sub domain,  
> like [shop.mydomain.com](http://shop.mydomain.com).

Thanks Ben, I’ll look into this further. According the the “Planned  
Features” section on this page [http://spreehq.org/features](http://spreehq.org/features) it looks like  
integration with Radiant is already being considered.

---

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [January 14, 2009, 3:20am UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/9 "2009-01-14T03:20:30Z")

</div>

On Tue, Jan 13, 2009 at 5:59 PM, Sean Schofield  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> > Have you ever used Spree? Can it be set up as an extension to use with  
> > share\_layouts?
> 
> What do you mean by share\_layouts?

The share\_layouts extension: _[http://tinyurl.com/share-layouts](http://tinyurl.com/share-layouts)_

It allows you to share Radiant view with your own controllers.  
Theoretically  
you could have a Spree project and a Radiant project share the same  
views.  
It would be great if somebody could figure out a way to turn Spree into  
an  
extension. Sadly, my Rails\_fu is just not up to the task, I could use  
this.

~Nate

---

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [January 14, 2009, 12:59am UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/10 "2009-01-14T00:59:04Z")

</div>

> Have you ever used Spree? Can it be set up as an extension to use with  
> share\_layouts?

What do you mean by share\_layouts?

> ~Nate

Sean

---

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [January 14, 2009, 12:54pm UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/11 "2009-01-14T12:54:01Z")

</div>

> The share\_layouts extension: _[http://tinyurl.com/share-layouts](http://tinyurl.com/share-layouts)_
> 
> It allows you to share Radiant view with your own controllers.  
> Theoretically  
> you could have a Spree project and a Radiant project share the same  
> views.

So basically you would want Spree to be able to “fit” inside of existing  
Radiant layouts? That might be possible but it would take quite a bit  
of experimenting.

> It would be great if somebody could figure out a way to turn Spree into  
> an  
> extension. Sadly, my Rails\_fu is just not up to the task, I could use  
> this.

Eventually someone will get around to trying it. Just the other day  
somebody was asking about this on spree-user

> **[Gmail](https://accounts.google.com/v3/signin/identifier?dsh=S-1022696373%3A1688560685333736&continue=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F&emr=1&followup=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F&ifkv=AeDOFXgsGBd9pSUl_40xd2B0G-ebp8rUJBUJXK6-UQZ3Bn22fdcxuGObpgIu1w_b3MLbw6lZudDvgA&osid=1&passive=1209600&service=mail&flowName=GlifWebSignIn&flowEntry=ServiceLogin)**
>
> Gmail is email that’s intuitive, efficient, and useful. 15 GB of storage, less spam, and mobile access.

I will attempt it myself if a paying client ever needs sophisticated CMS

- Spree (as opposed to simple CMS which can already be handled without  
Radiant.)

Btw, Spree based its extension system on Radiant, so Radiant users will  
feel somewhat at home when working in Spree.

> ~Nate

Sean

---

<div class="post-metadata">

**Author:** ![toddq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@toddq](https://www.ruby-forum.com/u/toddq)\
**Post date:** [January 14, 2009, 1:49pm UTC](https://www.ruby-forum.com/t/e-commerce-anyone/155819/12 "2009-01-14T13:49:13Z")

</div>

Hi,

I was looking for a simple solution to integrate  
a small web shop into radiant. The key feature was  
that the webshop should use the layout from radiant.

So I programmed a new extension called simple\_web\_shop.  
It’s still in development but if you are interested,  
have a look at the following link:

[http://sa.pindula.net/shop](http://sa.pindula.net/shop)

The extension shows you all the products you can edit  
via the admin interface. Its just a simple one form  
web shop. But it might be useful for small companies  
selling up to, lets say 5 to 10 products.

Patrick
