Knowledgebase
Problem with EZ upsell on x-cart 4.01
Posted by - NA - on 25 September 2012 03:58 PM
Solution Due to a bug in x-cart 4.01 you may find the ezupsell mod does not install correctly, in order to fix this issue please do the following


In the wishlist.php this code was causing the problem:

if ($login == "" && ($REQUEST_METHOD == "POST" || $mode == "wishlist")) {
func_header_location("cart.php");
}

Change it to:

if ($login == "" && ($REQUEST_METHOD == "POST" || $mode == "wishlist") && $mode != "add") {
func_header_location("cart.php");
}

Possibly a bug in X-Cart seeing this is an early version of the 4.x branch (4.0.1), this would overwrite x-cart's handling also making it always go to cart.php

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: