[-] FO : Fix #PSCFV-6307 correct invoice address in OPC

This commit is contained in:
root
2013-01-03 18:35:01 +01:00
parent 29f8ad0a32
commit 76e03d9d38
+6
View File
@@ -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(