1

Try to use below line in your phtml file, and replace category_lpage_products with your attribute code. <?php $title = $this->helper('Magento\Catalog\Helper\Output')->categoryAttribute($block->getCurrentCategory(), $block->getCurrentCategory()->getCategoryLpageProducts(), 'category_lpage_products') ?> Update You can create one ...


1

You can try this. Let's say that $category is the instance of the current category; $collection = $category->getProductCollection()->addAttributeToSelect(['manufacturer', 'color']); $manufacturers = []; $colors = []; foreach ($collection as $product) { $manufacturer = $product->getData('manufacturer'); if ($manufacturer && !isset($...


1

I had the same issue when I used Mirasvit_Search module. Maybe it is related to your issue as well. After I added a product attribute to Mirasvit's index the issue has gone away.


Only top voted, non community-wiki answers of a minimum length are eligible