Stack Exchange Network

Stack Exchange network consists of 174 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 [filter]

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

0
votes
0answers
6 views

Magento 1.9: How do we provide a filter for date range on the Magento front end?

We recently moved over site over to Magento 1.9. We provide recorded audios and videos through our store, both for sale and via a membership. Our customers are frequently want to filter results by the ...
-1
votes
1answer
29 views

How i can create custom filter grid in front end magento 2

i want to create custom filter in front end how can copy the back end grid and filter for front end with working like back end filter ??? how i can code this any ideas.....
1
vote
1answer
18 views

Magento 2.2.3 - Full text filter not working for sales order grid

The full-text search filter is not working for sales order grid. Other filters are working correctly for sales order grid.
1
vote
1answer
41 views

How to get products filtering by category and attributes?

I have searched about how to filter and I have tested about 20 codes but always return "". The situation is the following: - For the current category, I have 8 attributes, 7 are multiselect checkbox ...
1
vote
0answers
31 views

Order grid filter on the basic of custom attribute

This lines of code return the order collection, but I don't known which hierarchy of file. Where I can put this lines of code? What I am should use a plugin, preference or else? and how tom ...
2
votes
1answer
26 views

Remove price filter for specific category

I can remove all filters in category with this line: <referenceContainer name="catalog.leftnav" remove="true" /> But, I need to remove only price filter for specific category. Can I do this ...
0
votes
1answer
34 views

How to Filter a Custom Column in Product Listing?

I have created a custom column in Product gird by a module, which shows Parent product's SKU there. It's working fine but when I try to filter it Magento gives "Something went wrong with processing ...
0
votes
0answers
17 views

show-custom-joined-field-in-admin-ui-grid

