Jump to content

Sort By dropdown is not working in the category page


Recommended Posts

Hi Everyone,

 

So this is my problem...

 

I took a copy of the default theme and then named it theme1.

 

Now i have been customizing the theme1 as per the clients requirement...

 

I found out one day that the Sort By dropdown in the category page is not working now whereas it is working in the default theme...

i just cant find the problem..i have tried everything that has been given here in the forum and still no luck...

 

Please help me guyzz..its really important...sorry i cant give you a link as the site is in my localhost..

Link to comment
Share on other sites

Hi,

 

Make sure that:

1) DOM element has event "on change" (.selectProductSort by default)

2) parameters "orderby" and "orderway" inserts to adress bar URL after page reloads (&orderby=price&orderway=asc for example)

3) sql query has "orderby" and "orderway"

 

Regards

 

Many many thanks man...

 

I just noticed that the dom id was "selectPrductSort" instead of "selectProductSort"...dont knw how this happened...

 

Whatever you saved me man..thanks a lottttt...:)

Link to comment
Share on other sites

×
×
  • Create New...