Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [layer]

The tag has no usage guidance.

7
votes
2answers
995 views

Get empty result when trying to get filterable attribute for particular category

I need to retrieve all filterable attributes for category. I'm using that snippet: $category = Mage::getModel('catalog/category')->load($categoryId); $layer = Mage::getModel('catalog/layer'); $...
4
votes
1answer
354 views

Override core model not working

I tried to override Magento core model which located in vendor/magento/module-catalog/Model/Layer.php, but it doesn't work at all, here's my code: app/code/Vendor/Module/etc/di.xml <preference ...
0
votes
1answer
11 views

Filter Price now showing on multiple websites using elastic search 6 +

Currently after 2.3.1 magento upgrade I start to use elastic search 6. On my magento application i have multiple websites and for some reason, except the default website the price filter was not ...
0
votes
1answer
37 views

Could not filter product collection in Mage_Catalog_Block_Product_List by a custom attribute in magento 1.9

I have an issue similar to this question , and i checked the 'Already answered link' too. But my issue is bit different. The error is similar in the above link but with my custom attribute : ...
0
votes
1answer
34 views

Magento2: Equivalent catalogsearch/layer getFilterableAttributes

What is the equivalent in magento2 of $query = Mage::getModel('catalogsearch/layer'); $filterableAttributes = $query->getFilterableAttributes();
2
votes
0answers
97 views

Digital Data Layer

I need to implement digital data layer for marketing. I already tried this tool https://github.com/digitalDataLayer/magento2 but this produce error. So I am looking for help.
1
vote
0answers
8 views

Custom Layer with custom template

I would like to create a custom layer to filter products by price. This specific layer should therefore have a dedicated, specific TPL, which is the best way to do it?
1
vote
0answers
431 views

Magento2: Search products using filterable Attributes

I'm trying to make a product search engine and i need add a filter attribute option. (i am using \Magento\Catalog\Model\Layer\Category\FilterableAttributeList) i obtain the list of attributes $...
0
votes
0answers
32 views

Search is not working for some products with magento 1.9.3.7

I know there is already asked this type of question but it does not work for me. I am using magento 1.9.3.7 version when I am going to search products, for some products it is working and for some ...