View Single Post
  #47  
Old 12-28-2008, 01:20 PM
  davidsaldana's Avatar 
davidsaldana davidsaldana is offline
 

Senior Member
  
Join Date: Oct 2005
Posts: 187
 

Default Re: Show All Products in Catagory

Quote:
Originally Posted by WhiteDoveGifts
I have the exact same problem with one of my subcategories. It has a lot more products than other subcategories, that might be part of the issue. Anyone knows how to solve this blank page?

Secondly: I am using Smart Search from Alteredcart and noticed the "Show All" does not function on the search result pages. Anyone got that same thing working?

Did you realize that post 35 also takes a note from post 1? Make sure you did the Post 1 modification, that is noted in post 35 as well, which is below:
Quote:
Locate this section in the init.php around line #329:
Code:
#
# Read config variables from Database
# This variables are used inside php scripts, not in smarty templates
#
$c_result = db_query("SELECT name, value, category FROM $sql_tbl[config] WHERE type != 'separator'");
$config = array();
if ($c_result) {
while ($row = db_fetch_row($c_result)) {
if (!empty($row[2]))
$config[$row[2]][$row[0]] = $row[1];
else
$config[$row[0]] = $row[1];
}
}

Add this right after the closing if statment:

Code:
#
# Show All Mod By Westin Shafer for Beach Bums Inc.
#
if ($_GET['show'] == 'all'){
$config['Appearance']['products_per_page'] = 500;
}
__________________
4.4
Code:
Hello World
Reply With Quote