We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [sort-by-options]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Magento 2: Category Pages custom sortby: getCollection()->order(…) not taking effect

So I have a bit of an issue. I am trying to create a custom sort order in the magneto 2 catalogue pages using a calculation between two price fields. I am currently editing Magento\Catalog\Block\...
0
votes
0answers
30 views

Magento 2 | getAttributesUsedForSortBy() doesn't return “Position”

I used this module from GIT to improve my "Sort By" dropdown (https://github.com/springimport/magento2-module-catalog-dropdown-sort), however, i have an issue. The "Position" attribute from the "...
0
votes
2answers
32 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"> <...
1
vote
1answer
96 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 ...