[-] FO : replaced order id by order reference in the contact form (but kept the id_order for retrocompatibility) #PSCFV-5491
This commit is contained in:
@@ -280,7 +280,6 @@ class ContactControllerCore extends FrontController
|
||||
$tmp = $order->getProducts();
|
||||
foreach ($tmp as $key => $val)
|
||||
$products[$row['id_order']][$val['product_id']] = array('value' => $val['product_id'], 'label' => $val['product_name']);
|
||||
p(Tools::getValue('id_order'));
|
||||
$order_tab[] = array('value' => $order->id, 'label' => $order->getUniqReference().' - '.Tools::displayDate($date[0], $this->context->language->id), 'selected' => (int)Tools::getValue('id_order') == $order->id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user