Results 1 to 2 of 2

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 ...

      
  1. #1
    New Member
    Join Date
    Sep 2003
    Posts
    5
    Rep Power
    0


    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Redbeard, good find
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •