Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Location
    Norway
    Posts
    195
    Plugin Contributions
    0

    Default New products for ????

    Hey
    The text "New products for November" is not quiet correct default value.

    In admin max alues yoou can limit Newe products to 30 days, but this still not amking the statement that the products are new in november when they are new in Oktober.


    Just call this "New produkts" or something will fix it

    :)

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

    Default Re: New products for ????

    You would need to customize the defined constant for this ...

    A search on the text:
    New Products For

    in the Tools ... Developers Tool Kit ...

    utilizing the bottom input box would find this in your main language file:
    PHP Code:
      define('TABLE_HEADING_NEW_PRODUCTS''New Products For %s'); 
    Copying this to your templates and overrides directory would allow you to customize the text so that it doesn't include the name of the month in the module:
    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;
      } 
    where it is inserting the name into the define of that constant ...

    Once changed, it will read the way you need it to read for your particular site ...
    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. v151 Show new-label (small image) on product listings for new products
    By manage-it in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 8 Feb 2015, 06:33 PM
  2. Replies: 29
    Last Post: 19 Sep 2014, 03:43 AM
  3. Inserting a New Title instead of "New Products for (insert month)
    By rarinstructors in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Feb 2011, 09:34 PM
  4. How Display a NEW logo or icon in product listing for new products
    By triumph in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 29 Dec 2010, 09:35 AM
  5. Replies: 4
    Last Post: 20 Jun 2009, 04:06 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