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?
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?
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
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.
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!![]()
.
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.