osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Bug - specials.php page displays to few products

This is a discussion on Bug - specials.php page displays to few products within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; The specials box on the front of the store works correctly and the number of products is controlled by the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-09-2003, 09:14 AM
New Member
 
Join Date: Sep 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Redbeard
Default Bug - specials.php page displays to few products

The specials box on the front of the store works correctly and the number of products is controlled by the setting in admin, just as it should work. If you go to the specials page though (click the little arrow in the title bar of the specials box), the number of products is still limited by the setting for specials in admin, meaning you probably only see 3 products per page, rather than the number you see on most product listing pages.

Very simple fix:
In specials.tpl.php, around line 15, change:
Code:
$specials_split = new splitPageResults($specials_query_raw, MAX_DISPLAY_SPECIAL_PRODUCTS);
to:

Code:
$specials_split = new splitPageResults($specials_query_raw, MAX_DISPLAY_SEARCH_RESULTS);
The page will now display the same number of products as a product listing page which seems more appropriate.

Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-09-2003, 11:11 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,330
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Redbeard, good find
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
modifying product displays on the main page siamsens osCMax v2 Customization/Mods 1 05-01-2007 07:35 AM
Really confused, admin catalog page displays empty??? b5b4you osCMax v2 Installation issues 4 08-11-2006 11:44 AM
Specials nad New Products jgkiefer osCMax v1.7 Discussion 0 07-24-2004 07:26 AM
New Products box - I want Specials Red Strikeout Text kacheng osCommerce 2.2 Modification Help 4 03-04-2004 11:27 AM
Specials and New Products boxes warrenthewindmill osCMax v1.7 Discussion 2 12-01-2003 10:10 AM


All times are GMT -8. The time now is 02:55 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax