New answers tagged

0

Please update the contractor as below in this file and try app/code/Vendor/Module/Model/Layer/Filter/IsBrands.php From: public function __construct( \Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Catalog\Model\Layer $layer, \Magento\Catalog\...


0

Run this command from the CLI : php bin/magento cache:clean php bin/magento cache:flush php bin/magento indexer:reindex php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f chmod -R 777 var/ generated/


1

You need to put some log at the function \Magento\Catalog\Model\Layer\Category\FilterableAttributeList::getList this is temporary and therefore can be in the vendor folder directly. The log we want to use is to know what query runs when the layer filters are pulled in the block \Magento\LayeredNavigation\Block\Navigation put the lines below just above the ...


1

It does seem the one that is product attribute that is system does not want to be in the layer. I will look into it now. Having said that, one would think it might be worth creating a new product attribute identical to the no system one and then 'do assign your data to the new attribute and refresh index..' that should be a quick win, if you want to do this ...


Top 50 recent answers are included