39 $this->catalogLayer = $layerResolver->get();
52 $layer = $this->catalogLayer->setStore(
$storeId);
55 ->addAttributeToSelect(
'name')
56 ->addAttributeToSelect(
'is_anchor')
57 ->addAttributeToFilter(
'is_active', 1)
63 $currentCategory = $layer->setCurrentCategory(
$category);
69 $products = $currentCategory->getProductCollection()
70 ->addAttributeToSort(
'updated_at',
'desc')
71 ->setVisibility($this->visibility->getVisibleInCatalogIds())