Re: Mini-cart (or other functionality) on a non-xcart page
I used pcarcares tip for the auth.php to add;
@include_once $_SERVER['DOCUMENT_ROOT'] . "/store/top.inc.php";
@include_once "../top.inc.php";
@include_once "../../top.inc.php";
and this is what is causing the header output error messages although it does make the script run outside of the x-cart directory. But even if you could suppress the errors the other problem i ran into is the cookies dont work outside of the x-cart directories so the mini-cart would keep clearing.
If someone could figure this out this would be an awesome mod as more and more people are using ecommerce with Wordpress and other CMS type programs.
__________________
X-Cart Gold v4.3.1
|