Questions tagged [sort-by-options]
The sort-by-options tag has no usage guidance.
11
questions
0
votes
1
answer
634
views
Magento 2 Sort by new from date and price ascending
I want to sort the product collections with new from date and low to high price within a loaded collections. For eg, low to high price should to be displayed to the new products (new from date) first ...
0
votes
0
answers
14
views
From where magento2 fetches result when we select any option from 'sort by' dropdown on product listing page?
From where magento2 fetches result when we select any option from 'sort by' dropdown on product listing page? Does Magento reassign order for the items instantly or it displays result from cached/...
0
votes
1
answer
816
views
How to use custom product attribute in sorting option with search criteria builder for magento 2?
I have created one custom product attribute(bestseller). Now I want to sort by custom product attribute(bestseller) using search criteria builder sort by option but it's not working for custom product ...
0
votes
1
answer
273
views
Magento2 Add Custom Sort By Option ( Special Price Low - High)
I Want to Add New Sort By Option Like (Special Price From Low To High).
Does any one know how i can do this ?
0
votes
1
answer
190
views
Category Products - Sort By Newest
Since upgrading to Magento 2.4x and having to use ElasticSearch as default, I am unable to find a way to sort category products by newest (created_at).
I have tried enabling used_in_sort_by for ...
0
votes
0
answers
176
views
Default sorting option not working in magento 2.2.7?
I am using the default sorting option as product name but when the page loads for first time it is not working. It's only working when selecting an option from the sorting dropdown.
1
vote
1
answer
51
views
Get "Sort by" method in catalog page
How can i get "Sort By" method in this page, $productListToolbar doesnt include sort by position method.
2
votes
3
answers
7k
views
Magento 2.3.3 main.ERROR: {"error":{"root_cause":[{"type":"query_shard_exception","reason":" No mapping found for ['attribute'] in order to sort on
I have just upgraded to Magento ver. 2.3.3 (from 2.2.8) with Elasticsearch and I am having an issue with my custom module regarding the sort by options.
Elasticsearch information:
{
"name" : "...
0
votes
2
answers
875
views
Magento 2.3.2: Sort by Bestselling Minimal results
I am using custom code to implement sort by Best selling on the category page, I have created an around plugin for
<type name="Magento\Catalog\Block\Product\ProductList\Toolbar">
<...
2
votes
1
answer
1k
views
Magento 2: get "Sort By" filter options in Rest API
Need to get Sort By List of Options category products list page using Rest API.
I have checked default REST API but can't get the same.
https://devdocs.magento.com/swagger/
Any have idea how to get ...
2
votes
2
answers
1k
views
Best seller sort by option in Magento 2.3.4
I am trying to implement Best seller sort by in category list page.
Followed below link, but that is not working in Magento 2.3.4.
Magento 2 add Sort By Best Sellers Option on category products ...