How to add a new static page in X-Cart
Sometimes you’ll need to add a new static page for your X-Cart store/e-commerce website such as Terms and Conditions, How It Works, more info,… so this is not so difficult to execute.
Step 1: Login to store Admin
Step 2: Click on “Static Pages” menu under Administrator, click on Add new button to add a new page. Give the page a title, and page filename. You can also enable or disable the page here.
Step 3: Input some page contents or html codes in the Page content box. Save it.
Step 4: You’ll need a menu item on the top of the page or at the footer position to link to this new page. Now, click on Speed Bar to create a new menu item that links to this new static page.
You’re done.

How to add a new menu item for X-Cart website
Login to the store Admin, you’ll find “Speed Bar” menu under Administration category. Define the link title and the URL that links to that menu item. Remember to check Active checkbox for that new menu item. For the URL, you can point to an external URL such as http://www.google.com, or you can link it to a static webpage on your website such as Terms & Conditions, or Privacy Policy, or How it works.


How to move X-Cart and its database to a new hosting server
- Make sure that you close your store. Log in to X-Cart Admin, click on Store Maintenance and check the close store.
- Use phpMyAdmin provided by your hosting server provider. Export all tables of your X-Cart database to a .sql file
- Go to the new hosting server, create a database and import this .sql file to new server. Some data may cause a corruption during the import.
- Make sure that no files in your root directory have names similar to those in your X-Cart directory, otherwise they’ll be a overwritten or the files will not be able to be moved.
- Using an FTP program, or File Manager program such as that available in cPanel, Plesk, and/or other web hosting control program, move all of your files from the xcart folder to the root. Be sure that your .htaccess files are also transferred as sometimes these files are hidden by FTP programs.
- Using a file editor, open your config.php and find:
$xcart_web_dir = '/xcart';
- You also need to modify the Database host server, username and password that is existing on the new server.
$sql_host = 'localhost'; $sql_db = 'newdbname'; $sql_user = 'newusername'; $sql_password = 'newpassword';
- You will also need to modify the file .htaccess file (be sure to substitute example.com with your domain name).
- Clear your template cache by visiting http://www.example.com/cleanup.php
- Manually change any hard-coded links throughout your site. While the code from step 6 will ensure that links are
How to add an extra data for each product in X-Cart
If you want to add an extra information about a product, login to Store Admin, click on “Extra Fields” on the menu. Add a new field. Remember to give it a field name without a space. Ex. product_year. Then click button “Add New”
Now go back to product modification/add page, you’ll see this new extra field. The value allows only 255 characters, so you don’t want to type some text longer than that because it won’t be saved to your database.
Now if you want to display this value, go to skin/customer/main/product.tpl, modify some Smarty template codes that is related to this extra field. Use exact field name that you already defined earlier. Save the page. Now go to each product page, you’ll see the value there.
How to integrate X-Cart with your phpBB Forums?
Many of you already have an existing phpBB forums on your server. Now you will need to build a function inside the forums root directory to accept customer’s profile information includes Login, Password, and Email address from X-Cart software.
In X-Cart software root directory, you will have another function that will retrieve customer’s information. At the end of function, you will need to redirect the customer to the forums front page and auto-login.
If you are not sure about how the 2 functions look like, please send us an email at info@mynetworksolution.com