Knowledgebase
I always get an entry in state field for shipping address even if shipping address is not used.
Posted by Nick Poindexter on 04 March 2010 05:31 PM
The $userinfo array is being populated incorrectly in the cart.php file. This should be empty, but it populated with the default address on some X-Cart stores. To fix:

Open the cart.php file and change this (near the bottom):

// Checkout One :: www.alteredcart.com //
if ($active_modules['Checkout_One'])
require $xcart_dir."/modules/Checkout_One/checkout_one_cart.php";
// End Checkout One //


to this:

// Checkout One :: www.alteredcart.com //
if ($active_modules['Checkout_One']){
if (!$login)
$userinfo = '';
require $xcart_dir."/modules/Checkout_One/checkout_one_cart.php";
}
// End Checkout One //

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