Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: New product for month error

    Change your settings in the Admin>Configuration> Maximums> New Product Listing, Limited to ...

  2. #2
    Join Date
    Jan 2006
    Posts
    224
    Plugin Contributions
    0

    Default Re: New product for month error

    that is not the problem, I can set it to show 3 items or 6 items with that setting. The issue here is, The heading of that segment is 'New Products for June', and the 3 or 6 items showing is added in in Jan or Feb, not Jun. So its not just New products, its showing everything...

  3. #3
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: New product for month error

    Open your admin and follow my instructions above ^^^^

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New product for month error

    I believe what you might be referring to is that if you choose 120 days it still reads the current month ...

    The code is designed to show the current month based on the define ...

    You can alter this in the module using an override for the file:

    /includes/modules/new_products.php

    and changing this code to what you like ...
    PHP Code:
      if ($new_products->RecordCount() > 0) {
        if (isset(
    $new_products_category_id) && $new_products_category_id != 0) {
          
    $category_title zen_get_categories_name((int)$new_products_category_id);
          
    $title '<h2 class="centerBoxHeading">' sprintf(TABLE_HEADING_NEW_PRODUCTSstrftime('%B')) . ($category_title != '' ' - ' $category_title '' ) . '</h2>';
        } else {
          
    $title '<h2 class="centerBoxHeading">' sprintf(TABLE_HEADING_NEW_PRODUCTSstrftime('%B')) . '</h2>';
        }
        
    $zc_show_new_products true;
      } 
    What Kim is referring to is the setting for the Actual New Products that are displayed based on when you added these products and what date period they should cover ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. New Product for {month} are not new
    By simplelittlebaby in forum Basic Configuration
    Replies: 2
    Last Post: 4 Sep 2010, 03:22 AM
  2. New product for (month) not showing FF
    By dealman876 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 May 2010, 04:15 PM
  3. Disable new product for (month)
    By znowflake in forum General Questions
    Replies: 8
    Last Post: 21 Sep 2009, 02:54 PM
  4. how do I change "New Products for 'month' and 'monthly specials for 'month'
    By Fatum in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Mar 2008, 07:08 PM

Posting Permissions

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