![]() |
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
IP: 117.95.89.159
|
|||
|
|||
|
商店设置-布局设置-顾客欢迎词 - 显示在首页
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>!’); |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |