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.2. - Color and size attribute filter not updated after import

After having made my import of the configurable products with the color and size attributes I saw that the filters in the list page are not updated. For example, despite having 10 products with red ...
0
votes
2answers
19 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
8 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
26 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
0answers
26 views

Magento 2 Filter and SEO

I have some question about the next issue: Example domain: http://exampledomain.io/elektrische-rolgordijnen/range/fully-customisable-huna-next-generation/kleur/neutraal-/-cr%C3%A8me/stof-eigenschap/...
0
votes
1answer
22 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
17 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
10 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
0answers
26 views

Magento 2: Custom Filter Searching not working

Search box is visible on grid but its not working. katalyst_rfqitems_listing.katalyst_rfqitems_listing_data_source katalyst_rfqitems_listing....
0
votes
1answer
49 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
20 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
24 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
0answers
30 views

Magento 2.2: Allow customer to select “display out of stock products”

We have products that may be discontinued and sell out. We like to keep them shown on our website, so customers can look at the retired products (and search engines can index them). It does clutter ...
0
votes
1answer
33 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
18 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
27 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
15 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
53 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
61 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
27 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
0answers
41 views

Magento 2: Filter Custom rendered column in ui component

This is my ui component grid bom_rule.xml, I want to apply filters using listing_filters <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
0
votes
1answer
19 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
56 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
56 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 ...
1
vote
0answers
31 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
18 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
26 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. ...
0
votes
0answers
23 views

Magento 2: Size filter counts the products out of stock

In the layered navigation, I need Magento not to tell me the products out of stock, but at the same time show them in the list of products. What do I need to modify?
2
votes
2answers
123 views

how to change category filter position in magento 2 layered navigation?

I have to move category filter after my custom attribute filter but I am not able to how to move it please help me how to change position. I want to move category filter in the last position.
1
vote
1answer
27 views

Filter Magento2 customer grid before it's loaded

I'm using magento 2.2.5 and i have a custom database table which contain customer_id, i want all the customer in this custom table won't be shown at magento2 admin customer grid. my custom table ...
2
votes
0answers
29 views

Bulk Ordering a Product with Many Possible Configurations

I am building a website that sells different types of fasteners (nuts, bolts, screws, etc). The issue is that each product has many, many different variations. For instance, a hex head cap screw ...
2
votes
1answer
45 views

Group Collection to Filter Unique Products Based on a Specific Attribute

Scenario: A store catalog is populated with configurable products each having several children with different sizes and colors. As the goal is to show the different color variations, only the ...
1
vote
1answer
41 views

Magento2 | MassAction Filter instance none given

I'm getting strange error when I want to use mass action in a grid : AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Argument 2 passed to Toto\\Helloworld\\Controller\\...
0
votes
2answers
31 views

Need to filter products

For a own test.phtml I need a filter by Product Attribute and Category. if the product is in category X and have custom-attribute x echo sku what is the right code? I found solutions for each (...
1
vote
0answers
108 views

How to expand only category filter in Layered navigation magento2?

I am trying to expand category filter on page load in layered navigation I followed below link to implement, its worked fine in version 2.2.2, My magento version is 2.2.4, the code is different in ...
1
vote
0answers
39 views

Magento 2: Layered navigation sidebar filter search query customization

I want to customize the query like ?product_type=64 I want to add more attribute in query . I just actually want filter works only on configurable pre-select value not all products which have that ...
0
votes
1answer
89 views

How to add attribute filter in product listing page in magento 1.9?

How to add attribute filter.For eg, When city attribute not set in any product then this product are showing after filter of city. Here is my Product Collection List.php block file public function ...
2
votes
2answers
204 views

Error Filtering grid from joined table collection

I successfully create a custom customer grid which use select join, the problem is i concat customer first name and customer last name as a new column alias, and when i filter the column it shows ...
0
votes
0answers
37 views

How to create layered filter navigation in slider ?like the price slider in magento 1.9

I am trying to create filter using attribute in layered navigation.requirement is that i want those attribute filters in slider like the price slider.
0
votes
0answers
13 views

How to get price of parent products in v1/GetProductsByCategory/ Api call?

I am trying to get products by id of a category. I am using this api call v1/GetProductsByCategory/ for this purpose. In this api i send Admin Token as Header with Authorization Key and categoryid in ...
2
votes
0answers
22 views

Magento2 : Quantity filter not working properly in product grid

In magento2 admin panel, I want to filter all product which have quantity zero or no (empty/blank) value. But when I filter by quantity from 0 to 0 then, it is returning all products. When I filter ...
0
votes
1answer
95 views

Magento2 Filter shipping method based on Order Total and Country Selected

I want to filter shipping method in magento2 as below given manner. Case1: If the Order total is less than $75 and the country is USA display Flat Rate Shipping $7 case2: If the Order total is ...
0
votes
1answer
84 views

Magento 2.2.5 get the product collection without Stock data

I am using Magento 2.2.5. In that, I am creating the products using the below code. $product = $this->objectManager->create ( 'Magento\Catalog\Model\Product' )->load ( $productId ); $product-...
0
votes
1answer
75 views

addFieldToFilter not working properly

When I try to add a field to filter on my magento 2.2.4 quote collection, the quote are not arranged in the right order. $customerId = $this->_customerSession->getCustomer()->getId(); ...
0
votes
0answers
25 views

magento admin grid default search not working

The default Magento grid search is not working for me. Am I missing something here? Also, below is my code for grid.php <?php class ...
0
votes
0answers
40 views

Magento2: how to applied filter value show in filter list in layer navigation?

I want to show the selected filter value shown in the filter drop-down. See below example. I have multiple select dropdown attributes. It has value like Basic, Capari, snug. If I selected Sung that ...
0
votes
0answers
8 views

Change Search filter on my magento 1.9 ecommerce website

i want to customize my ecommerce website search filter, like i have some sections of New Arrivals, New with Tag, etc on my website and when i go to any of the section and select mens on the search ...
1
vote
0answers
62 views

Filter the configurable products based on the child product's color in Magento 2

In Magento 2 How to filter the configurable products based on the child product's color. For example, if the parent has 4 children with Green, Red, Yellow and Black colors. If I select green in the ...