Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / product display limit

product display limit

Locked

Views: 586

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
13 Jul 2016, 5:24 AM
#1
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

product display limit

I have a clean install of 155a. Using even the classic green template, if I have one product in a category, the product displays as it should. But if I add any more products to that category, I get no products displaying. This happens with responsive templates also, which would suggest a configuration issue or a malfunction of some kind.

I have checked the relevant configuration elements, but all seems in order. Chrome developer tools shows nothing in centerColumn under productListHeading.

http://http://www.balloonforkids.com.au/online/index.php?main_page=index&cPath=1_2

currently has 2 products live.

13 Jul 2016, 5:37 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: product display limit

You'll need to check your /logs folder for any debug files and look at any changes you made to the code either through direct editing or the addition of a module.
Something is stopping page load after the break.

13 Jul 2016, 5:47 AM
#3
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: product display limit

godt:

I have a clean install of 155a. Using even the classic green template

http://http://www.balloonforkids.com.au/online/index.php?main_page=index&cPath=1_2

currently has 2 products live.You say you have a "clean install"
However I can see that you have "Slimbox" installed?
What other alterations have you made?
Did it works before you added Slimbox?

13 Jul 2016, 6:43 AM
#4
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: product display limit

Quite right. I lost track trying to sort out this mess. I have installed westminster_new template. And all the errors are like t his:

[13-Jul-2016 04:38:46 UTC] PHP Fatal error: Class 'splitPageResults' not found in /home/.../online/includes/templates/westminster_new/templates/tpl_dgReview.php on line 25

[13-Jul-2016 05:43:02 UTC] PHP Fatal error: Class 'splitPageResults' not found in /home/balloonf/public_html/online/includes/modules/product_listing.php on line 15

The file product_listing.php is modified by the template, and line 15 is

$listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_PRODUCTS_LISTING, 'p.products_id', 'page');

But I don't know what this is telling me as the line is identical in the stock 155a version of the file:

$listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_PRODUCTS_LISTING, 'p.products_id', 'page');

13 Jul 2016, 6:57 AM
#5
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: product display limit

I do now. A mess of my own making. Hadn't uploaded /includes/classes/split_page_results.php.

That shouid fix all the errors logged. And I should do something else. Thanks for your responses.

13 Jul 2016, 10:18 AM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: product display limit

Also be sure to apply (if the template hasn't been updated on the website) the "patches" identified here.

13 Jul 2016, 11:10 AM
#7
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: product display limit

I discovered several related posts and after following through on them decided to delete the whole thing and start from scratch. All in the interests of thoroughness and consistency. Somewhat lacking in thoroughness obviously, because in that process I failed to upload /includes/classes/split_page_results.php. Hence the errors.

Having done that, and applied the patches, all is well. Your assistance is much appreciated.