I’ve been using X-Cart shopping software with our e-commerce clients for quite a while so I know fairly well how to install and configure it. But this time it didn’t go as smooth as I thought it would be.

*This is for localhost installation only.

If you encounter this error

Your browser doesn’t accept cookies. Cookies are required to use this site. Please enable cookies and press the continue button

The solution would be to comment out the following line/s of code

on config.php find

$xcart_https_host ="localhost";

change to

#$xcart_https_host ="localhost";

and on init.php find

$_tmp = parse_url($https_location);
$xcart_https_host = $_tmp["host"];
unset($_tmp);

change to

#$_tmp = parse_url($https_location);
#$xcart_https_host = $_tmp["host"];
#unset($_tmp);

If this doesn’t solve your problem, there’s always the X-Cart Forum.