Questions tagged [filter]

Denotes questions about filtering in Magento (layered navigation, collection filtering)

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

How to we move current applied filter state to center of the page just beside the sortby

In the category page layered navigation, I want to move the current applied filter state just beside the sort by or center of the page. Can anyone please help me out?
0
votes
0answers
9 views

Magento2 Layered navigation doesnt work on sub menu

Im working on a filter module using Magento_LayeredNavigation module. I installed sample data to check my filter i works it doesnt work on someplaces and it works on someplaces. In the picture above ...
0
votes
0answers
18 views

Magento 2.4 Custom Filter on product collection, wrong collection size

I created a custom filter to filter products on category pages and in search. Filter itself seems to be correct (two products are visible from origin twelve) but pagination is wrong (total size is ...
-3
votes
1answer
34 views

Magento2: Can we add range slider on product attribute

In current magento2 provide range slider on product attribute "price". I have requirement range slider on Case Diameter.
0
votes
0answers
29 views

Request parameters to filter SQL query using session

I want to filter the Coupon Usage table based on the request parameter passed in querystring. http://localhost/magento2.4/admin/dev_grid/index/index/key/...
0
votes
1answer
5 views

Hide filter options with 0 products in Magento2

I am using Magento 2.3 and need to hide filters in the layered navigation that contain zero products. What files should I modify to complete this?
0
votes
0answers
17 views

How to Apply Custom Filter In Customer Admin Grid With customer attribute in magento 2

i wan to add custom filter with drop down value yes or no is select yes than apply filter and get that that custom attribute value are something if apply no than apply filter and get that value that ...
0
votes
1answer
27 views

Hide simple product on product list page Magento 2

I have simple products and configurable products on my M2 and i would like to hide child of configurable on product list page but still getting them on the filters part. If i set 'Not visible ...
0
votes
0answers
15 views

How can I customize the filter of the product grid on the admin side in order to filter by RANGE

hope you are all good and in great shape. TLDR: How can I filter my product grid on the admin side using a WEIGHT RANGE? I am a newbie in Magento and I have been doing some progress over the last ...
0
votes
0answers
12 views

Error on the Search Bar: Something went wrong with processing the default view and we have restored the filter to its original state

I've mistakenly pasted a large data set I've copied from the excel file on the search bar of the orders. Then, I got this error and it never went back to normal - "Something went wrong with ...
1
vote
0answers
17 views

Filter on custom attributes - elasticsearch - not working on simple products

I have a project where I have a lot of configurable products and I need to make some filters there. I've manage to make the filters and everything related but the issue is that when I apply filters I ...
0
votes
0answers
9 views

Add custom filter in frontent product catalog

I've been looking for a few days to add a filter to the display of products in a category. This filter is a date and should not be visible to users. I managed to do it in version 2.3 but with version ...
0
votes
0answers
15 views

Magento 2 - Size filters are not displayed when the configurable product is set to Not individually visible

I have this structure for my products, I have a grouped product that has two configurable products which are configured as Not visible Individually but in the filter section does not show any size, if ...
0
votes
0answers
18 views

Magento 2.3: Filter Purchase Date of Orders by month and year

Default Magento allow we filter purchase date from DD/MM/YYYY to DD/MM/YYYY Now, I want to filter from MM/YYYY to MM/YYYY Please help me.
0
votes
1answer
35 views

How to add working filters for max_sale_qty and manage_stock in Product grid in Magento 2.3?

I am trying to add working filters for max_sale_qty and manage_stock in product grid in Magento 2.3. I got the columns Max Sale Qty and Manage Stock in product grid to display the records using ...
1
vote
0answers
12 views

Using SearchCriteria and FIlterBuilders is it possible to have a nested AND condition inside ORs?

So I know how to create AND condition using the addFilter and how to add OR conditions using FilterBuilder however if I wanted to do do a search like (only using searchCriteria, no direct collection ...
0
votes
1answer
10 views

Show only filters in layered navigation for search results where all products have that filter populated

I am trying to implement this feature: the filters that are shown in the search results page are only visible if every products in that results page have the attribute linked with the filter populated....
0
votes
0answers
15 views

is there any way to create custom search criteria field (SearchCriteria[filter_groups][0][filters][0][field] )?

Is there any way to add a custom field in search criteria in Magento 2 REST API. Custom Field means I want to filter products by using Final Price in V1/products endpoint Thanks.
0
votes
0answers
12 views

how to make category's in magento 2 checkbox selectable and not clickable in search area

hey guys hope I well get an answer. I didn't find any extension for that and I well be happy to any help here. so I have this filter of products that I can select each sub category and it well filter. ...
0
votes
0answers
18 views

Warning: Illegal string offset 'attribute'

I want to get products collection and I need to join it to several tables so I made this function public function getProducts() { $products = $this->_productCollectionFactory->create(...
0
votes
0answers
13 views

How filtered attribute hides in layered navigation?

If I select the color as a filter in layered navigation, then it hides that color attribute and displays the remaining attributes regarding that color. I want to make this function for layered ...
0
votes
2answers
18 views

product alphabet filter option in magento 2

Product alphabet filter option in magento 2 ref video : https://www.loom.com/share/0b1de140088d41279ae2ec1d4222f3b2
0
votes
1answer
23 views

Get attribute admin values layered navigation filter - Magento 2.3

I need to change this code to get attribute Admin value not store view value, any advice about this, please. or how to set a store view in this code to be able to list the admin value and skipping the ...
0
votes
1answer
104 views

Filter With Multiple Values

In Magento 2.4.1 I have a custom multiple select attribute 'theme' The theme attribute contains options 'football' and 'sport' Some products have both attribute options applied. I can apply both ...
0
votes
0answers
17 views

Magento 2 How to add “Store view” Filter to add new product grid inside bundle product

Here am having a bundle product. While adding a New product to bundle I need to add Store View filter to add product grid. here is the image for default add new product to Bundle Required Format on ...
0
votes
0answers
17 views

How to apply null value filter for magento admin grid

I have added an additional column to sales grid in admin by adding the following to sales_order_grid.xml <column name="email_sent" > <argument name="data" xsi:...
0
votes
0answers
33 views

Magento 2: Layered navigation $filter->getItemsCount() very slow

We are using layered navigation and are loading a filter block in sidebar. But $filter->getItemsCount() takes a long time to load. <?php foreach ($block->getFilters() as $filter): ?> ...
0
votes
0answers
16 views

dateRange filter can not properly parse format

I have a datetime column for custom made listing, where date filter calendar can not process given date format. <column name="ticket_time" sortOrder="150" class="Magento\Ui\...
0
votes
0answers
5 views

Sales Order Grid Set Predefined filter of 30 days

I need to set predefined filter on Purchase Date on 30 days from current date and load the orders for that filter only. Any time should be able to load all orders if we remove the filter I tried ...
0
votes
0answers
43 views

Filter on order comment history in order grid magento 1

I have added an column to the magento 1 order grid. it renders the order history of the order. I have made a renderer with the following code: class Mage_Adminhtml_Block_Sales_Order_Renderer_Red ...
3
votes
1answer
34 views

How to reset the products grid filter don't loading in the admin panel?

My backend keeps freezing and can't do anything with it. I think it is due to the filter that was put last week on the products page to show 1000 products in the grid. I tried to open it in an ...
0
votes
0answers
29 views

Filters are missed in Admin Panel

For some reason filters in Admin Panel are missed. I tried to debug it but it is without any result. Can someone say where this collection is prepared or maybe why is it happens?
0
votes
0answers
8 views

How to make price filter by default collapsible false?

How to make this price filter close by default in Magento 2. When i starting loading the page it shoes price filter open by default. How to make it close by default. Any help is appreciated.
0
votes
0answers
15 views

Allowed memory size exhausted, trying to select specific pages from widget

I am completely new in Magento and trying to create a widget that will simply display the selected pages on the frontend. That's what I have for now in my block class: public function getPages() { ...
0
votes
0answers
31 views

How to change HTML of Categoty Page in Magento 2?

how can i change the layout of Category page in Magento 2 Like to change some HTML in category page. i want to show product in full width and want to show price filter just above of product listing ...
0
votes
1answer
25 views

Magento 2.3 filter product enable but showing disable also

Filter with simple product and status enable but showing disable also please look at the screenshot.
1
vote
0answers
70 views

Magento 2 Error filtering template: Warning: filesize ()

Error filtering template: Warning: filesize(): stat failed for http://localhost/jaipurbkp/pub/media/catalog/product/s/c/screen_shot_2020-10-03_at_2.37.35_pm.png in C:\wamp64\www\jdrbkp\vendor\magento\...
0
votes
0answers
13 views

How to do apply filter of custom field value in Sales Order in Admin Magento 2?

I have created some fields and save data in quote and sales_order table on my order success. I have successfully display the data in Admin Sales Order but it doesn't apply filter on it as it will ...
0
votes
2answers
109 views

Filter is not working on Custom Values in Magento 2 Order?

I have save my custom data in quote and sales_order table and show data in Admin grid but filter is not working in this as it is search in sales_order_grid table in Magento 2. I have found out a ...
1
vote
0answers
45 views

Add caption or helper text to admin filter in magento 2

I added a filter in my admin panel. But i want to add a helper text before or after the input field. Like the 'more information about...' in this screenshot: Right now the field config I have is ...
0
votes
1answer
15 views

How can add filters in custom grid magento 2 without UI component

I have created a custom grid for reports in the admin without UI component. Now I want to add filters in the grid. Filters type Date-Range, Price-Range, Status. <?php protected function ...
0
votes
0answers
56 views

Orders grid not loading magento 2 (Something went wrong with processing the default view…)

Info: Magento 2.3.5 PHP 7.2 database: mariadb-10.2 Hi guys! Had someone already faced this issue on Magento order sales grid? "Something went wrong with processing the default view and we have ...
0
votes
0answers
16 views

How to add a custom attribute filter in Product listing, search result and also update layered navigation in Magento 2.4?

I have a custom attribute materials_used, I need to filter it's automatically (hardcode) in PLP & search with layered navigation. materials_used attribute is also hidden by customers. Hint: ...
0
votes
0answers
31 views

Magento 2 :: Error with customer field of M2E/Amazon

if you go into the product listing in in third party module M2E/Amazon and add a custom filter to search for products with specific values the result is the following error message: 1 exception(s): ...
0
votes
0answers
19 views

Magento 2 Filter admin grid with custom columns

I have a custom table that is assigned to multiple store so i do have another table for their relationship. my problem now is i want to filter my custom table by store in the admin grid. i was able to ...
0
votes
0answers
3 views

Loading Product collection based on custom attribute filter in magento 2.3.3

Please help me in achieving my below requirement. I have one category called as Tires. When user goes to that category page. It displayes 3 dropdown on the top of the product listing page https://prnt....
0
votes
1answer
106 views

Apply Filter not working on Magento 2 for custom column Sales Order

I have save my custom data in quote and sales_order table and show data in Admin grid but filter is not working in this as it is search in sales_order_grid table in Magento 2. my view/adminhtml/...
1
vote
1answer
104 views

Create filterable admin grid from external database table

As the title says - I am trying to create an admin grid from an external database-table. I was able to create one with an ui_component and some dirty tricks in my data provider - but the problem is, ...
0
votes
0answers
57 views

How to change Filter Url in Magento 2

How to change the URL of the Magento 2 store when Filter is applied. When I apply any Filter the URL looks like https://jpm2.mydemoweblink.com/watches/alpina?jpf_gender=6780 where I want to change the ...
0
votes
1answer
34 views

Add filter to custom grid created as ui_component

I rephrased my question and got it working (adding filters to a custom grid, that was made with a custom data provider). See question and answer here: Create filterable admin grid from external ...

1
2 3 4 5
15