Quote:
Originally Posted by imexhouse
Yeah, it's ezCheckout, ezRecommends and ezUpsell
That added.php file is an encrypted file for the mod.
|
Try insert next code in "cart.php"
PHP Code:
#back when cont shoping.
x_session_register("back_url");
if ($mode == "add")
{
$back_url = $_SERVER['HTTP_REFERER'];
}
$smarty->assign("back_url", $back_url);
after next lines:
PHP Code:
if (!empty($active_modules['Wishlist'])) {
if ($mode == 'add2wl' || $mode == "wishlist") {
require $xcart_dir."/include/remember_user.php";
} elseif (!empty($login) && !empty($remember_data) && ($mode == 'add2wl' || $mode == "wishlist" || $mode == 'add')) {
require $xcart_dir."/include/remember_user.php";
}
}
x_load('cart','user','order','tests');
Before the call "ezCheckout, ezRecommends and ezUpsell" in cart.php....
The form, when adding product into the card, sends the data on "cart.php? Mode = add".
When done redirection to "added.php", I do not know, because I do not have these modules.