How to filter product search on published categories

We have problem with product that are published in a channel but are connected to category that arent connected to the channel. The product are then displayed in quicksearch and searchresultpage crash. This is reporten as a bug but how can one go about applying a published category filter i Litium 7?

Our version of the accelerator has a method called ApplyAllCategoryTags() that in previous version of litium and litium accelerators handle this but in our version of the accelerator the mehod does nothing and in the litium 7.3 accelerator the method is removed completely.

Litium version: 7.3 with 7.1 accelerator

Are you running ApplyProductCatalogDefaultSearchTag() on the query in your Accelerator?

There is no built-in property that you can use but you can add your own conditions to filter on the categories you have.

For the product, you can either move its main-category to another category that is published on the site or uncheck the product publicity so it will not be accessible.

Dont think we have made any chnages from the accelerator on this one but i will check.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.