0

We are fetching layered navigation filters as follows:

$layer = $layerResolver->get();
$layer->setCurrentCategory(2);
$productCollection = $layer->getProductCollection();
$productCollection->addAttributeToFilter($attributeCode,$attributeValue1);
$layer->setProductCollection($productCollection);
$filters = $filterList->getFilters($layer);

But the above filters are coming from the default store id and incorrect filter names. We have multiple store views and would like to get filters based on store id.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.