1

I'm looking for the most "Drupal" way to create either a view/block (not sure about either) that contains a list with the top level items being the parent taxonomies from a certain vocabulary (4 parents in total), and then nested under each taxonomy, the first 5 products that have a certain field on them set to true.

Essentially a "featured products"-esque block that will have 4 tabs.

1 Answer 1

2

So you need to do the following:

1) Create a view for products

2) Create a taxonomy view

  • Create taxonomy view, set display as block, so you could output it in a block
  • Add 'taxonomy term parent' filter and make it equal to 0. This way you'll select only parent terms
  • Select Views Field View in Fields and set it to output a view for products
  • Save

So now you should have a block which outputs parent taxonomy terms and under each term you have a list of products.

Let me know how it works.

1
  • I have made some progress, I have the view within a view, but all the sub-products for each taxonomy are the same..
    – Dunhamzzz
    Commented Feb 19, 2013 at 12:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.