Magento 2 | Change sort order for search results
I would like to set as the default order in the search results page “relevance” in descending order. How can i do? Thanks
Auto Added by WPeMatico
I would like to set as the default order in the search results page “relevance” in descending order. How can i do? Thanks
Recently, a client noticed a problem with the products sort by Price function in the category page. For example, the user selects Sort by Price Ascending. The system will return the configurable products (not in price order) and then the… Read More »Products sort by Price not woking correctly with simple and configurable products
I have created a custom product attribute with drop-down option and added that attribute in schema.graphqls file but when checking the sorting is happening based on attribute option value not based on attribute label. How can I sort the product… Read More »Magento 2: How to sort the attribute based on attribute label?
I have created a custom sorting option distance in magento 2.4.3-p1 and sort the collection with custom sorted entity ids di.xml `<type name=”MagentoCatalogModelConfig”> <plugin name=”catalog_config_plugin” type=”SunarcNearByProductPluginConfig” /> </type>` <preference for=”MagentoCatalogBlockProductProductListToolbar” type=”SunarcNearByProductBlockCatalogProductProductListToolbar” /> <type name=”MagentoElasticsearchModelResourceModelFulltextCollectionSearchCriteriaResolver”> <plugin name=”ajourquin_unset_es_order” type=”SunarcNearByProductPluginElasticsearchModelResourceModelFulltextCollectionSearchCriteriaResolver” /> </type> appcodeSunarcNearByProductPluginconfig.php… Read More »Magento 2.4.3-p1 custom sort by option with custom entity id not working
I am trying to create new product attribute of type datetime. Attribute is created successfully and also there is no error while reindexing. Note – I am able to save the attribute value from admin panel. But while sorting I… Read More »No mapping found for [added_on_value.sort_added_on] in order to sort on
I have created a custom plugin for sorting options for high to low & low to high price. High to low sort works fine but “low to high” sort order not showing correct results. app/code/Digital/CustomSort/etc/di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”>… Read More »Magento 2 – Custom sort order not working properly
I have a index that adds eav values to products and it adds the correct values, these eav attributes are used to sort the product catalog, but this sorting is not correct, it started with a value of 0 or… Read More »Magento 2.4.0 Sorting by custom eav attribute
I’m developing a website using Magento Cloud. I created 2 new sort-by options as attachments below: When I select sort-by “Price Low to High” or “Price High to Low”. I always get messages: We can’t find products matching the selection.… Read More »Magento Cloud – Cannot sorting products list by min_price DESC or ASC
0 I’m trying to create custom sorting for the product mutation. Need a product sorting based on product ratings. Once i have override the MagentoCatalogGraphqlSearchAdapterQueryBuilderSort. It throwing a error . I have added the following line to $sorts[] = [… Read More »Custom Sorting is not working in Magento 2.4.3-p1 – Product Graphql
Magento version upgraded from 2.3.5-p2 to 2.4.4. This is enterprise(Commerce) Edition. After upgrading the version Pagination on the listing page is not working. All products are showing. Also, the limiter in the toolbar is not available for product limits 12,24,36… Read More »After upgrading Magento 2.4.4 pagination is not working