Results 1 to 3 of 3
  1. #1
    Join Date
    May 2008
    Location
    Near the water, somewhere...
    Posts
    126
    Plugin Contributions
    0

    Default Simple php tweak needed

    Items I have entered as

    product general

    when the individual item is being displayed, it's supposed to be showing its Catalog # like this

    * Catalog #: 2002

    but instead I'm getting this

    * TEXT_PRODUCT_MODEL2002

    I'm sure that (perhaps) somewhere in the

    tpl_modules_product_listing.php (I think that's the right one)

    in the

    /public_html/estore/includes/templates/template_default/templates/

    directory there's a quote missing, or added or something.

    Any clues?

    Doug

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Simple php tweak needed

    This is the output to expect when the constant (TEXT_PRODUCT_MODEL) is being called correctly, but is not defined.

    Look in the language files for this (using the Developers Toolkit in admin > Tools) to find where it should be defined.

    If there is a problem in the calling file, it will be in
    /includes/templates/your_template/templates/tpl_product_info_display.php. Any files in /template_default/ should never be modified; you should have a set of custom template folders to hold modified files.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Simple php tweak needed

    .

    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. somwhat simple mysql query needed.
    By tony_sar in forum General Questions
    Replies: 1
    Last Post: 1 Oct 2009, 01:57 AM
  2. simple two column template - needed
    By vitaman in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 Jan 2008, 06:20 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