[+] Core : added a boolean in the database (guest/cart/order) in order to know if the customer used the mobile theme for the order

This commit is contained in:
Damien Metzger
2013-02-28 15:23:03 +01:00
parent a753bfc23e
commit 8b2e9fb08e
9 changed files with 57 additions and 12 deletions
+1
View File
@@ -227,6 +227,7 @@ abstract class PaymentModuleCore extends Module
$order->recyclable = $this->context->cart->recyclable;
$order->gift = (int)$this->context->cart->gift;
$order->gift_message = $this->context->cart->gift_message;
$order->mobile_theme = $this->context->cart->mobile_theme;
$order->conversion_rate = $this->context->currency->conversion_rate;
$amount_paid = !$dont_touch_amount ? Tools::ps_round((float)$amount_paid, 2) : $amount_paid;
$order->total_paid_real = 0;