jsantari Posted July 16, 2015 Share Posted July 16, 2015 I am trying to build a catalog for a rock/stone landscaping materials provider. I am looking at the following kind of page structure but am not sure if this setup will provide the kind of searching (or how to do it in pw). For example: Landscape Stone ... Natural ...... Flagstone ......... Product title 1 ......... Product title 2 etc. ...... Shaped Steps ......... Product title 1 ......... Product title 2 etc. Stone Veneers ... Natural ...... Irregular ......... Product title 1 ......... Product title 2 etc. Each product would have attributes for color, size, vendor. What I am unclear on is how you would select product pages for example to see all the Landscape Stone/Natural/Flagstone with the colors brown or gray size medium? What I am asking is how to structure $pages->find or $pages->get with selectors to filter this down. Link to comment Share on other sites More sharing options...
diogo Posted July 16, 2015 Share Posted July 16, 2015 This exact search could be simply: $pages->find("parent=/landscape_stone/natural/flagstone/, color=brown|gray, size=medium") 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now