Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sorting pages


mousewebdesign

Recommended Posts

Posted

Hi there,

 

At my site I've sorted the products with products_date_availability so the latest add-on is presented at the top of the page instead of the original alphabetic sorting.

 

But when I press the button to go to the second page the products are sorted alphabeticly again. The link is catalog/index.php?cPath=29_34&sort=2a&page=2

 

The problem lies within the sort=2a. I found the function tep_create_sort_heading in functions/general.php and noticed that the only way to sort the pages is ASC en DESC (that's where the 'a' in sort=2a stands for. The 2 is the number of columns + 1).

 

Is there anyone who can tell me how to make the page sorting working at products_date_availability?

 

Kind regards,

Marcus

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...