Set number of products displayed per page

Description
This mod will allow your customers to set the maximum number of products to be displayed per page.
Forum Support Thread

Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3
Original Author yellow1912
Last Updated by rbarbour - 24 Jun 2014
Downloads 3,346

Version History

Set number of products displayed per page   -   Version: 1.3a
Bug Fix - Changed ADMIN CONFIG to match what was added to configuration. Post #122

Display Fix - Added existing class "back" so the links/drop-down doesn't clobber the next/previous links. Post #120

Clean Up - Cleaned up the code in Example File (/includes/templates/YOUR_TEMPLATE_NAME/templates/tpl_modules_product_listing.php) for easier merging.
 
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3
Date Added 24 Jun 2014
Author rbarbour
File Size 37.7 KB
PHP 5.3 Safe? No
Downloads 569
 
Set number of products displayed per page   -   Version: 1.3
1.) It now utilizes the init_system for:

- less merging into the product_listing.php file
- to ease ZC upgrades
- to carry $_SESSION['product_listing_max_display'] from 1 category to the next remembering # of products to display

2.) I added an "active" class for selected links (post 98 & 104)
3.) Re-coded for HTML Validation
4.) Includes the product_listing.php file for:

- Flexible Product Listing
- Column Layout Grid for Product Listing
- SNAF

Only the $max_results code needs merging now! (post 108)

5.) Includes the stock tpl_modules_product_listing.php file to ease merging process.
 
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3
Date Added 15 Mar 2014
Author rbarbour
File Size 35.6 KB
PHP 5.3 Safe? Unknown
Downloads 214
 
Set number of products displayed per page   -   Version: Version 1.2
Combined Number List version and Dropdown version functions file (set_num_products_dd.php).

Added an ADMIN control to choose Display Option, default value = true (to display as dropdown). Simply set to false to view as Number List.

Added a sql file just to add new ADMIN Control (upgrade_set_num_products.sql)

Updated readme.html file to ease the install process.
 
Zen Cart® Versions v1.3.9, v1.5.0, v1.5.1
Date Added 22 Apr 2013
Author rbarbour
File Size 16.6 KB
PHP 5.3 Safe? Yes
Downloads 527
 
Set number of products displayed per page   -   Version: 1.1
I simply added an additional ( optional ) .php file ( set_num_products_dd.php ) to have the number of products to be displayed as a dropdown.

I also updated the instruction to display the dropdown on the product listing page.
 
Zen Cart® Versions v1.3.9, v1.5.0, v1.5.1
Date Added 28 Sep 2012
Author rbarbour
File Size 14.4 KB
PHP 5.3 Safe? Yes
Downloads 453
 
Set number of products displayed per page   -   Version: 1.0
put code in divs, added##ids and classes, enabled mod to be switched off from admin
expanded readme
 
Zen Cart® Versions v1.3.9
Date Added 19 Sep 2010
Author torvista
File Size 11.5 KB
PHP 5.3 Safe? Yes
Downloads 1,184
 
Set number of products displayed per page   -   Version: alpha 1
 
Zen Cart® Versions
Date Added 3 Sep 2007
Author yellow1912
File Size 4.2 KB
PHP 5.3 Safe? Unknown
Downloads 399
 


disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR