Results 1 to 5 of 5
  1. #1
    Join Date
    May 2008
    Posts
    16
    Plugin Contributions
    0

    Default Price Unavailable

    I have my site set up where visitors must create an account and log in to view my prices. The problem is I do not like 'Price Unavailable' under all my products, is there a way to change what this says?

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Price Unavailable

    You'll have to edit your english.php file.

    The core file is in:-

    includes/languages/english.php

    Open a COPY of this file on your hard drive, with a proper TEXT EDITOR such as NotepadPlus, or Crimson Editor. Do NOT use editors that format text.

    The phrase occurs in two places...

    On or near Line #513 : define('TEXT_LOGIN_FOR_PRICE_PRICE','Price Unavailable');

    On or near Line #520 : define('TEXT_AUTHORIZATION_PENDING_PRICE', 'Price Unavailable');

    Change the text between the two latter single quote marks, making sure to leave the quote marks intact.


    On or near Line #513 : define('TEXT_LOGIN_FOR_PRICE_PRICE','YOUR TEXT HERE');

    On or near Line #520 : define('TEXT_AUTHORIZATION_PENDING_PRICE', 'YOUR TEXT HERE');

    SAVE the file, then you must put it into your CUSTOM template folder. (On a standard install, this is the " classic " folder).

    includes/languages/classic/english.php

    (If you use another template)...

    includes/languages/YOUR_TEMPLATE/english.php

  3. #3
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Price Unavailable

    You can search for text and programming strings in the core files using the in-built DEVELOPERS TOOL KIT. This is in your Zencart Admin Panel under TOOLS.

    This facility allows you to search for things - typically labels such as you are looking to change - in the core files.

    There are many posts on this forum that describe the OVER-RIDES system in Zencart, and you would do well to read these.

  4. #4
    Join Date
    May 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Price Unavailable

    thanks for the quick responses! You know most of the features and everything is pretty self explainatory but its the little things that I can never figure out!

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

    Default Re: Price Unavailable

    .

    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. Price Unavailable and Log in for price
    By cassiedesigns in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Apr 2009, 04:30 AM
  2. Price Unavailable
    By greenlight in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 7 Sep 2008, 02:37 PM
  3. Price Unavailable
    By cristaltech in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Apr 2007, 06:05 AM
  4. Price Unavailable
    By CnTGifts in forum General Questions
    Replies: 9
    Last Post: 6 Mar 2007, 03:31 AM

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