[-] BO : fixed currency format on order creation
This commit is contained in:
@@ -684,18 +684,21 @@ class AdminCartsControllerCore extends AdminController
|
||||
$free_shipping = true;
|
||||
break;
|
||||
}
|
||||
return array('summary' => $this->getCartSummary(),
|
||||
'delivery_option_list' => $this->getDeliveryOptionList(),
|
||||
'cart' => $this->context->cart,
|
||||
'addresses' => $this->context->customer->getAddresses((int)$this->context->cart->id_lang),
|
||||
'id_cart' => $id_cart,
|
||||
'order_message' => $message_content,
|
||||
'link_order' => $this->context->link->getPageLink(
|
||||
'order', false,
|
||||
(int)$this->context->cart->id_lang,
|
||||
'step=3&recover_cart='.$id_cart.'&token_cart='.md5(_COOKIE_KEY_.'recover_cart_'.$id_cart)),
|
||||
'free_shipping' => (int)$free_shipping
|
||||
);
|
||||
return array(
|
||||
'summary' => $this->getCartSummary(),
|
||||
'delivery_option_list' => $this->getDeliveryOptionList(),
|
||||
'cart' => $this->context->cart,
|
||||
'currency' => new Currency($this->context->cart->id_currency),
|
||||
'addresses' => $this->context->customer->getAddresses((int)$this->context->cart->id_lang),
|
||||
'id_cart' => $id_cart,
|
||||
'order_message' => $message_content,
|
||||
'link_order' => $this->context->link->getPageLink(
|
||||
'order', false,
|
||||
(int)$this->context->cart->id_lang,
|
||||
'step=3&recover_cart='.$id_cart.'&token_cart='.md5(_COOKIE_KEY_.'recover_cart_'.$id_cart)
|
||||
),
|
||||
'free_shipping' => (int)$free_shipping
|
||||
);
|
||||
}
|
||||
|
||||
public function initToolbar()
|
||||
|
||||
Reference in New Issue
Block a user