Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product online but missing in category?!


b1llyb0y

Recommended Posts

Hi all!

 

I have a product in particular that seems never to want to display when someone visits that category.

 

It is displayed in the "whats new for this month", it can also be found in the search function .. but simply does not display when entering the category and looking for it ..

 

Could someone shed some light on this?

 

Cheers!

Link to comment
Share on other sites

I should mention that when going to page 2, then clicking pack to page 1 the product will then show up .. but it will not show up when you enter that category for the first time.

Link to comment
Share on other sites

In case anyone ever experiences this problem themselves, I found the issue .

 

I had many months ago modified index.php to sort by final_price, which was the cause .. I have now simply changed it back to its default as shipped by oscommerce and it works a treat now.

 

So, if you modified your index.php change it back to its original and the issue should be resolved.

 

Original:

 

if ($column_list[$i] == 'PRODUCT_LIST_NAME') {

$HTTP_GET_VARS['sort'] = $i+1 . 'a';

$listing_sql .= " order by pd.products_name";

break;

}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...