Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category content listing duplicating products, missing others


candycanes

Recommended Posts

Posted

Hi there,

 

I have inherited a number of sites, all for same company, and it's been spotted that 2 of them are behaving badly!

 

When you click on a category on the lefthand nav, if it returns more than one page of products (currently set to 50 products per page), it shows them in a random order, duplicates some products on both result pages and misses others out altogether. Not good.

 

Our other sites (all based on one original site) don't do this. The only difference I can see is in the urls being passed - the sites that work do not have 'sort=3a' at the end of the end of the url.

 

What file(s) do I need to look in to find code that handles this? And what should I change? I have very unhappy people bugging me and I'm new here, and new to php and oscommerce so it's a bit of a learning curve to say the least!

 

Thanks in advance!

Posted

OK so i crawled around til I found it in index.php , seems the sort function is buggy. I commented out the block of code that sorts and it's all displaying fine again.

Archived

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

×
×
  • Create New...