silverstripesilvershop

I need a dropdown brands filter for Silvershop


How do I filter $Product on AdditionalCategories in the template?

I've tried:

$Product.filter('AdditionalCategories', $MyFilter)

But there is no AdditionalCategories column on Product in the database


Solution

  • With the help of @3dgoo,

    Looks like I needed the following:

    <% loop $Products.filter('Product_ProductCategories.ProductCategoryID', $MyFilter) %>