Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pagination for new products on the main home page


drew020

Recommended Posts

Posted

anyone know how to add pagination for new products on the main home page?

i tried to reuse the code from other page but it doesnt work

 

if (($products_new_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3'))) {

<div>

<span style="float: right;"><?php echo TEXT_RESULT_PAGE . ' ' . $products_new_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></span>

 

<span><?php echo $products_new_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS_NEW); ?></span>

</div>

 

}

Archived

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

×
×
  • Create New...