Questions tagged [sort-by-options]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
40 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
1answer
22 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
1answer
68 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
0answers
74 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
1answer
21 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
3answers
4k 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
2answers
501 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
1answer
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
2answers
712 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 ...