Questions tagged [layer]

The tag has no usage guidance.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
2answers
1k 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
0answers
383 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 ...
2
votes
0answers
100 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
10 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
472 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
1answer
46 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
85 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
35 views

Magento2: Equivalent catalogsearch/layer getFilterableAttributes

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