1.5.0
paypal express override shipping with paypal address for loggedin users, it's annoying
here's the answer if you want to hide the confirm address
change
PHP Code:
if ($_SESSION['cart']->get_content_type() == 'virtual' && isset($_SESSION['customer_id']) && $_SESSION['customer_id'] > 0) { $this->zcLog('ec-step1-addr_check', "cart contents is virtual and customer is logged in ... therefore options['NOSHIPPING']=1"); $options['NOSHIPPING'] = 1; } else { $this->zcLog('ec-step1-addr_check', "cart content is not all virtual (or customer is not logged in) ... therefore will be submitting address details"); $options['NOSHIPPING'] = 0;
to
PHP Code:
if ($_SESSION['cart']->get_content_type() == 'virtual' && isset($_SESSION['customer_id']) && $_SESSION['customer_id'] > 0) { $this->zcLog('ec-step1-addr_check', "cart contents is virtual and customer is logged in ... therefore options['NOSHIPPING']=1"); $options['NOSHIPPING'] = 1; } else { $this->zcLog('ec-step1-addr_check', "cart content is not all virtual (or customer is not logged in) ... therefore will be submitting address details"); $options['NOSHIPPING'] = 1;
in /includes/modules/payment/paypalwpp.php
does not effect new account address population
Bookmarks