Home
 

Customer Support

Search for keywords:

Browse by category:

How can I optimize my X-cart store?

X-Cart is a commercial ecommerce package sold and supported by Qualiteam.

Please reference the list of optimization techniques from Qualiteam.

  • Set up an HTML Catalog.
  • X-Cart archives tracking statistics in your store's database. In time, these stats use millions of rows and slow down your database queries. If you clear the statistics, you will notice a significant boost in store performance.

    To clear the statistics:
    Login to your store administration area.

    Click "Summary" in the Administration panel.

    On the next page that loads, scroll down to the "Statistics clearing" heading.

    Check "Clear all tracking statistics" and then click "Apply."

    Clearing the stats may time out because there is so much data. In the case of a timeout, just click "Apply" again.



User-Contributed Notes

add a note
30-Aug-2005 10:36
If you are running x-cart 4x and want to display the load time you can
add this to auth.php (in your x-Cart root dir). After if you view the
source at the very bottom there will be a comment showing the load
times.

Just add this to the top of your auth.php file in the section you wish
to check runtimes on.

Code:

function func_microtime2()
{
   list($usec, $sec) = explode(" ", microtime());
   return ((float)$usec + (float)$sec);
}
define('START_TIME',func_microtime2());

The times it will show will be the most accurate since the start time is
recorded very near the beginning of the execution of your scripts. 

This won't work with the html catalog though.

Jon
12-Apr-2006 23:12
Here's a complete tutorial you can use to speed up your installation:
http://www.websitecm.com/news/14/Speed-up-your-XCart-Installation.html

03-May-2007 02:09
There is no need to hardcode additional functions into X-Cart to
implement the benchmark. 

1. In X-Cart v4.0.x:

Append the GET variable benchmark=Y to the store URL, so it will look
like:
http://yourdomain.com/home.php?benchmark=Y
If you open the source of this page you'll see benchmarking report at
the very end of the page.

2. In X-Cart 4.1.x:

Edit file 'top.inc.php' and replace the line:

define('BENCH', false);

with this one:

define('BENCH', true);

Additionally replace the line:

define('BENCH_SIMPLE', true);

with this one:

define('BENCH_SIMPLE', false);

You'll see benchmarking report at the bottom of your pages.

Sincerely your,
Qualiteam Support

add a note

Related Questions:


How do I promote my website and get listed by search engines?

What is an SSL Certificate?

Can you generate a CSR (Certificate Signing Request) so I can get a secure certificate for my website?

Why does my ecommerce website need SSL?

How do I use the shared SSL certificate?

What is the difference between using Modwest's secure certificate and getting my own?

Can I use an SSL certificate that I already bought elsewhere?

Can I use the same SSL cert for www1.domain.com and www2.domain.com?

What are my turn-key ecommerce and credit card processing options?

Where can I get an e-store for my website?

How can I start selling products or services through my website?

How do I renew a THAWTE SSL certificate?

Can my E-Commerce Plan shopping cart receive credit card payments securely?

How do I backup my Miva store before upgrading?

Must I have an E-Commerce hosting plan in order to sell products or services on my website?

I want to upgrade my Miva Merchant store software.

I need my Miva License number to signup for Miva phone support.

I'm having trouble with Miva.

In Miva Merchant, I get the error, "Missing Required Shipping Information" or similar.

What if I live outside the U.S. and want to use an E-Commerce website to accept credit card payments.

Browse Categories:

Getting Started, FTP, Telnet/SSH, Moving Domains, E-mail, Traffic Reports, Mailing Lists, Apache, PHP, CGI, Other Server-Side Scripting, MySQL Database, Imaging Libraries, Other Software, Billing & Terms, Control Panel, E-commerce, Pre-Sales


Tiny Modwest Logo         Copyright 2000-2008 by Modwest, Inc.          About Us    |    Blog    |    Jobs    |    Web Design    |    Contact Us