'.$this->l('Summary of my order' ).' (#'.(int)$params['order']->id.')
'.$this->l('Order Status').'
'.($currentState->id == 8?'':($currentState->id == 18?'':'')).' '.$currentState->name.'
'.$this->l('My Cart').'
- ';
foreach ($cart->getProducts() as $key => $product) {
echo '
- '.$product['quantity'].' x '.mb_strimwidth($product['name'], 0, 35, "...").' '.Tools::displayPrice($product['total_wt'],$currency).' '; } echo '
'.$this->l('Products total').' '.Tools::displayPrice($cart->getOrderTotal(TRUE,1),$currency).'
'; if ($cart->getOrderTotal(TRUE, 2) != 0){ echo ''.$this->l('Discounts total').' '.Tools::displayPrice($cart->getOrderTotal(TRUE,2),$currency).'
'; } echo ''.$this->l('Shipping').'
'.$data['carrier_name'].' '.Tools::displayPrice($cart->getOrderTotal(TRUE, 5),$currency).'
'.$this->l('Delivery delays').'
'.$data['delay_name'].'
'; if(isset($data['delivery_date'])){ foreach($data['delivery_date'] as $k => $date) { if($k == 1) { echo ''.$this->l('Date de réception prévue entre le').' '.$date['date_start']->format('d/m/Y').' '.$this->l('et le').' '.$date['date_end']->format('d/m/Y').'
'; } elseif ($k == 5){ echo ''.$this->l('Livraison prévue avant le').' '.$this->l('24/12').'
'; } } } echo ''.$this->l('My shipping address').'
'.$data['order_address'].'
'.$this->l('My payment').'
'.$this->l('Total to pay').' '.Tools::displayPrice($cart->getOrderTotal(TRUE),$currency).'