cancel
Showing results for 
Search instead for 
Did you mean: 

Sort By option not working properly when using ascending or descending button

Sort By option not working properly when using ascending or descending button

So the problem is as follows: I have the Sort By option set to "Price", but once i try to change the order from descending to ascending or vice versa, the Sort By" turns back to Relevance (Which is the one i have by default)... Is there any way i can use the order button and keep the sort on price?. I upload images of the Code and the Sort By bar.

 

Screenshot 2021-01-29 at 11.58.44.pngScreenshot 2021-01-29 at 11.58.16.pngthis is sorter.phtmlthis is sorter.phtmlthis is toolbar.phtmlthis is toolbar.phtml