Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    Upstate NY
    Posts
    232
    Plugin Contributions
    0

    Default [Not a bug] TEXT_NO_PRODUCTS not defined

    Definition of TEXT_NO_PRODUCTS is missing from
    /includes/languages/english/specials.php and /includes/languages/english/featured_products.php

    On a fresh install with no featured products I got TEXT_NO_PRODUCTS as the page heading.

    Adding the following line to specials.php and featured_products.php fixed the issue

    define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');


  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: TEXT_NO_PRODUCTS not defined

    I'm not sure how you arrived at that scenario.

    When I do a fresh clean install, without demo products, and visit the index.php?main_page=featured_products page, I get a friendly message saying:
    More featured products will be added soon. Please check back later.
    And for main_page=specials, there is no error, and no TEXT_NO_PRODUCTS message. Just an empty section of the page.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 27 Aug 2013, 11:37 PM
  2. v151 "Uncaught ReferenceError: jQuery is not defined" Zen Lightbox not working
    By Pointylimbs in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 14 Jun 2013, 04:13 PM
  3. Replies: 1
    Last Post: 23 Feb 2011, 03:57 PM
  4. [Not a bug] Don't know if this is a bug or not
    By CCTVSupply2000 in forum Bug Reports
    Replies: 8
    Last Post: 7 May 2007, 05:28 AM
  5. [Not a Bug] EZ-Page Links IE bug when first clicking
    By NamSingh in forum Bug Reports
    Replies: 11
    Last Post: 25 Dec 2006, 03:40 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