Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Products per page


PVK

Recommended Posts

Posted

Does anyone know how to make it possible to set the amount of products [and thus also all other pages ] in the admin to be independant from the amount of products the customer gets to see when they enter the site ?

 

I mean : Standard you enter a number in the admin to show how many products you want to show per page in your catalog which is the part the customer sees.

 

From my admin side this pretty much sucks since i may want to see EG 150 products per page.

 

 

Is this possible and if yes how ?

Posted

try:

 

go into the relevant underlying admin php page and where u see something limited by MAX_DISPLAY_SEARCH_RESULTS replace with '150'.

Your online success is Paramount.

Posted

Thanks yesudo, that worked half.

it indeed shows the amount chosen as you suggested, only the pagelinks on the bottom and the text link still think that they are showing the amount set in max search results .

Which isn't all that bad, but a bit confusing for people who do not know what has changed, which will lead them to think something is :blink: up since the click on a page and still get the same results [logically since we are showing all results]

 

The other question for which i think you know how to handle this is the following:

 

In categories it automatically DO show all the items in a certain categorie, which is fine for 200 products, but my categories consists out of more than 2000 items, which makes the list a bit on the long side :D [funny innit, since now i want to limit these pages ] but of course it would need something like a previous / next button or dropdown page links thingy [as used throughout the entire admin]

 

Any ideas :P

Posted

look at one of the pages where this function does exist - split page results I think it is called and duplicate that.

Your online success is Paramount.

Posted

Change it here also notice I changed mine to 100

<td class="smallText" valign="top"><?php echo $products_split->display_count($products_query_numrows, '100', $HTTP_GET_VARS['page'], TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td>

<td class="smallText" align="right"><?php echo $products_split->display_links($products_query_numrows, '100', MAX_DISPLAY_PAGE_LINKS, $HTTP_GET_VARS['page']); ?></td>

Archived

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

×
×
  • Create New...