Knowledgebase
I always get an entry in state field for shipping address even if shipping address is not used.
Posted by - NA - on 04 January 2011 03:46 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: