网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 网站建设 > ZenCart
User Name
Password
 
FAQ Members List Calendar Cheap Glasses Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1   IP: 117.95.89.159
Old 2016-04-09, 10:40 AM
Richwoods Richwoods is offline
初级会员
 
Join Date: 2005-03-16
Posts: 1
Richwoods 现在声名狼藉
Default ZenCart v1.5.5. remove or change greeting “Welcome Guest! Would you like to log yours

商店设置-布局设置-顾客欢迎词 - 显示在首页

1.Log into your ZenCart admin panel and go to Configuration -> Layout Settings

2.Click on “Customer Greeting – Show on Index Page”, select “0” and click on the “update” button:

3.Refresh the site to see the changes


To change the welcome greeting, perform the following steps:

1.Open index.php located in includes/languages/english/themeXXX/ where XXX stands for your theme number with any code editor (DreamWeaver, Notepad++, Sublime, etc.) and locate the following code approximately on Line 21:

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.');
}
define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');



2.Make the back up of this file first (that means make a copy of the file, so that you can revert the changes back in case something goes wrong).

3.Edit the text between the single quotes to your own and save the changes.

* Change the first define statement if you are using your ZenCart as a normal store.

e.g. define(‘TEXT_GREETING_GUEST’, ‘Welcome to our store!’);

Change the second define statement if you are using your ZenCart as a showcase.

e.g. define(‘TEXT_GREETING_GUEST’, ‘Welcome to our showcase.’);

Change the third define statement for either a normal store or showcase.

e.g. define(‘TEXT_GREETING_PERSONAL’, ‘Welcome back <span class="greetUser">%s</span>! Check what’s <a href="%s">new</a>!’);
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
zen-cart v1.5.5 How do I change the "Congratulations! you have successfully installed Questa ZenCart 1 2016-04-03 04:06 PM

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 10:48 AM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.