Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Products Catalog only shows first page


superdre

Recommended Posts

Posted

Hi there,

Little by little and with your help i´m solving the problems, still have this:

 

in my oscommerce the products shows in one page, don´t have the next pages with the 1 - 2 - 3 links, i do did some modifications in some files like "product_listing" and "producto_info" an maybe others, maybe a delete some part of the code, some table. Does anyone know in wich file and what part of the code i have missing ??

 

thanks a lot !

Andrea.-

Posted

Hi Andrea,

 

catalog/includes/modules/product_listing.php

this code at bottom of that page does the page 1 page 2 etc

 

  if ( ($listing_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
   <td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td>
   <td class="smallText" style="text-align: right;"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td>
 </tr>
</table>
<?php
 }
?>

 

make sure its there, if not add it

 

Steve

Posted

Hi Andrea,

 

catalog/includes/modules/product_listing.php

this code at bottom of that page does the page 1 page 2 etc

 

  if ( ($listing_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
   <td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td>
   <td class="smallText" style="text-align: right;"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td>
 </tr>
</table>
<?php
 }
?>

 

make sure its there, if not add it

 

Steve

 

Steve, you were super Right, it was that. Thanks a lot !!!

Andrea.

Archived

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

×
×
  • Create New...