Re: [spree-user] Developing a new resource, how is the integration with Spree navigation?

26 views
Skip to first unread message

Matteo Latini

unread,
Sep 18, 2012, 9:29:17 AM9/18/12
to spree...@googlegroups.com
Hi and welcome to Spree :)

Deciding how a resource interacts with other spree models is totally up to you.
An additional relation between models really depends on what makes sense to what you
are building.

Generally speaking, relating to taxons would be a good choice for adding stuff
to the navigation system.

Maybe you can add some info on the kind of resource you need to code.

--
Matteo Latini

On 18/set/2012, at 10:33, eltercero <ilovema...@gmail.com> wrote:

Hi there,

I am a total newbie in Spree, so please bare with me if this is a silly question.

I'm creating a new resource, and i want it to be integrated with the Spree navigation system. How's 'the good way' of doing that in Spree? My guess is that I have to make relationships between the new resource and the taxons. Sounds good? 

Thanks!

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/ZnSEmYGQ200J.
To post to this group, send email to spree...@googlegroups.com.
To unsubscribe from this group, send email to spree-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.

eltercero

unread,
Sep 19, 2012, 3:24:03 AM9/19/12
to spree...@googlegroups.com
Hi, Matteo, thanks for replying!

This store has some physical stores, so it would be info about these stores. Each store would be a resource, since they have many and they may have more in the near future. I think relating them to Taxons sounds good, doesn't it?

Víctor

Ryan Bigg

unread,
Sep 19, 2012, 10:16:33 PM9/19/12
to spree...@googlegroups.com
Hi Victor,

What is the purpose of these stores? Just trying to understand the reasoning as to why you would associate them with Taxons.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/okqYsDMbmxYJ.

eltercero

unread,
Sep 20, 2012, 4:51:47 AM9/20/12
to spree...@googlegroups.com
Hi, Ryan,

They are only for information; like, the online store has some physical stores too and we want to show them some place in the web. 

I was wondering about linking them to Taxons because that's how Spree navigation is made (or at least, that's what I think, I'm not entirely sure since I'm completely new on this). Anyway, that was the matter of this thread, if is it right or not linking them to Taxons or if is there another better way.

Thanks!

Víctor
Reply all
Reply to author
Forward
0 new messages