Jump to content

Categories / Products


wmushtaq
 Share

Recommended Posts

Hi

I am going to try processwire to create an online store having categories / products similar to this

http://goo.gl/LrCmx

If you click on, for example, Cold Drinks category on left it shows all products of all sub categories of Cold Drinks on right side untill you navigate in depth.

Outside PW I will do this by storing products/category relationship in a separate table. What is PW way of doing this? Do I need to duplicate product page in every category/sub category I want? Or is there a better way for this?

Thanks in advance

Link to comment
Share on other sites

There is a better way for this.

In PW you can connect pages using the Page fieldType. Ryan made a video that explains it in detail http://processwire.com/videos/page-fieldtype/.

To have an idea of how to create categories with it, have a look at this thread http://processwire.com/talk/topic/815-using-the-page-fieldtype/.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...