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

This commit is contained in:
root
2013-01-03 18:35:01 +01:00
parent 9513a9e599
commit ce24ce6d1b
+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(