![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
IP: 112.87.93.182
|
|||
|
|||
|
Tutorial detailing how to close an X-Cart store without tanking search engine ranking.
Using the "Check this to close your shop temporarily:" in your X-Cart admin -> general settings section will not allow customers to access your site effectively closing it, however this also prevents search engines from accessing your site pages and tells search engines that all pages have been directed to shop_closed.html. This can have a drastic consequence on search engine rankings. Instead, you can prevent orders from being processed and place a shop closed message on your stores pages with the following changes. Note the location of the .tpl files may differ if you are using a custom skin. You'll want to modify the files at the locations specific to your site. Open skin/common_files/customer/home.tpl Find: Code:
{include file="customer/home_main.tpl"}
Code:
<div style="padding: 10px; border: 1px solid #CCCCCC; background-color: #EAEAEA"> <h2>Shop Closed Temporarily</h2> We'll be open for orders again shortly, please check back soon! To place an order in the meantime please call 555-5555. </div> Find: Code:
<?php Code:
// WCM - Temporarily disable orders
header('Location: /');
// / WCM - Temporarily disable orders
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Modify Zen Cart to Use External Images | 上海公司注册 | ZenCart | 0 | 2012-06-21 11:56 AM |
| 有关Zen Cart的一些常用操作 | yahoo | ZenCart | 0 | 2009-12-01 09:36 PM |
| How to Install an Zen Cart Template | topvip | ZenCart | 0 | 2009-08-23 05:35 PM |
| X-Cart Multiple Input Validation Holes Permit SQL Injection and Cross-Site Scripting | topvip | X-Cart | 0 | 2009-07-21 10:03 AM |
| x-cart Template Editing Guide for 4.1.x | topvip | X-Cart | 0 | 2009-04-15 11:42 PM |