Hi,
Wondering how to get rid of or modify the following on my site halfway down the page (http://hissigns.com/zencart/index.php?main_page=index):
HEADING_TITLE
TEXT_GREETING_GUEST
What does this do?
Hi,
Wondering how to get rid of or modify the following on my site halfway down the page (http://hissigns.com/zencart/index.php?main_page=index):
HEADING_TITLE
TEXT_GREETING_GUEST
What does this do?
TThose are constants that should have defined text to display
Most commonly when a constant is displayed, it is the result of a mis-edited file
The developers tool kit can assist in locating them
https://www.zen-cart.com/tutorials/index.php?article=38
https://www.zen-cart.com/tutorials/index.php?article=39
Those are defined in includes/languages/english/index.php (or, if you've edited it, includes/languages/english/theme238/index.php), so that file is either missing, mis-edited or corrupted.
The kobra is quick ...
That constant is defined in index.php. You've evidently incorrectly edited the file.
The original file (includes/languages/english/index.php) contains the following:
Copy/paste those lines into includes/languages/english/YOUR_TEMPLATE/index.php (where YOUR_TEMPLATE is the name of your custom template). If you don't want any greeting, change them to:Code:// Showcase vs Store if (STORE_STATUS == '0') { define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?'); } else { define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.'); }
I made the single quotes different colors to make it clear.Code:// Showcase vs Store if (STORE_STATUS == '0') { define('TEXT_GREETING_GUEST', ''); } else { define('TEXT_GREETING_GUEST', ''); }
As you have a template monster template it may or may not respond to standard settings as they take license with the way they code them
For the "TEXT_GREETING_GUEST", there is still a mis edit
but there is an admin switch for it in
admin > config > layout settings
admin > config > layout settings > Customer Greeting - Show on Index PageWhich "Title"/"Value"/"Action" do I need to change?