[-] FO : Fix #PSCFV-6307 correct invoice address in OPC
This commit is contained in:
1 parent
29f8ad0a32
commit
76e03d9d38
1 file changed
+6
@@ -219,6 +219,12 @@ class AddressControllerCore extends FrontController
|
||||
else // Update cart address
|
||||
$this->context->cart->autosetProductAddress();
|
||||
|
||||
if (Tools::getValue('type') == 'invoice' && Configuration::get('PS_ORDER_PROCESS_TYPE'))
|
||||
{
|
||||
$this->context->cart->id_address_invoice = (int)$address->id;
|
||||
$this->context->cart->update();
|
||||
}
|
||||
|
||||
if ($this->ajax)
|
||||
{
|
||||
$return = array(
|
||||
|
||||
Reference in new issue
Block a user