I am showing custom field in my sales grid using join,i also reffered to Here My Collection Class public function __construct( EntityFactory $entityFactory, Logger $logger, FetchStrategy ...
0
votes
0answers
26 views

Magento2: I want to add layered navigation filter on category page

I have already added a layered navigation filter extension. But I want to add a new attribute filter to my extension. I have a dimension attribute. I want to filter on dimension attribute like the ...
0
votes
0answers
24 views

Not able to filter few columns in magento admin grid

I am not able filter few columns like sku in my custom module.Other columns are working. <column name="sku"> <argument name="data" xsi:type="array"> <item ...
1
vote
0answers
21 views

Simple Products Custom Options price sorting - magento 1.9.2

magento 1.9.2 - how to get simple products custom options price for price slider sorting in sidebar and load product collection in the list page. by default magento not sorting custom options price
0
votes
0answers
12 views

How to filter a grid magento 2

For magento 2.2.4 i used to use this to filter a grid <dataSource name="client_local_index_data_source"> <argument name="dataProvider" xsi:type="configurableObject"> &...
0
votes
0answers
13 views

Layered navigation custom filter products count

I've problem with products count in filters in layered navgiation. I've made filter for special price products, and it's works ok, products list is filtered. In filter applyToCollection I have $...
0
votes
0answers
16 views

create a new filter like featured products filter magento 1.9

I am new to magento...I want to create a filter same as featured product filter...I have created an attribute named as Deals & Offers in magento 1.9 backend just like our fetaured product in which ...
2
votes
1answer
47 views

Custom column in Product Grid not being filtered?

I have created a custom column in Product gird by a module, which shows Parent product's SKU there. It's working fine but when I try to filter it Magento gives "Something went wrong with processing ...
0
votes
0answers
12 views

M2: Issue with filter by brands

We have any issue with filter products by brand: https://b2bstyle.pl/shoes-woman/sandals.html During select brand return "No products found". Anyone know where is issue and how to solve it?
0
votes
0answers
15 views

Show attribute value which applies to all items in a category

Let's say I have a shop which is specialized in organic food but still offers non-organic food. All items have the attribute "organic" with the options "yes", "partially" and "no". There is a ...
0
votes
0answers
22 views

filter_url_params in magento 2 Ui component is not working properly anybody have solution

I want to show data according to id that is shown in my URL..... my URL is http://dev.magento.com/admin/customer/index/edit/id/1/key/06ae49324c0bb7e328bc5bd4bb75954fcc787d538a59cb97ce4e1809a1a17ff3/...
3
votes
2answers
45 views

Magento2.2.x How to remove a field filter from collection?

I am loading a collection: $model = $this->_objectManager->create('Test\Demo\Model\Book'); $collection = $model->getCollection(); $data = [regionCode => 111,regionCode=>222]; foreach ($...
2
votes
2answers
29 views

Load selected category products in list page magento2

I have loaded a custom template in the category view page. with content all categories in the drop down. I am looking for functionality once drop down changes the corresponding category products ...
0
votes
2answers
49 views

Category filter in list page magento2

I am trying to filter products by category as below in the screenshot. Once the category selected from the drop down the products belongs to that category should populate in the products section. I ...
0
votes
0answers
13 views

Magento2.2.x how to set admin Filter functionality on custom page on frontend grid?

I have created a custom page and I want to set admin filter functionality on a custom grid on the frontend. Admin Filter - look the first image. Frontend grid - want admin type filter above on grid ...
0
votes
0answers
9 views

Set a permanent limit on returned rows in grid

I have created a grid extending Mage_Adminhtml_Block_Widget_Grid. Within _prepareCollection I'm doing this: $collection->getSelect()->limit(10); But as soon the reset filter button is clicked ...
0
votes
1answer
28 views

How can I get the value of the selected filter in Magento 1.9 Grid and use it in another filter?

I need to get the filter value for a column and use it to further filter the results of another column, for example, country and states. How can I do this? _prepareCollection: $collection-&...
0
votes
1answer
50 views

Magento 2 How to remove price filter from category if module is enable?

I have one module is set up and it has configuration about enable/disable the module. I have multiple stores too. I want the functionality to disable or hide price filter from category page if the ...
0
votes
1answer
59 views

How to sort admin grid filter elements in Magento 2?

Using Magento 2.2.5 - I have an install with many stores - ~30. In the sales order grid, the filter for 'Purchase Point' lists all the stores, but in the order they were created. Is it possible to ...
0
votes
2answers
70 views

How to create Search “Textfield” filter in admin grid | Magento 2

I am trying to create Grid search feature based on strings entered in text fields as: This functionality is in some of the default admin grids and few have filter button like this: I wanted to ...
0
votes
0answers
9 views

How to convert Filter type in default admin Grid | Magento 2

I want to convert this filter (Sales Order Grid) To this type of filter (Stores->Product) How can I do this with default grid in Magento 2 ? Any help will be highly appreciated.
0
votes
0answers
36 views

Magento 2.2.6 Remove Category Filter From Sidebar Filtered Navigation

I am only looking to remove the "Filter By Category" section. I wish for the other filter options to remain. The pages impacted are the main category catalog pages. I have tried the multiple ...
0
votes
1answer
50 views

Magento 2: How to remove input option from grid filter

I want to remove some of filters from my grid in Magento 2 backend admin grid. Currently I have grid like displayed on image. But if I want to remove customer name how to do so. please explain thanks
0
votes
0answers
19 views

Magento 2: How to change the custom filter price in navigation filter?

I have trying to change this code but I can’t do this ?? please tell me how to change custom price in this types??
0
votes
0answers
15 views

How to change filter values in magento 2 layered navigation?

I am trying to change the values of magento2 layered navigation. this below image is now current values. But I need the values to be like i. R0-R99 ii. R100-R499 iii. R500-R999 iv. ...
0
votes
1answer
86 views

How can I remove the category filter fron category page that do not have further any categories?

I am using Porto Theme (Magento 2) for building an ecommerce website. I have some categories that has sub-categories, so when I go to that sub-categories page, then it is showing the category filter ...
1
vote
1answer
24 views

How to filter simple products by size?

I'm new to magento and I have some troubles. I've managed to filter products by style or color, which are configurable products, but I can't figure out how to filter by size, where products are simple ...
1
vote
0answers
29 views

Using layered navigation without is_anchor category attribute

Is it possible to use and display the layered navigation filtering when setting the anchor attribute to false? I don't want to set anchor to true, because I don't want products of child categories to ...
0
votes
1answer
59 views

Magento 2, opposite of finset needed to filter a product collection

I have a problem in a product collection that I need to filter. I have a multiselect list with countries. When a selection is made the products need to be hidden from these countries. $collection->...
0
votes
0answers
22 views

How to filter the grid customer according to group_id magento 2

I have two customer groups and I have created two sub menu under All customers and 2 controllers. I want to create two grids so that I will have the list of customers that belong to group 1 in grid 1 ...
1
vote
0answers
31 views

How to add custom field beside Export To button in Magento2?

How to add custom field as shown in image in sales order admin grid in Magento 2?
0
votes
1answer
21 views

How to remove some fields from the filter

I have all my attribute fields in the filter selection. I would like to have only a few fields in the filter selection. How can I remove all my unneeded fields ? Thanks, Noemi.
1
vote
1answer
149 views

Magento 2 -Admin Grid Select filter with comma separated values

I have created a custom admin grid in my module. It contains a customer group column and it has a select filter. The column values are comma separated groupIds. When I filter the grid based on ...
0
votes
0answers
22 views

Want to show the Filtration in Home Page in Magento 2

How to include filters of Layered Navigation in the Home Page right side in Magento 2.2.5? How can I do this? In which file I have to change to show this or is there any code for this that will bring ...
0
votes
0answers
123 views

How to get filter options on category page using REST APIs Magento 2

I need to get all applicable filters on a category page. I am using below API to fetch all filters. http://localhost/magento/rest/default/V1/products/attributes?searchCriteria[filterGroups][0][...
0
votes
0answers
33 views

Filters in custom product collection M2

I have created a new category in backend and fetched products programmatically via override ListProduct block <preference for="Magento\Catalog\Block\Product\ListProduct" type="Custom\Vendor\Block\...
0
votes
1answer
26 views

What is the role of visibility filter in colections Magento 2?

I am getting Order Items, from order collection by Order ID but as from the attached screen shot (Order 15) I am getting one product data two times. Can any body explain the reason and what will be ...
1
vote
0answers
185 views

Magento 2 : how can i add my custom filter in custom admin grid

i have created custom admin grid which shows the log of login customer, every time customer login successfully the log will be added in that grid even if same customer, what i want to do is add my ...
0
votes
2answers
176 views

Filter admin grid based on the url parameter

In Magento 2.2.5, I have a custom agrid. It has edit option and url parameters. I need to create another grid in the edit page based on the url parameter. ie., I need to filter the custom grid based ...
2
votes
0answers
92 views

Magento 2 Filter admin grid collection by default

In Magento 2.2.5, I want to filter the custom grid using custom attribute. I followed this link. But it is not working. Is any alternate solution there.
0
votes
0answers
18 views

Filter products and category products not working after integrating a template

I integrate a template shop4u and when i come to price filter it does'nt work also filtring with category not working. when i click to shop with category i just still in same page but i find that in ...
1
vote
0answers
19 views

Filter with category and price magento 2

After installing a new template, the filter with category and prices don't work
1
vote
1answer
29 views

how to show all attributes even filters applied in magento 1.9?

how to show all attributes even filters applied i.e., if we click on like category options then some options get cleared so I want to display all filters whether if we choose another option also. ...