I have to implement below custom sort options
– Order: A to Z
– Order: Z to A
– Price: Low to High
– Price: High to Low
I have tried with the example given in link.
This is not working with elastic search. I am getting a message
We can't find products matching the selection.
Please help me if anyone has implemented this.
Best Answer
Custom Sort with ElasticSearch in Magento issue can be fixed by following these simple steps:
Once done with the above steps run the following commands,