Jmango360_Japi - Version 3.1.0

Version Notes

* Bug fixes

Download this release

Release Info

Developer Duc Ngo
Extension Jmango360_Japi
Version 3.1.0
Comparing to
See all releases


Code changes from version 3.0.4 to 3.1.0

Files changed (28) hide show
  1. app/code/community/Jmango360/Japi/Block/Form.php +11 -4
  2. app/code/community/Jmango360/Japi/Block/Js.php +53 -0
  3. app/code/community/Jmango360/Japi/Helper/Data.php +62 -1
  4. app/code/community/Jmango360/Japi/Helper/Product.php +21 -0
  5. app/code/community/Jmango360/Japi/Model/Observer.php +48 -1
  6. app/code/community/Jmango360/Japi/Model/Rest/Cart.php +13 -0
  7. app/code/community/Jmango360/Japi/Model/Rest/Cart/Update.php +3 -3
  8. app/code/community/Jmango360/Japi/Model/Rest/Cms/Page.php +12 -1
  9. app/code/community/Jmango360/Japi/Model/Rest/Product/Crosssell.php +0 -14
  10. app/code/community/Jmango360/Japi/Model/Server.php +7 -2
  11. app/code/community/Jmango360/Japi/controllers/CheckoutController.php +11 -0
  12. app/code/community/Jmango360/Japi/controllers/KcoController.php +71 -0
  13. app/code/community/Jmango360/Japi/etc/config.xml +16 -2
  14. app/code/community/Jmango360/Japi/etc/system.xml +38 -0
  15. app/design/frontend/base/default/layout/jmango360_japi.xml +95 -3
  16. app/design/frontend/base/default/template/japi/checkout/onepage/style.phtml +1 -1
  17. app/design/frontend/base/default/template/japi/js.phtml +98 -0
  18. app/design/frontend/base/default/template/japi/nwt/kco/cart/item/default.phtml +75 -0
  19. app/design/frontend/base/default/template/japi/nwt/kco/checkout.phtml +23 -0
  20. app/locale/en_US/Jmango360_Japi.csv +1 -0
  21. app/locale/fr_FR/Jmango360_Japi.csv +1 -0
  22. app/locale/it_IT/Jmango360_Japi.csv +1 -0
  23. app/locale/nl_NL/Jmango360_Japi.csv +1 -0
  24. app/locale/pt_BR/Jmango360_Japi.csv +1 -0
  25. app/locale/pt_PT/Jmango360_Japi.csv +1 -0
  26. package.xml +4 -4
  27. skin/frontend/base/default/japi/css/style.css +258 -1
  28. skin/frontend/base/default/japi/css/style.less +289 -1
app/code/community/Jmango360/Japi/Block/Form.php CHANGED
@@ -31,10 +31,17 @@ class Jmango360_Japi_Block_Form extends Mage_Core_Block_Template
31
  if ($this->_fields) return $this->_fields;
32
  switch ($this->_form) {
33
  case 'billing':
34
- $fields = array_merge(
35
- Mage::helper('japi')->getCustomerAddressFormFields(),
36
- Mage::helper('japi')->getCheckoutAddressFormFields()
37
- );
 
 
 
 
 
 
 
38
  $keys = array();
39
  foreach ($fields as $i => $field) {
40
  if (!in_array($field['key'], $keys)) {
31
  if ($this->_fields) return $this->_fields;
32
  switch ($this->_form) {
33
  case 'billing':
34
+ if (Mage::helper('core')->isModuleEnabled('Amasty_Customerattr')
35
+ && Mage::getStoreConfig('amcustomerattr/general/front_auto_output')
36
+ ) {
37
+ Mage::app()->getRequest()->setModuleName('checkout');
38
+ return array();
39
+ } else {
40
+ $fields = array_merge(
41
+ Mage::helper('japi')->getCustomerAddressFormFields(),
42
+ Mage::helper('japi')->getCheckoutAddressFormFields()
43
+ );
44
+ }
45
  $keys = array();
46
  foreach ($fields as $i => $field) {
47
  if (!in_array($field['key'], $keys)) {
app/code/community/Jmango360/Japi/Block/Js.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright 2017 JMango360
5
+ */
6
+ class Jmango360_Japi_Block_Js extends Mage_Core_Block_Template
7
+ {
8
+ protected $orderId;
9
+
10
+ protected function _construct()
11
+ {
12
+ parent::_construct();
13
+ $this->setTemplate('japi/js.phtml');
14
+ }
15
+
16
+ public function isShow()
17
+ {
18
+ /* @var $httpHelper Mage_Core_Helper_Http */
19
+ $httpHelper = Mage::helper('core/http');
20
+ return strpos($httpHelper->getHttpUserAgent(), 'JM360-Mobile') === false && Mage::app()->getRequest()->getModuleName() != 'japi';
21
+ }
22
+
23
+ public function setOrderId($orderId)
24
+ {
25
+ $this->orderId = $orderId;
26
+ return $this;
27
+ }
28
+
29
+ public function getOrderId()
30
+ {
31
+ return $this->orderId;
32
+ }
33
+
34
+ /**
35
+ * @param $uri string
36
+ * @param $orderID string
37
+ * @return string
38
+ */
39
+ public function getUriScheme($uri, $orderID = null)
40
+ {
41
+ if (!$uri) return '';
42
+ $uri = trim($uri);
43
+ if (!$orderID) $orderID = $this->getOrderId();
44
+
45
+ if (strpos($uri, 'intent://') === 0) {
46
+ return str_replace(';end', sprintf(';S.orderId=%s;end', $orderID), $uri);
47
+ } else {
48
+ return strpos($uri, '?') !== false
49
+ ? sprintf('%s&transasction_id=%s', $uri, $orderID)
50
+ : sprintf('%s?transasction_id=%s', $uri, $orderID);
51
+ }
52
+ }
53
+ }
app/code/community/Jmango360/Japi/Helper/Data.php CHANGED
@@ -258,7 +258,7 @@ class Jmango360_Japi_Helper_Data extends Mage_Core_Helper_Abstract
258
  public function getTotals($quote = null)
259
  {
260
  /* @var $quote Mage_Sales_Model_Quote */
261
- $quote = $quote ?: Mage::getSingleton('checkout/session')->getQuote();
262
  $totals = $quote->getTotals();
263
  /* @var $taxConfig Mage_Tax_Model_Config */
264
  $taxConfig = Mage::getSingleton('tax/config');
@@ -266,6 +266,67 @@ class Jmango360_Japi_Helper_Data extends Mage_Core_Helper_Abstract
266
  $taxHelper = Mage::helper('tax');
267
 
268
  $rows = array();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  foreach ($totals as $total) {
270
  /* @var $total Mage_Sales_Model_Quote_Address_Total_Abstract */
271
 
258
  public function getTotals($quote = null)
259
  {
260
  /* @var $quote Mage_Sales_Model_Quote */
261
+ $quote = $quote ? $quote : Mage::getSingleton('checkout/session')->getQuote();
262
  $totals = $quote->getTotals();
263
  /* @var $taxConfig Mage_Tax_Model_Config */
264
  $taxConfig = Mage::getSingleton('tax/config');
266
  $taxHelper = Mage::helper('tax');
267
 
268
  $rows = array();
269
+
270
+ if (strpos(Mage::getBaseUrl(), 'luckylight') !== false) {
271
+ if ($quote->getShippingAddress()->getShippingMethod() != "pickupatstore_1") {
272
+ $subtotal = 0;
273
+ $tax = 0;
274
+ $discount = 0;
275
+ $discountTitle = '';
276
+ foreach ($totals as $total) {
277
+ if ($total->getCode() == 'subtotal') {
278
+ $subtotal = $total->getValueExclTax();
279
+ }
280
+ if ($total->getCode() == 'tax') {
281
+ $tax = $total->getValue();
282
+ }
283
+ if ($total->getCode() == 'discount') {
284
+ $discount = $total->getValue();
285
+ $discountTitle = $total->getTitle();
286
+ }
287
+ }
288
+ if ($subtotal) {
289
+ $shipping = $subtotal >= 100 ? "0" : "4.75";
290
+ $subtotalExclTax = function_exists('bcadd') ? bcadd($subtotal, $shipping, 4) : $subtotal + $shipping;
291
+ $shippingInclTax = function_exists('bcmul') ? bcmul($shipping, 1.21, 4) : $shipping * 1.21;
292
+ $shippingExclTax = function_exists('bcsub') ? bcsub($shippingInclTax, $shipping, 4) : $shippingInclTax - $shipping;
293
+ $taxInclTax = function_exists('bcadd') ? bcadd($shippingExclTax, $tax, 4) : $shippingExclTax + $tax;
294
+ $grandTotalExclTax = function_exists('bcadd') ? bcadd($subtotalExclTax, $discount, 4) : $subtotalExclTax + $discount;
295
+ $grandTotalInclTax = function_exists('bcmul') ? bcmul($grandTotalExclTax, 1.21, 4) : $grandTotalExclTax * 1.21;
296
+
297
+ $rows[] = array(
298
+ 'title' => 'Verzendkosten',
299
+ 'code' => 'shipping',
300
+ 'value' => $shipping
301
+ );
302
+ $rows[] = array(
303
+ 'title' => 'Totaal excl. btw',
304
+ 'code' => 'subtotal',
305
+ 'value' => $subtotalExclTax
306
+ );
307
+ if ($discount) {
308
+ $rows[] = array(
309
+ 'title' => $discountTitle,
310
+ 'code' => 'discount',
311
+ 'value' => $discount
312
+ );
313
+ }
314
+ $rows[] = array(
315
+ 'title' => 'BTW',
316
+ 'code' => 'tax',
317
+ 'value' => $taxInclTax
318
+ );
319
+ $rows[] = array(
320
+ 'title' => 'Totaalprijs incl. btw',
321
+ 'code' => 'grand_total_incl',
322
+ 'value' => $grandTotalInclTax
323
+ );
324
+
325
+ return $rows;
326
+ }
327
+ }
328
+ }
329
+
330
  foreach ($totals as $total) {
331
  /* @var $total Mage_Sales_Model_Quote_Address_Total_Abstract */
332
 
app/code/community/Jmango360/Japi/Helper/Product.php CHANGED
@@ -769,6 +769,21 @@ class Jmango360_Japi_Helper_Product extends Mage_Core_Helper_Abstract
769
  }
770
  }
771
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
772
  return $result;
773
  }
774
 
@@ -1320,6 +1335,12 @@ class Jmango360_Japi_Helper_Product extends Mage_Core_Helper_Abstract
1320
  */
1321
  protected function _addProductReviewSummary($product, &$result)
1322
  {
 
 
 
 
 
 
1323
  /* @var $helper Jmango360_Japi_Helper_Product_Review */
1324
  $helper = Mage::helper('japi/product_review');
1325
  $reviewSummary = $helper->getProductReviewSummary($product);
769
  }
770
  }
771
 
772
+ /**
773
+ * API-127: Return "has_required_options" for mobile API filter
774
+ */
775
+ $result['has_required_options'] = false;
776
+ if ($product->getTypeId() == Mage_Catalog_Model_Product_Type::TYPE_SIMPLE) {
777
+ foreach ($product->getProductOptionsCollection() as $option) {
778
+ /** @var $option Mage_Catalog_Model_Product_Option */
779
+ if ($option->getIsRequire()) {
780
+ $result['has_required_options'] = true;
781
+ }
782
+ }
783
+ } else {
784
+ $result['has_required_options'] = true;
785
+ }
786
+
787
  return $result;
788
  }
789
 
1335
  */
1336
  protected function _addProductReviewSummary($product, &$result)
1337
  {
1338
+ /**
1339
+ * MPLUGIN-1742: Fix duplicate review summary data
1340
+ */
1341
+ if (strpos(Mage::getBaseUrl(), 'ekonoom') !== false) {
1342
+ Mage::getModel('review/review')->getEntitySummary($product, Mage::app()->getStore()->getId());
1343
+ }
1344
  /* @var $helper Jmango360_Japi_Helper_Product_Review */
1345
  $helper = Mage::helper('japi/product_review');
1346
  $reviewSummary = $helper->getProductReviewSummary($product);
app/code/community/Jmango360/Japi/Model/Observer.php CHANGED
@@ -133,7 +133,7 @@ class Jmango360_Japi_Model_Observer
133
  }
134
  }
135
 
136
- public function setOrderIdToHead($observe)
137
  {
138
  /* @var $server Jmango360_Japi_Model_Server */
139
  $server = Mage::getSingleton('japi/server');
@@ -151,12 +151,28 @@ class Jmango360_Japi_Model_Observer
151
  if (!$lastRealOrderId) {
152
  $lastRealOrderId = $this->_getOrderIncrementIdById($session->getLastOrderId());
153
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  if ($lastRealOrderId) {
155
  $block = $layout->createBlock('core/text');
156
  $block->setText(sprintf('<meta name="%s" content="%s">', 'last-real-order-id', $lastRealOrderId));
157
  $head->append($block, 'last-real-order-id');
158
  }
159
 
 
 
 
160
  if ($request->getModuleName() == 'japi' && $request->getControllerName() == 'customer' && $request->getActionName() == 'edit') {
161
  /* @var $customerSession Mage_Customer_Model_Session */
162
  $customerSession = Mage::getSingleton('customer/session');
@@ -169,6 +185,9 @@ class Jmango360_Japi_Model_Observer
169
  }
170
  }
171
 
 
 
 
172
  if ($request->getModuleName() == 'japi' && $request->getControllerName() == 'customer' && $request->getActionName() == 'register') {
173
  /* @var $customerSession Mage_Customer_Model_Session */
174
  $customerSession = Mage::getSingleton('customer/session');
@@ -183,6 +202,9 @@ class Jmango360_Japi_Model_Observer
183
  }
184
  }
185
 
 
 
 
186
  if ($request->getModuleName() == 'japi' && $request->getControllerName() == 'customer' && $request->getActionName() == 'address') {
187
  /* @var $customerSession Mage_Customer_Model_Session */
188
  $customerSession = Mage::getSingleton('customer/session');
@@ -682,4 +704,29 @@ class Jmango360_Japi_Model_Observer
682
  }
683
  }
684
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
685
  }
133
  }
134
  }
135
 
136
+ public function japiLayoutGenerateBlocksAfter($observe)
137
  {
138
  /* @var $server Jmango360_Japi_Model_Server */
139
  $server = Mage::getSingleton('japi/server');
151
  if (!$lastRealOrderId) {
152
  $lastRealOrderId = $this->_getOrderIncrementIdById($session->getLastOrderId());
153
  }
154
+
155
+ /**
156
+ * Inject script to automatic launch mobile app
157
+ */
158
+ if ($lastRealOrderId) {
159
+ $block = $layout->createBlock('japi/js');
160
+ $block->setOrderId($lastRealOrderId);
161
+ $head->append($block);
162
+ }
163
+
164
+ /**
165
+ * Append newly created order ID to response header
166
+ */
167
  if ($lastRealOrderId) {
168
  $block = $layout->createBlock('core/text');
169
  $block->setText(sprintf('<meta name="%s" content="%s">', 'last-real-order-id', $lastRealOrderId));
170
  $head->append($block, 'last-real-order-id');
171
  }
172
 
173
+ /**
174
+ * Append customer data to submited customer edit page
175
+ */
176
  if ($request->getModuleName() == 'japi' && $request->getControllerName() == 'customer' && $request->getActionName() == 'edit') {
177
  /* @var $customerSession Mage_Customer_Model_Session */
178
  $customerSession = Mage::getSingleton('customer/session');
185
  }
186
  }
187
 
188
+ /**
189
+ * Append customer data to submited customer register page
190
+ */
191
  if ($request->getModuleName() == 'japi' && $request->getControllerName() == 'customer' && $request->getActionName() == 'register') {
192
  /* @var $customerSession Mage_Customer_Model_Session */
193
  $customerSession = Mage::getSingleton('customer/session');
202
  }
203
  }
204
 
205
+ /**
206
+ * Append customer data to submited customer new address page
207
+ */
208
  if ($request->getModuleName() == 'japi' && $request->getControllerName() == 'customer' && $request->getActionName() == 'address') {
209
  /* @var $customerSession Mage_Customer_Model_Session */
210
  $customerSession = Mage::getSingleton('customer/session');
704
  }
705
  }
706
  }
707
+
708
+ /**
709
+ * Forward some custom actions to our actions
710
+ * Support: NWT_KCO
711
+ *
712
+ * @param Varien_Event_Observer $observer
713
+ * @return $this
714
+ */
715
+ public function japiControllerActionPredispatch(Varien_Event_Observer $observer)
716
+ {
717
+ /* @var $action Mage_Core_Controller_Varien_Action */
718
+ $action = $observer->getEvent()->getControllerAction();
719
+ if ($action->getRequest()->getModuleName() == 'kco') {
720
+ if (strpos($action->getRequest()->getServer('HTTP_REFERER'), 'japi/kco') !== false) {
721
+ $action->getRequest()
722
+ ->initForward()
723
+ ->setModuleName('japi')
724
+ ->setControllerName('kco')
725
+ ->setActionName($action->getRequest()->getActionName())
726
+ ->setDispatched(false);
727
+ }
728
+ }
729
+
730
+ return $this;
731
+ }
732
  }
app/code/community/Jmango360/Japi/Model/Rest/Cart.php CHANGED
@@ -135,7 +135,20 @@ class Jmango360_Japi_Model_Rest_Cart extends Mage_Checkout_Model_Cart
135
 
136
  if ($weeeHelper->typeOfDisplay($item, array(0, 1, 4), 'sales')) {
137
  $cart['items'][$index]['price'] += $item->getWeeeTaxAppliedAmount() + $item->getWeeeTaxDisposition();
 
138
  $cart['items'][$index]['row_total'] += $item->getWeeeTaxAppliedRowAmount() + $item->getWeeeTaxRowDisposition();
 
 
 
 
 
 
 
 
 
 
 
 
139
  }
140
  }
141
 
135
 
136
  if ($weeeHelper->typeOfDisplay($item, array(0, 1, 4), 'sales')) {
137
  $cart['items'][$index]['price'] += $item->getWeeeTaxAppliedAmount() + $item->getWeeeTaxDisposition();
138
+ $cart['items'][$index]['base_price'] += $item->getWeeeTaxAppliedAmount() + $item->getWeeeTaxDisposition();
139
  $cart['items'][$index]['row_total'] += $item->getWeeeTaxAppliedRowAmount() + $item->getWeeeTaxRowDisposition();
140
+ $cart['items'][$index]['base_row_total'] += $item->getWeeeTaxAppliedRowAmount() + $item->getWeeeTaxRowDisposition();
141
+ } else {
142
+ if (strpos(Mage::getBaseUrl(), 'luckylight') !== false) {
143
+ if ($weeeHelper->getApplied($item)) {
144
+ $itemTotal = $item->getCalculationPrice() + $item->getWeeeTaxAppliedAmount() + $item->getWeeeTaxDisposition();
145
+ $rowTotal = function_exists('bcmul') ? bcmul($item->getQty(), $itemTotal, 4) : $item->getQty() * $itemTotal;
146
+ $cart['items'][$index]['price'] = $itemTotal;
147
+ $cart['items'][$index]['base_price'] = $itemTotal;
148
+ $cart['items'][$index]['row_total'] = $rowTotal;
149
+ $cart['items'][$index]['base_row_total'] = $rowTotal;
150
+ }
151
+ }
152
  }
153
  }
154
 
app/code/community/Jmango360/Japi/Model/Rest/Cart/Update.php CHANGED
@@ -87,7 +87,7 @@ class Jmango360_Japi_Model_Rest_Cart_Update extends Jmango360_Japi_Model_Rest_Ca
87
  }
88
  }
89
 
90
- $related = $this->_getRequest()->getParam('related_product');
91
 
92
  /**
93
  * Flag as JMango360 order
@@ -102,8 +102,8 @@ class Jmango360_Japi_Model_Rest_Cart_Update extends Jmango360_Japi_Model_Rest_Ca
102
  }
103
 
104
  $this->addProduct($product, $params);
105
- if (!empty($related)) {
106
- $this->addProductsByIds(explode(',', $related));
107
  }
108
 
109
  $this->save();
87
  }
88
  }
89
 
90
+ $related = explode(',', $this->_getRequest()->getParam('related_products'));
91
 
92
  /**
93
  * Flag as JMango360 order
102
  }
103
 
104
  $this->addProduct($product, $params);
105
+ if (count($related)) {
106
+ $this->addProductsByIds($related);
107
  }
108
 
109
  $this->save();
app/code/community/Jmango360/Japi/Model/Rest/Cms/Page.php CHANGED
@@ -40,7 +40,7 @@ class Jmango360_Japi_Model_Rest_Cms_Page extends Mage_Cms_Model_Page
40
  $result['active'] = $page->getIsActive();
41
  $result['created_at'] = $page->getCreationTime();
42
  $result['updated_at'] = $page->getUpdateTime();
43
- $result['content'] = $processor->filter($page->getContent());
44
 
45
  $pageStoreIds = array();
46
 
@@ -53,4 +53,15 @@ class Jmango360_Japi_Model_Rest_Cms_Page extends Mage_Cms_Model_Page
53
 
54
  return $result;
55
  }
 
 
 
 
 
 
 
 
 
 
 
56
  }
40
  $result['active'] = $page->getIsActive();
41
  $result['created_at'] = $page->getCreationTime();
42
  $result['updated_at'] = $page->getUpdateTime();
43
+ $result['content'] = $processor->filter($this->_filter($page->getContent()));
44
 
45
  $pageStoreIds = array();
46
 
53
 
54
  return $result;
55
  }
56
+
57
+ /**
58
+ * Remove unsupported text
59
+ *
60
+ * @param $string
61
+ * @return string
62
+ */
63
+ protected function _filter($string)
64
+ {
65
+ return preg_replace(Varien_Filter_Template::CONSTRUCTION_PATTERN, '', $string);
66
+ }
67
  }
app/code/community/Jmango360/Japi/Model/Rest/Product/Crosssell.php CHANGED
@@ -43,21 +43,7 @@ class Jmango360_Japi_Model_Rest_Product_Crosssell extends Jmango360_Japi_Model_R
43
  {
44
  $ninProductIds = $this->_getCartProductIds();
45
  if ($ninProductIds) {
46
- $lastAdded = (int)$this->_getLastAddedProductId();
47
  $items = array();
48
- if ($lastAdded) {
49
- $collection = $this->_getCollection()->addProductFilter($lastAdded);
50
- if (!empty($ninProductIds)) {
51
- $collection->addExcludeProductFilter($ninProductIds);
52
- }
53
- $collection->setPositionOrder()->load();
54
-
55
- foreach ($collection as $item) {
56
- $ninProductIds[] = $item->getId();
57
- $items[] = $item;
58
- }
59
- }
60
-
61
  if (count($items) < self::LIMIT) {
62
  $filterProductIds = array_merge($this->_getCartProductIds(), $this->_getCartProductIdsRel());
63
  $collection = $this->_getCollection()
43
  {
44
  $ninProductIds = $this->_getCartProductIds();
45
  if ($ninProductIds) {
 
46
  $items = array();
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  if (count($items) < self::LIMIT) {
48
  $filterProductIds = array_merge($this->_getCartProductIds(), $this->_getCartProductIdsRel());
49
  $collection = $this->_getCollection()
app/code/community/Jmango360/Japi/Model/Server.php CHANGED
@@ -66,8 +66,13 @@ class Jmango360_Japi_Model_Server extends Mage_Api2_Model_Server
66
  $_flatConfig = Mage::getStoreConfigFlag(Mage_Catalog_Helper_Product_Flat::XML_PATH_USE_PRODUCT_FLAT);
67
  $session->setData('use_flat_product_' . $store->getId(), $_flatConfig);
68
 
69
- // Bypass flat product check
70
- Mage::app()->getStore($store)->setConfig(Mage_Catalog_Helper_Product_Flat::XML_PATH_USE_PRODUCT_FLAT, 0);
 
 
 
 
 
71
 
72
  // Bypass flat category check
73
  Mage::app()->getStore($store)->setConfig(Mage_Catalog_Helper_Category_Flat::XML_PATH_IS_ENABLED_FLAT_CATALOG_CATEGORY, 0);
66
  $_flatConfig = Mage::getStoreConfigFlag(Mage_Catalog_Helper_Product_Flat::XML_PATH_USE_PRODUCT_FLAT);
67
  $session->setData('use_flat_product_' . $store->getId(), $_flatConfig);
68
 
69
+ /**
70
+ * Bypass flat product check
71
+ * MPLUGIN-1777: Ignore when get related products
72
+ */
73
+ if ($request->getActionName() != 'getRelated') {
74
+ Mage::app()->getStore($store)->setConfig(Mage_Catalog_Helper_Product_Flat::XML_PATH_USE_PRODUCT_FLAT, 0);
75
+ }
76
 
77
  // Bypass flat category check
78
  Mage::app()->getStore($store)->setConfig(Mage_Catalog_Helper_Category_Flat::XML_PATH_IS_ENABLED_FLAT_CATALOG_CATEGORY, 0);
app/code/community/Jmango360/Japi/controllers/CheckoutController.php CHANGED
@@ -410,6 +410,17 @@ class Jmango360_Japi_CheckoutController extends Mage_Checkout_OnepageController
410
  </reference>";
411
  }
412
 
 
 
 
 
 
 
 
 
 
 
 
413
  if (Mage::getEdition() == Mage::EDITION_ENTERPRISE) {
414
  $xml .= "
415
  <reference name=\"content\">
410
  </reference>";
411
  }
412
 
413
+ if ($helper->isModuleEnabled('Chronopost_Chronorelais')) {
414
+ $xml .= "
415
+ <reference name=\"head\">
416
+ <action method=\"addItem\"><type>skin_css</type><name>chronorelais/chronorelais.css</name></action>
417
+ <action method=\"addItem\"><type>skin_js</type><name>chronorelais/carousel-min.js</name></action>
418
+ </reference>
419
+ <reference name=\"content\">
420
+ <block type=\"core/template\" template=\"chronorelais/checkout/onepage/shipping_method_complement.phtml\" />
421
+ </reference>";
422
+ }
423
+
424
  if (Mage::getEdition() == Mage::EDITION_ENTERPRISE) {
425
  $xml .= "
426
  <reference name=\"content\">
app/code/community/Jmango360/Japi/controllers/KcoController.php ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ include_once('NWT/KCO/controllers/CheckoutController.php');
3
+
4
+ class Jmango360_Japi_KcoController extends NWT_KCO_CheckoutController
5
+ {
6
+ /**
7
+ * Load layout by handles(s)
8
+ *
9
+ * @param string|null|bool $handles
10
+ * @param bool $generateBlocks
11
+ * @param bool $generateXml
12
+ * @return Mage_Core_Controller_Varien_Action
13
+ */
14
+ public function loadLayout($handles = null, $generateBlocks = true, $generateXml = true)
15
+ {
16
+ if ($handles == 'nwtkco') {
17
+ return parent::loadLayout('japi_kco_index');
18
+ } else {
19
+ return parent::loadLayout($handles, $generateBlocks, $generateXml);
20
+ }
21
+ }
22
+
23
+ /**
24
+ * Order success (thankyou) action
25
+ */
26
+ public function thankyouAction()
27
+ {
28
+ $session = $this->_getSession();
29
+
30
+ if (!$session->getLastSuccessQuoteId()) {
31
+ $this->_redirect('checkout/cart');
32
+ return;
33
+ }
34
+ $session->setLastQuoteId($session->getLastSuccessQuoteId());
35
+
36
+ // This is need by thank you block; klarnaOrder is set in confirmationAction
37
+ Mage::register('KlarnaOrder', $this->_getSession()->getKlarnaOrder());
38
+
39
+ //$this->_getSession()->clear();
40
+ $this->_getSession()->unsKlarnaOrderUri(); //unset klarna location
41
+ $this->_getSession()->unsKlarnaOrder(); //unset klarna location
42
+
43
+ if (($lastOrderId = $session->getLastOrderId())) {
44
+ //no, is not onepage, do not use it (this is used by google analytics but we have on ga.phtml (see layout xml)
45
+ //Mage::dispatchEvent('checkout_onepage_controller_success_action', array('order_ids' => array($lastOrderId)));
46
+ //dispatch own event
47
+ Mage::dispatchEvent('checkout_nwtkco_controller_success_action', array('order_ids' => array($lastOrderId)));
48
+
49
+ // JMango360: Redirect to checkout/onepage/success
50
+ $order = Mage::getModel('sales/order')->load($lastOrderId);
51
+ if ($order->getId()) {
52
+ $this->_getSession()->setLastOrderId($order->getId());
53
+ $this->_getSession()->setLastRealOrderId($order->getIncrementId());
54
+ return $this->_redirect('checkout/onepage/success');
55
+ }
56
+ } else {
57
+ $this->loadLayout();
58
+ $this->_initLayoutMessages('checkout/session');
59
+ $title = Mage::helper('nwtkco')->getThankyouTitle();
60
+ if (!$title) {
61
+ $title = Mage::helper('nwtkco')->getTitle();
62
+ }
63
+ $this->getLayout()->getBlock('head')->setTitle($title ? $title : $this->__('Klarna Checkout'));
64
+ $block = $this->getLayout()->getBlock('google_analytics');
65
+ if ($block) {
66
+ $block->setOrderIds(array($lastOrderId));
67
+ }
68
+ $this->renderLayout();
69
+ }
70
+ }
71
+ }
app/code/community/Jmango360/Japi/etc/config.xml CHANGED
@@ -7,7 +7,7 @@
7
  <config>
8
  <modules>
9
  <Jmango360_Japi>
10
- <version>3.0.4</version>
11
  </Jmango360_Japi>
12
  </modules>
13
 
@@ -84,6 +84,15 @@
84
  <customer>/japi/</customer>
85
  </secure_url>
86
  <events>
 
 
 
 
 
 
 
 
 
87
  <controller_action_predispatch_checkout_klarna_success>
88
  <observers>
89
  <vaimo_klarna>
@@ -154,7 +163,7 @@
154
  <observers>
155
  <rest_checkout_success>
156
  <class>japi/observer</class>
157
- <method>setOrderIdToHead</method>
158
  </rest_checkout_success>
159
  </observers>
160
  </controller_action_layout_generate_blocks_after>
@@ -350,7 +359,12 @@
350
  <custom_css></custom_css>
351
  <checkout_url></checkout_url>
352
  <klarna_popup_urls></klarna_popup_urls>
 
353
  </jmango_rest_checkout_settings>
 
 
 
 
354
  <jmango_rest_gallery_settings>
355
  <image_width>1200</image_width>
356
  <image_height>1200</image_height>
7
  <config>
8
  <modules>
9
  <Jmango360_Japi>
10
+ <version>3.1.0</version>
11
  </Jmango360_Japi>
12
  </modules>
13
 
84
  <customer>/japi/</customer>
85
  </secure_url>
86
  <events>
87
+ <controller_action_predispatch>
88
+ <observers>
89
+ <japi_controller_action_predispatch>
90
+ <type>singleton</type>
91
+ <class>japi/observer</class>
92
+ <method>japiControllerActionPredispatch</method>
93
+ </japi_controller_action_predispatch>
94
+ </observers>
95
+ </controller_action_predispatch>
96
  <controller_action_predispatch_checkout_klarna_success>
97
  <observers>
98
  <vaimo_klarna>
163
  <observers>
164
  <rest_checkout_success>
165
  <class>japi/observer</class>
166
+ <method>japiLayoutGenerateBlocksAfter</method>
167
  </rest_checkout_success>
168
  </observers>
169
  </controller_action_layout_generate_blocks_after>
359
  <custom_css></custom_css>
360
  <checkout_url></checkout_url>
361
  <klarna_popup_urls></klarna_popup_urls>
362
+ <enable_coupon>1</enable_coupon>
363
  </jmango_rest_checkout_settings>
364
+ <jmango_rest_mobile_settings>
365
+ <ios_scheme></ios_scheme>
366
+ <android_scheme></android_scheme>
367
+ </jmango_rest_mobile_settings>
368
  <jmango_rest_gallery_settings>
369
  <image_width>1200</image_width>
370
  <image_height>1200</image_height>
app/code/community/Jmango360/Japi/etc/system.xml CHANGED
@@ -254,8 +254,46 @@
254
  <can_be_empty>1</can_be_empty>
255
  <comment>URLs that will be shown as pop-up in checkout page.</comment>
256
  </klarna_popup_urls>
 
 
 
 
 
 
 
 
 
 
 
257
  </fields>
258
  </jmango_rest_checkout_settings>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  <!--jmango_rest_gallery_settings translate="label" module="japi">
260
  <label>Product image gallery settings</label>
261
  <show_in_default>1</show_in_default>
254
  <can_be_empty>1</can_be_empty>
255
  <comment>URLs that will be shown as pop-up in checkout page.</comment>
256
  </klarna_popup_urls>
257
+ <!--enable_coupon translate="label comment" module="japi">
258
+ <label>Enable coupon field on checkout page</label>
259
+ <frontend_type>select</frontend_type>
260
+ <source_model>adminhtml/system_config_source_yesno</source_model>
261
+ <sort_order>40</sort_order>
262
+ <show_in_default>1</show_in_default>
263
+ <show_in_website>1</show_in_website>
264
+ <show_in_store>1</show_in_store>
265
+ <can_be_empty>1</can_be_empty>
266
+ <comment></comment>
267
+ </enable_coupon-->
268
  </fields>
269
  </jmango_rest_checkout_settings>
270
+ <!--jmango_rest_mobile_settings translate="label" module="japi">
271
+ <label>Mobile URL Scheme</label>
272
+ <show_in_default>1</show_in_default>
273
+ <show_in_website>1</show_in_website>
274
+ <show_in_store>0</show_in_store>
275
+ <sort_order>45</sort_order>
276
+ <fields>
277
+ <ios_scheme translate="label comment" module="japi">
278
+ <label>iOS</label>
279
+ <frontend_type>text</frontend_type>
280
+ <sort_order>10</sort_order>
281
+ <show_in_default>1</show_in_default>
282
+ <show_in_website>1</show_in_website>
283
+ <show_in_store>1</show_in_store>
284
+ <comment>Enter schema for branded app here so that mobile users will turn back to the JMango360 app after using a payment app.</comment>
285
+ </ios_scheme>
286
+ <android_scheme translate="label comment" module="japi">
287
+ <label>Android</label>
288
+ <frontend_type>text</frontend_type>
289
+ <sort_order>10</sort_order>
290
+ <show_in_default>1</show_in_default>
291
+ <show_in_website>1</show_in_website>
292
+ <show_in_store>1</show_in_store>
293
+ <comment>Enter schema for branded app here so that mobile users will turn back to the JMango360 app after using a payment app.</comment>
294
+ </android_scheme>
295
+ </fields>
296
+ </jmango_rest_mobile_settings-->
297
  <!--jmango_rest_gallery_settings translate="label" module="japi">
298
  <label>Product image gallery settings</label>
299
  <show_in_default>1</show_in_default>
app/design/frontend/base/default/layout/jmango360_japi.xml CHANGED
@@ -126,7 +126,11 @@
126
  <label>Items After</label>
127
  </block>
128
  <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="japi/checkout/onepage/agreements.phtml"/>
129
- <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="japi/checkout/onepage/coupon.phtml"/>
 
 
 
 
130
  <block type="core/template" name="checkout.onepage.review.button" as="button" template="japi/checkout/onepage/review/button.phtml"/>
131
  </block>
132
  </japi_checkout_review>
@@ -258,7 +262,11 @@
258
  </block>
259
  <block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="vaimo/klarna/klarnacheckout/cart/totals.phtml"/>
260
  <block type="klarna/klarnacheckout_discount" name="discount" as="discount" template="vaimo/klarna/klarnacheckout/discount.phtml">
261
- <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="vaimo/klarna/klarnacheckout/discount/coupon.phtml"/>
 
 
 
 
262
  </block>
263
  </block>
264
 
@@ -286,7 +294,11 @@
286
  <block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="vaimo/klarna/klarnacheckout/cart/totals.phtml"/>
287
  </block>
288
  <block type="klarna/klarnacheckout_discount" name="discount" as="discount" template="vaimo/klarna/klarnacheckout/discount.phtml">
289
- <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="japi/vaimo/klarna/klarnacheckout/discount/coupon.phtml"/>
 
 
 
 
290
  </block>
291
  </block>
292
 
@@ -311,4 +323,84 @@
311
  <block type="klarna/klarnacheckout_success" name="checkout" template="vaimo/klarna/klarnacheckout/success.phtml"/>
312
  </reference>
313
  </japi_klarna_success>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
  </layout>
126
  <label>Items After</label>
127
  </block>
128
  <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="japi/checkout/onepage/agreements.phtml"/>
129
+ <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon">
130
+ <action method="setTemplate" ifconfig="japi/jmango_rest_checkout_settings/enable_coupon">
131
+ <template>japi/checkout/onepage/coupon.phtml</template>
132
+ </action>
133
+ </block>
134
  <block type="core/template" name="checkout.onepage.review.button" as="button" template="japi/checkout/onepage/review/button.phtml"/>
135
  </block>
136
  </japi_checkout_review>
262
  </block>
263
  <block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="vaimo/klarna/klarnacheckout/cart/totals.phtml"/>
264
  <block type="klarna/klarnacheckout_discount" name="discount" as="discount" template="vaimo/klarna/klarnacheckout/discount.phtml">
265
+ <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon">
266
+ <action method="setTemplate" ifconfig="japi/jmango_rest_checkout_settings/enable_coupon">
267
+ <template>vaimo/klarna/klarnacheckout/discount/coupon.phtml</template>
268
+ </action>
269
+ </block>
270
  </block>
271
  </block>
272
 
294
  <block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="vaimo/klarna/klarnacheckout/cart/totals.phtml"/>
295
  </block>
296
  <block type="klarna/klarnacheckout_discount" name="discount" as="discount" template="vaimo/klarna/klarnacheckout/discount.phtml">
297
+ <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon">
298
+ <action method="setTemplate" ifconfig="japi/jmango_rest_checkout_settings/enable_coupon">
299
+ <template>japi/vaimo/klarna/klarnacheckout/discount/coupon.phtml</template>
300
+ </action>
301
+ </block>
302
  </block>
303
  </block>
304
 
323
  <block type="klarna/klarnacheckout_success" name="checkout" template="vaimo/klarna/klarnacheckout/success.phtml"/>
324
  </reference>
325
  </japi_klarna_success>
326
+
327
+ <japi_kco_index>
328
+ <update handle="japi_checkout_default"/>
329
+
330
+ <label>NWT Klarna Checkout Page</label>
331
+
332
+ <reference name="root">
333
+ <action method="addBodyClass"><class>body-klarna-checkout</class></action>
334
+ </reference>
335
+
336
+ <reference name="head">
337
+ <action method="addItem"><type>skin_css</type><name>nwt/kco/main.css</name><params/></action>
338
+ <action method="addCss"><stylesheet>japi/css/style.css?v=3.1.0</stylesheet></action>
339
+ <action method="addItem"><type>skin_js</type><name>nwt/kco/checkout.js</name><params/></action>
340
+
341
+ <action method="addItem" ifconfig="nwtunifaun/settings/mactive"><type>skin_css</type><name>nwt/unifaun/checkout.css</name><params/></action>
342
+ <action method="addItem" ifconfig="nwtunifaun/settings/mactive"><type>skin_js</type><name>nwt/unifaun/checkout.js</name><params/></action>
343
+ </reference>
344
+
345
+ <reference name="content">
346
+ <action method="unsetChildren" />
347
+ <block type="core/template" name="nwtkco_messages" template="nwt/kco/messages.phtml"/>
348
+ <block type="nwtkco/header" name="nwtkco_header" template="nwt/kco/header.phtml" />
349
+ <block type="core/template" name="nwtkco_kco" template="nwt/kco/nwtkco.phtml">
350
+ <block type="nwtkco/checkout" name="nwtkco_checkout" template = "japi/nwt/kco/checkout.phtml" translate="label">
351
+ <label>Klarna Checkout Sidebar</label>
352
+ <block type="nwtkco/country" name="nwtkco_country" template="nwt/kco/country.phtml" />
353
+ <block type="core/template" name="nwtkco_discount" template="nwt/kco/discount.phtml">
354
+ <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon">
355
+ <action method="setTemplate" ifconfig="japi/jmango_rest_checkout_settings/enable_coupon">
356
+ <template>nwt/kco/discount/coupon.phtml</template>
357
+ </action>
358
+ </block>
359
+ </block>
360
+ <block type="checkout/onepage_shipping_method" name="nwtkco_shipping_method" as="shipping_method" template="nwt/kco/shipping_method.phtml">
361
+ <block type="checkout/onepage_shipping_method_available" name="nwtkco_shipping_method.available" as="available" template="nwt/kco/shipping_method/available.phtml"/>
362
+ <block type="nwtunifaun/checkout_shipping_unifaun" name="checkout.onepage.shipping_method.unifaun" as="unifaun" template="nwt/unifaun/checkout/unifaun.phtml">
363
+ <action method="appendToParent" />
364
+ <action method="setOnlyCurrent"><value>1</value></action>
365
+ <action method="setAddSaveButton"><value>1</value></action>
366
+ <action method="setAskPostcode"><value>1</value></action>
367
+ </block>
368
+ </block>
369
+ <block type="checkout/cart" name="nwtkco_cart" template="nwt/kco/cart.phtml">
370
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>japi/nwt/kco/cart/item/default.phtml</template></action>
371
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>japi/nwt/kco/cart/item/default.phtml</template></action>
372
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>japi/nwt/kco/cart/item/default.phtml</template></action>
373
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>japi/nwt/kco/cart/item/default.phtml</template></action>
374
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>japi/nwt/kco/cart/item/default.phtml</template></action>
375
+ <block type="checkout/cart_totals" name="nwtkco_totals" as="totals" template="nwt/kco/cart/totals.phtml"/>
376
+ </block>
377
+ <block type="core/template" name="nwtkco_customercomment" template="nwt/kco/comment/form.phtml" />
378
+ <block type="core/template" name="nwtkco_newsletter" template="nwt/kco/newsletter.phtml"/>
379
+ </block>
380
+ <block type="nwtkco/klarna" name="nwtkco_klarna" template="nwt/kco/klarna.phtml" />
381
+ </block>
382
+ </reference>
383
+ </japi_kco_index>
384
+
385
+ <japi_kco_thankyou>
386
+ <update handle="japi_checkout_default"/>
387
+
388
+ <label>NWT Klarna Checkout Success Page</label>
389
+
390
+ <reference name="root">
391
+ <action method="addBodyClass"><class>body-klarna-checkout</class></action>
392
+ </reference>
393
+
394
+ <reference name="head">
395
+ <action method="addItem"><type>skin_css</type><name>nwt/kco/main.css</name><params/></action>
396
+ </reference>
397
+
398
+ <reference name="content">
399
+ <action method="unsetChildren"></action>
400
+ <block type="core/template" name="nwtkco_messages" template="nwt/kco/messages.phtml"/>
401
+ <block type="nwtkco/thankyou" name="nwtkco_kco" template="nwt/kco/success.phtml">
402
+ <block type="nwtkco/klarna" name="klarnacheckout" as="klarnacheckout" template="nwt/kco/klarna.phtml" />
403
+ </block>
404
+ </reference>
405
+ </japi_kco_thankyou>
406
  </layout>
app/design/frontend/base/default/template/japi/checkout/onepage/style.phtml CHANGED
@@ -19,7 +19,7 @@ $customCss = Mage::getStoreConfig('japi/jmango_rest_checkout_settings/custom_css
19
  $TIGPostNLVersion = Mage::helper('japi')->getExtensionVersion('TIG_PostNL');
20
  ?>
21
  <link type="text/css" rel="stylesheet" media="all"
22
- href="<?php echo $this->getSkinUrl('japi/css/style.css?v=3.0.4') ?>"/>
23
 
24
  <?php if (Mage::helper('japi')->isModuleEnabled('GoMage_Checkout')): ?>
25
  <link type="text/css" rel="stylesheet" media="all"
19
  $TIGPostNLVersion = Mage::helper('japi')->getExtensionVersion('TIG_PostNL');
20
  ?>
21
  <link type="text/css" rel="stylesheet" media="all"
22
+ href="<?php echo $this->getSkinUrl('japi/css/style.css?v=3.1.0') ?>"/>
23
 
24
  <?php if (Mage::helper('japi')->isModuleEnabled('GoMage_Checkout')): ?>
25
  <link type="text/css" rel="stylesheet" media="all"
app/design/frontend/base/default/template/japi/js.phtml ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2017 JMango360
4
+ */
5
+ ?>
6
+ <?php
7
+ /* @var $this Jmango360_Japi_Block_Js */
8
+ if (!$this->isShow()) return;
9
+ $iosScheme = $this->getUriScheme(Mage::getStoreConfig('japi/jmango_rest_mobile_settings/ios_scheme'));
10
+ $androidScheme = $this->getUriScheme(Mage::getStoreConfig('japi/jmango_rest_mobile_settings/android_scheme'));
11
+ ?>
12
+ <style type="text/css">
13
+ body .japi-mobile-popup {
14
+ position: fixed;
15
+ top: 0;
16
+ left: 0;
17
+ width: 100%;
18
+ height: 100%;
19
+ z-index: 9999;
20
+ }
21
+
22
+ body .japi-mobile-popup div {
23
+ background: rgba(0, 0, 0, 0.5);
24
+ width: 100%;
25
+ height: 100%;
26
+ }
27
+
28
+ body .japi-mobile-popup a {
29
+ display: block;
30
+ padding: 0 20px;
31
+ height: 50px;
32
+ line-height: 50px;
33
+ position: absolute;
34
+ left: 50%;
35
+ top: 40%;
36
+ color: #fff;
37
+ background: #ec5338;
38
+ border: 1px solid #ec5338;
39
+ border-radius: 4px;
40
+ white-space: nowrap;
41
+ visibility: hidden;
42
+ }
43
+
44
+ body .japi-mobile-popup a:hover,
45
+ body .japi-mobile-popup a:active,
46
+ body .japi-mobile-popup a:visited {
47
+ text-decoration: none;
48
+ }
49
+
50
+ body .japi-mobile-popup a.japi-show {
51
+ visibility: visible;
52
+ }
53
+ </style>
54
+ <script type="text/javascript">
55
+ (function () {
56
+ var uagent = navigator.userAgent,
57
+ uri_scheme,
58
+ iOS;
59
+
60
+ if (/safari/i.test(uagent) && !/chrome/i.test(uagent)) {
61
+ iOS = true;
62
+ uri_scheme = <?php echo json_encode($iosScheme) ?>;
63
+ } else {
64
+ uri_scheme = <?php echo json_encode($androidScheme) ?>;
65
+ }
66
+
67
+ if (uri_scheme) {
68
+ window.onload = function () {
69
+ if (iOS) {
70
+ window.location.href = uri_scheme;
71
+ } else {
72
+ japiMobilePopup();
73
+ }
74
+ };
75
+ }
76
+
77
+ function japiMobilePopup() {
78
+ var docFrag = document.createDocumentFragment();
79
+ var popup = document.createElement('div');
80
+ popup.className = 'japi-mobile-popup';
81
+ var overlay = document.createElement('div');
82
+ var button = document.createElement('a');
83
+ button.textContent = <?php echo json_encode($this->__('Back to app')) ?>;
84
+ button.href = uri_scheme;
85
+ popup.appendChild(overlay);
86
+ popup.appendChild(button);
87
+ docFrag.appendChild(popup);
88
+
89
+ var body = document.getElementsByTagName('body')[0];
90
+ body.appendChild(docFrag);
91
+
92
+ setTimeout(function () {
93
+ button.style.marginLeft = (-1 * button.offsetWidth / 2) + 'px';
94
+ button.className = 'japi-show';
95
+ });
96
+ }
97
+ })();
98
+ </script>
app/design/frontend/base/default/template/japi/nwt/kco/cart/item/default.phtml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ $_item = $this->getItem();
29
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
31
+ ?>
32
+ <li class="item cleafix">
33
+ <?php if ($this->hasProductUrl()): ?>
34
+ <span class="product-image">
35
+ <span class="item-qty-sticky"><span><?php echo $this->getQty() ?></span></span>
36
+ <img src="<?php echo $this->getProductThumbnail()->resize(60, 60)->setWatermarkSize('30x10'); ?>" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" />
37
+ </span>
38
+ <?php else: ?>
39
+ <span class="product-image">
40
+ <span class="item-qty-sticky"><span><?php echo $this->getQty() ?></span></span>
41
+ <img src="<?php echo $this->getProductThumbnail()->resize(60, 60)->setWatermarkSize('30x10'); ?>" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" />
42
+ </span>
43
+ <?php endif; ?>
44
+ <div class="product-details">
45
+ <p class="product-name"><?php echo $this->escapeHtml($this->getProductName()) ?></p>
46
+
47
+ <div class="qty-price">
48
+ <?php if ($canApplyMsrp): ?>
49
+ <span class="map-cart-sidebar-item"><?php echo $this->__('See price before order confirmation.'); ?></span>
50
+ <?php else: ?>
51
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
52
+ <?php endif; ?>
53
+ </div>
54
+
55
+ <?php if ($_options = $this->getOptionList()):?>
56
+ <div class="truncated">
57
+ <div class="truncated_full_value">
58
+ <dl class="item-options">
59
+ <?php foreach ($_options as $_option) : ?>
60
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
61
+ <dd>
62
+ <?php if (is_array($_option['value'])): ?>
63
+ <?php echo nl2br(implode("\n", $_option['value'])) ?>
64
+ <?php else: ?>
65
+ <?php echo $_option['value'] ?>
66
+ <?php endif; ?>
67
+ </dd>
68
+ <?php endforeach; ?>
69
+ </dl>
70
+ </div>
71
+ </div>
72
+ <?php endif; ?>
73
+ </div>
74
+ <div class="nwtkco-clear"></div>
75
+ </li>
app/design/frontend/base/default/template/japi/nwt/kco/checkout.phtml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Klarna Checkout extension
4
+ *
5
+ * @category NWT
6
+ * @package NWT_KCO
7
+ * @copyright Copyright (c) 2015 Nordic Web Team ( http://nordicwebteam.se/ )
8
+ * @license http://nordicwebteam.se/licenses/nwtcl/1.0.txt NWT Commercial License (NWTCL 1.0)
9
+ *
10
+ *
11
+ *
12
+ */
13
+
14
+ /**
15
+ * Klarna Checkout sidebar template
16
+ */
17
+ ?>
18
+ <div class="kco-left body-klarna-checkout">
19
+ <div id="nwt_checkout">
20
+ <?php echo $this->getChildHtml(); ?>
21
+ </div>
22
+ <div id="nwt_overlay" style="display:none"></div>
23
+ </div>
app/locale/en_US/Jmango360_Japi.csv CHANGED
@@ -250,3 +250,4 @@
250
  "Choose to use direction here instead of mobile default sort direction.","Choose to use direction here instead of mobile default sort direction."
251
  "Re-run SQL upgrade","Re-run SQL upgrade"
252
  "Re-run successfully.","Re-run successfully."
 
250
  "Choose to use direction here instead of mobile default sort direction.","Choose to use direction here instead of mobile default sort direction."
251
  "Re-run SQL upgrade","Re-run SQL upgrade"
252
  "Re-run successfully.","Re-run successfully."
253
+ "Back to app","Back to app"
app/locale/fr_FR/Jmango360_Japi.csv CHANGED
@@ -214,3 +214,4 @@
214
  "App users must login to see product prices","Utilisateur de l'application doit se connecter pour voir les prix et le bouton Ajouter au Panier"
215
  "This will prevent mobile app user using app without an account.","Cela va empêcher les utilisateurs d'application mobile d'utiliser l'application sans avoir un compte."
216
  "Please close this form and login with your new account.", "Veuillez fermer ce formulaire et vous connecter avec votre nouveau compte."
 
214
  "App users must login to see product prices","Utilisateur de l'application doit se connecter pour voir les prix et le bouton Ajouter au Panier"
215
  "This will prevent mobile app user using app without an account.","Cela va empêcher les utilisateurs d'application mobile d'utiliser l'application sans avoir un compte."
216
  "Please close this form and login with your new account.", "Veuillez fermer ce formulaire et vous connecter avec votre nouveau compte."
217
+ "Back to app","Retour à l'App"
app/locale/it_IT/Jmango360_Japi.csv CHANGED
@@ -225,3 +225,4 @@
225
  "Adding these attributes to customer registration form in mobile app","Adding these attributes to customer registration form in mobile app"
226
  "Show image of child product in Grouped Product Detail on mobile","Show image of child product in Grouped Product Detail on mobile"
227
  "Please close this form and login with your new account.", "Chiudi questo modulo ed effettua il login con il tuo nuovo account."
 
225
  "Adding these attributes to customer registration form in mobile app","Adding these attributes to customer registration form in mobile app"
226
  "Show image of child product in Grouped Product Detail on mobile","Show image of child product in Grouped Product Detail on mobile"
227
  "Please close this form and login with your new account.", "Chiudi questo modulo ed effettua il login con il tuo nuovo account."
228
+ "Back to app","Torna nell'app"
app/locale/nl_NL/Jmango360_Japi.csv CHANGED
@@ -171,3 +171,4 @@
171
  "Re-run successfully.","Re-run succesvol."
172
  "House Number","Huisnummer"
173
  "Catalogue Settings", "Instellingen catalogus"
 
171
  "Re-run successfully.","Re-run succesvol."
172
  "House Number","Huisnummer"
173
  "Catalogue Settings", "Instellingen catalogus"
174
+ "Back to app","Terug naar de app"
app/locale/pt_BR/Jmango360_Japi.csv CHANGED
@@ -231,3 +231,4 @@
231
  "Group not found.", "Group not found."
232
  "Account is created. Please check email to confirm.", "Sua conta foi criada. Por favor, verifique o email de confirmação"
233
  "Please close this form and login with your new account.", "Por favor cierra esta pagina y accede a tu cuenta."
 
231
  "Group not found.", "Group not found."
232
  "Account is created. Please check email to confirm.", "Sua conta foi criada. Por favor, verifique o email de confirmação"
233
  "Please close this form and login with your new account.", "Por favor cierra esta pagina y accede a tu cuenta."
234
+ "Back to app","Vuelva a la app"
app/locale/pt_PT/Jmango360_Japi.csv CHANGED
@@ -231,3 +231,4 @@
231
  "Group not found.", "Group not found."
232
  "Account is created. Please check email to confirm.", "Sua conta foi criada. Por favor, verifique o email de confirmação"
233
  "Please close this form and login with your new account.", "Por favor cierra esta pagina y accede a tu cuenta."
 
231
  "Group not found.", "Group not found."
232
  "Account is created. Please check email to confirm.", "Sua conta foi criada. Por favor, verifique o email de confirmação"
233
  "Please close this form and login with your new account.", "Por favor cierra esta pagina y accede a tu cuenta."
234
+ "Back to app","Vuelva a la app"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Jmango360_Japi</name>
4
- <version>3.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
7
  <channel>community</channel>
@@ -31,9 +31,9 @@ Other generic mobile apps that you can add and configure:&#xD;
31
  For more details on JMango360 please visit our website http://www.jmango360.com or out knowledge site http://support.jmango360.com</description>
32
  <notes>* Bug fixes</notes>
33
  <authors><author><name>Duc Ngo</name><user>jmango360</user><email>duc@jmango360.com</email></author></authors>
34
- <date>2017-02-16</date>
35
- <time>03:45:08</time>
36
- <contents><target name="magecommunity"><dir name="Jmango360"><dir name="Japi"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Hide.php" hash="2e9fb95869151bb2a2c7cf7fca6f998f"/></dir></dir></dir></dir></dir><dir name="Order"><file name="Grid.php" hash="22273d3d0acaf1b0a093e524f87c6aff"/></dir><file name="Order.php" hash="04e94160608b989286aebeb190299565"/><dir name="Report"><dir name="Chart"><file name="Customers.php" hash="9a4c7c4af19c584aeb2dd5bc0f6d4735"/><file name="Orders.php" hash="ae5f516c56c5c8c72c14a7b0aa275ac6"/><file name="Sales.php" hash="7d5db491deeaa90571e965bbc2c07e23"/></dir><dir name="Customers"><file name="Chart.php" hash="69f2a7121d61f24d9b75de7281def8e5"/><file name="Grid.php" hash="f1adb7504646338330b7e7ef64a4fc5c"/></dir><file name="Customers.php" hash="6ffd72b1280b6cce39665fd35b5c4a78"/><dir name="Filter"><dir name="Form"><file name="Orders.php" hash="92574de82aa73cdd9de0cc59e20dadc4"/></dir><file name="Form.php" hash="7bf3f161f66abf97fc7db57e0acd59cf"/></dir><dir name="Orders"><file name="Chart.php" hash="75bd0bbe8649f423918dec555d3e9592"/><file name="Grid.php" hash="35590c1a54c8490c3982f0df038b8328"/></dir><file name="Orders.php" hash="6416ac5f6889d5a06f2a32f5ff00cbe2"/><dir name="Sales"><file name="Chart.php" hash="416f4ff4cdaa7f8f099dad3ffccacd68"/><file name="Grid.php" hash="baa9caa57906627ed3f31ec4fd87a500"/></dir><file name="Sales.php" hash="c1d1df3e7b90451e42142bb414a28d6b"/></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="2b02a6c90256c9bcc6d99d2d9301413e"/><file name="Log.php" hash="d9221555160853639e1d8939040fb95e"/><file name="User.php" hash="cb7dfc72c7acde78efbabc49617cba3c"/><file name="Version.php" hash="b9802c302ef7ecacf106993e8506d314"/></dir></dir></dir><dir name="Widget"><dir name="Form"><dir name="Renderer"><dir name="Element"><file name="Chart.php" hash="f6f4c2ff80cb71f3e0758809b8ad480d"/></dir></dir></dir></dir></dir><file name="Banner.php" hash="0cafa22b3012e1a3b39f0e72a03534fa"/><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="43581de27feb1a0187bb0aee68bab0e9"/><file name="Category.php" hash="5d01fc7d90af7eccd412ef61056b825b"/><file name="Decimal.php" hash="d40a09709bda7b1011e4d2c970308638"/><file name="Price.php" hash="02dfe6d9429f0190ecf9a41f73653330"/></dir><file name="View.php" hash="cc03d4012f37b248e1b7d21c1fe9f539"/></dir><dir name="Product"><file name="List.php" hash="7a905e6f378ebfaa0604a51e066427dc"/></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="4ba3d242a3343b1786cf081047650bb9"/></dir></dir><file name="Layer.php" hash="4d48db1a2b35151c363ed045646199a9"/></dir><dir name="Checkout"><dir name="Cart"><file name="Totals.php" hash="7aced913b0e0cd1622dd8d03b376327d"/></dir><dir name="Onepage"><file name="Addjs.php" hash="077d09b15ec8823c76854a575359cb1a"/><file name="Address.php" hash="bf596c77e982d4350fc532a3deb79e47"/><file name="Billing.php" hash="c2276c96503c44e79d54a4cc659af42b"/><file name="Shipping.php" hash="37f8cf7ca7cbd93d991837f0c59eb1c7"/></dir><file name="Onepage.php" hash="b02fe40ae9c73c0d1248c178a4f2d133"/></dir><file name="Form.php" hash="ea37bc2a15eeaa808ef3acd06dba4a91"/><dir name="GiftMessage"><dir name="Message"><file name="Inline.php" hash="8f20e9383634f46b624f15d77b616380"/></dir></dir></dir><dir name="Controller"><file name="Abstract.php" hash="ccb6cc7460e7bbf30293983bbe61a07d"/></dir><file name="Exception.php" hash="bd30a2efecdf9a8197f066d9574cd1ab"/><dir name="Helper"><dir name="Adminhtml"><dir name="Report"><file name="Order.php" hash="9f7a02c48f3f8e0545488375b03d7333"/></dir></dir><file name="Data.php" hash="9e971e39e83d3e40603649920f07bded"/><file name="Debug.php" hash="1002a59a5dee41f34da875979e907cbf"/><dir name="GiftMessage"><file name="Message.php" hash="5d1df4710b0aa3154ce0fa744b0244f3"/></dir><file name="Js.php" hash="55565b7d668b993fae6c180b30766d17"/><dir name="Product"><file name="Bundle.php" hash="c89baf5638e81d030f5a72b011af7cfd"/><file name="Configurable.php" hash="ade7d5ca64b091be916d54746ee38571"/><file name="Downloadable.php" hash="db531632adda525a91625da8d13296d6"/><file name="File.php" hash="0968c5688015b9c7a002457428607f80"/><file name="Grouped.php" hash="e9b47fc58b1ddd3e63e285cd19f1b66d"/><file name="Media.php" hash="291003011bdca7299280ef0136089edf"/><file name="Options.php" hash="1bc8973b5a9227b0b7de93f2307c7fb9"/><file name="Review.php" hash="e415a0215a8dfbdac5ed76e6c065c705"/><file name="TierPrice.php" hash="4a7e94d83eed9e7ba47ee196b4ae15d9"/></dir><file name="Product.php" hash="389d3d91ca2d84fc975c8b89bc083a3e"/><file name="Tax.php" hash="05c99785012d55fce12c4f094385e25c"/></dir><dir name="Model"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="f058e0ced4579a556cbb969a98c7fc66"/><file name="Decimal.php" hash="849e1dbc11c99fb8f7a1f9d33e0d7908"/><file name="Price.php" hash="2bdc6f1ff06ad5aa736972c72558fd25"/></dir></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="81b287f96c40094c2a3743ddc6f6c6cb"/></dir></dir></dir><dir name="Core"><file name="Session.php" hash="7c5531af03c6a98e14dda3d358270938"/></dir><file name="Dispatcher.php" hash="81004902926427ba06a1a90d6e799554"/><dir name="Magpleasure"><dir name="Tierprices"><file name="Price.php" hash="1bfd6ed086649f518b3e98436513a491"/></dir></dir><file name="Observer.php" hash="19bdc05046c4c994d8741d79b248b25b"/><dir name="Renderer"><file name="Json.php" hash="b7c471548eecae7c9d05072aa6695cbb"/></dir><file name="Renderer.php" hash="47c320f795f1328a8df37d4b9af56abc"/><file name="Request.php" hash="ece58a0074c2ba238c102983e05d15a8"/><dir name="Resource"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="5bd13fbb5e8012ad24dc7908bc5ea755"/><file name="Decimal.php" hash="551120b728226ed408292fac732a05d7"/><file name="Price.php" hash="321f70b515b4d3deb9c7cc58eb803bf2"/></dir></dir></dir><dir name="Report"><dir name="Order"><file name="Collection.php" hash="1c5e69f548f2b4a0da8f789d7d03b643"/></dir></dir><dir name="Sales"><dir name="Report"><dir name="Order"><dir name="Collection"><file name="Aggregated.php" hash="61848c0b80699acbf478f279231c161d"/><file name="Live.php" hash="ea323ca0eec324ece97f08ece6639fb9"/></dir></dir><file name="Order.php" hash="53641b24d23bd811c278f65b56d5765f"/></dir></dir><file name="Setup.php" hash="3a97ea2e652869965f5b47b9e3099896"/></dir><file name="Response.php" hash="7209bb2e9c5b97b2a46d10ff97aa6740"/><dir name="Rest"><dir name="Cart"><file name="Coupon.php" hash="a5be6cfe674b46b6ba290b0388edf8ad"/><file name="Update.php" hash="57fd6285bb4c9e043c9117f31d211653"/></dir><file name="Cart.php" hash="7aacc81fa3229f077d842f5d66ff3a5c"/><dir name="Catalog"><dir name="Category"><file name="Assignedproducts.php" hash="6e7aa946a3aaad24b9ddb862f8ef6382"/><file name="Tree.php" hash="5dce196312e33d3f7ac4a2235312e587"/></dir><dir name="Search"><file name="Products.php" hash="8b8f43f4f563dc27002884a57d42c858"/><file name="Terms.php" hash="71cadbe1fa7b19c96f2201f087c832ff"/></dir></dir><file name="Catalog.php" hash="a71eed5f39431b40a80b06f566baa653"/><dir name="Checkout"><file name="Methods.php" hash="ce5e08ab2b5cf944c5b6b9ccc25773e0"/><file name="Onepage.php" hash="2aaa71fd90f16b9290e49e198e0704b3"/><file name="Redirect.php" hash="19932aa45299e5ea3995f52cb9987183"/><file name="Submit.php" hash="50ac35f8218f5c3abeb0946e138db2ae"/></dir><file name="Checkout.php" hash="514f5be707f0a1a1175b825983831705"/><dir name="Cms"><file name="Page.php" hash="dcad4498870df70f87c9ad9a9940d976"/></dir><file name="Cms.php" hash="a12fd4b2a437c8a6c0b2b65a1e471c23"/><dir name="Customer"><file name="Address.php" hash="cef92ca089a5cd7cd1218339104c4894"/><file name="Edit.php" hash="226f77d8cee872c4c622c062cfe1eff0"/><file name="Group.php" hash="c717d5faf52919787aa0f87270856ca3"/><file name="List.php" hash="17f0096755be01327c163a701b9f3780"/><file name="Login.php" hash="77df1e0afcf40e6129fb61397217f053"/><dir name="Order"><file name="List.php" hash="ea7a040c3e206c673df007df99ff17c2"/></dir><file name="Order.php" hash="da1565601bac963b72f64b0e6a147704"/><file name="Password.php" hash="6df128903742a8723f0a59c4203f8b12"/><file name="Register.php" hash="e25d0045e0d8ff650ca208b9fe75e3ae"/></dir><file name="Customer.php" hash="ecf57dcf8bbba1ebb12ed10630bd1715"/><file name="Mage.php" hash="1d3efa624b4a9459e88dbc1a65da030a"/><dir name="Product"><file name="Crosssell.php" hash="b21821bd444112354a31dc8b683c4f4c"/><file name="List.php" hash="8d84ec9326a6747de6d2ca0a5aceee6c"/><file name="Price.php" hash="d47c9903d5719b0cee73836419e27bb1"/><file name="Purchased.php" hash="feb7fd9176da74e59722984732d04a9a"/><file name="Related.php" hash="8a6b52fc39f099f4339a91ad5709537a"/><file name="Review.php" hash="842153c90bd08fb9ec550f9aea8c7030"/><file name="Search.php" hash="b118477df326de2b7a738954032b93e9"/><file name="Upsell.php" hash="56a4075e88a75d1cfa89e7da1130a2b4"/><file name="Url.php" hash="0372ce63d63bc5f2982a35b335643661"/><file name="Viewed.php" hash="c2a9c99a56b57d8288eec75657f9bd47"/></dir><file name="Product.php" hash="33f395e10d5578d948bf32a7bd5388fd"/><file name="Wishlist.php" hash="ee26b4efcbf3b2c39aec2c1e3402c35b"/></dir><file name="Server.php" hash="02856ceb6c954f303bc4f3f0d5dd48be"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Icon.php" hash="242de9b094f94e397dc606dc926cc33f"/><file name="Payment.php" hash="5964322419785004a6c3f84a940d8d13"/><file name="Shipping.php" hash="016f22646fbac10cd81c6b7904c9abde"/></dir><dir name="Source"><dir name="Address"><file name="Attributes.php" hash="1a29b64d271693fba3ea76599d3408e2"/><file name="Validatetype.php" hash="6f4d9767ac0e476ec6a6cd3964882721"/></dir><file name="Attributes.php" hash="4b4de29e00623c971038d6fe895e5e76"/><dir name="Catalog"><file name="Direction.php" hash="68cd86444037506ec39de8eba3c07d8b"/><file name="Sortby.php" hash="d2aba9a3798b8e2eee8c275fbbd202e1"/></dir><file name="Catalogimage.php" hash="500f9994ea13e463a5e5e5d3963cfbd1"/><dir name="Customer"><file name="Attributes.php" hash="8963356aabf88647ab5ecbbbe8cfb9f1"/></dir><file name="Defaultimage.php" hash="04c896116c01b16e2ac8d7f23bbc29d6"/><file name="Payment.php" hash="70e82f4887eb297d6a58160f64bfd204"/><file name="Shipping.php" hash="7d8e5a2dc8a57099d908bef2403aad46"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Japi"><file name="LogController.php" hash="b17e024285aea7b6834cf5bc9b868916"/><file name="OrderController.php" hash="e6b7c1f5a7156a06fa3f51c32e6bbba9"/><file name="ReportController.php" hash="e88b2425e0a39f7f2b0c2902a6d2d5e9"/><file name="TroubleshootingController.php" hash="bb8951d1523a56a0f55e827614a38d66"/></dir></dir><file name="CheckoutController.php" hash="c5e0690df5ae2c6249c6a6711468fd65"/><dir name="Customer"><file name="AccountController.php" hash="2e055c5b22a2414263a1b7d3fd0607f9"/></dir><file name="CustomerController.php" hash="2cc4407dc6a31c51d276433de67530f0"/><file name="ImageController.php" hash="a5b48d4e075faf989c908bd0954d3878"/><file name="KlarnaController.php" hash="fafb22cc7b5e2f69ee3dfb9094a04dcd"/><dir name="Rest"><file name="CartController.php" hash="3994aafe8e31094b765fc0120c888fa3"/><file name="CatalogController.php" hash="8df5b798bb0330f5e3182717e1e15bf7"/><file name="CheckoutController.php" hash="2fd4a4bca1a37788616645f50392a701"/><file name="CmsController.php" hash="cb1bc3f67136434c4d8af1b5660eab1e"/><file name="CustomerController.php" hash="ca2b76f8f4e8a84d81749b37910287bd"/><file name="MageController.php" hash="e267156b2acf82d309b6c8c4680a7371"/><file name="ProductController.php" hash="81c0a0b0afcdfe99d6c651244baa075c"/><file name="WishlistController.php" hash="d7b0c8ff628b4244d120843d54a41248"/></dir><file name="TestController.php" hash="ffb60653808c0e0af00cc73d4755ef99"/></dir><dir name="data"><dir name="japi_setup"><file name="data-install-2.0.0.php" hash="bcf6de66f6b296182268b11b3e80bbeb"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="9d1888abb4ed93ec7b3e1fa678fb1411"/><file name="config.xml" hash="92fd8d0839b348a0658933a9fb806a69"/><file name="system.xml" hash="c4bd0cc3bc8b92dbdf398b3f4d71c36f"/></dir><dir name="sql"><dir name="japi_setup"><file name="install-1.0.0.php" hash="ce407ff5715c837d02b1aba7975bf512"/><file name="upgrade-2.0.1.2-2.0.2.php" hash="6fc0e0306b685279fc60f298643d181a"/><file name="upgrade-2.1.6-2.2.0.php" hash="947afcf7e20dfc2c3a3e45d8e5c316cd"/><file name="upgrade-2.2.0-2.2.1.php" hash="12a28845acf823eefc5f613b048efe52"/><file name="upgrade-2.8.2-2.9.0.php" hash="2761423f65920af0f8ba05d438710869"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Jmango360_Japi.xml" hash="b60701b3a14084fa1a440ca5fe5bf47b"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="jmango360_japi.xml" hash="d6e1656e4a8e79dd9e37e0b09a5f57a6"/></dir><dir name="template"><dir name="japi"><dir name="report"><file name="chart.phtml" hash="102704d97cf69793a50fa96538bd767f"/><dir name="grid"><file name="container.phtml" hash="79050f4e2bc7b70ae452e850fc27e0b7"/></dir></dir><dir name="widget"><dir name="form"><dir name="renderer"><dir name="element"><file name="chart.phtml" hash="fb14be221a9ec0faad4ace8579c5dddc"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="jmango360_japi.xml" hash="70d473a3ff1ce3c669bc89d5ae14d762"/></dir><dir name="template"><dir name="japi"><dir name="TIG"><dir name="PostNL"><dir name="av"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="0cb781955d33fae46da09d62bd6fdaf3"/><file name="shipping.phtml" hash="cb72f56f0d26171c429d7a70701e0913"/></dir></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="9a623e8c2184d08c2b288456ba50aef4"/><file name="postcode_check.phtml" hash="cbb8bfd76db65041cafacf976312ceb7"/></dir></dir></dir><dir name="do"><dir name="onepage"><file name="available.phtml" hash="8fce41a1696540a4546b52c025f3dde7"/></dir></dir></dir></dir><dir name="checkout"><dir name="onepage"><file name="address.phtml" hash="3164ff4fc2d5f798e591a168d9d937d1"/><file name="agreements.phtml" hash="ae43c3b670b0d11a1217ca927a184ff7"/><file name="billing.phtml" hash="d5491399cbce3e565757023dc3e594ed"/><file name="coupon.phtml" hash="a27beeba5f8b2160dccc6d4198c6517d"/><file name="js.phtml" hash="ac1740fe3e829d228a57b1e1a9dda58b"/><dir name="payment"><file name="info.phtml" hash="26bb640843ee3fb6e72b4f2739f0a111"/><file name="methods.phtml" hash="1680b5e33d8123fdb58ecbd353ff1ba7"/></dir><file name="payment.phtml" hash="cc3bfd21f2a141ea403db094e1264781"/><dir name="review"><file name="button.phtml" hash="e2089ae34e409df2fa13977a55db5f04"/><file name="info.phtml" hash="54ea567e7273a0942fcdddfb95340e8e"/><file name="item.phtml" hash="244bba60d9151be71777e80e138b6ee7"/><file name="totals.phtml" hash="0decbe242701193fee270e1f0f520a93"/></dir><file name="review.phtml" hash="d2494b8faac5833e747a5d329ee4fab7"/><file name="shipping.phtml" hash="d0aba8dade93f6798285f7163ec65e58"/><dir name="shipping_method"><file name="additional.phtml" hash="78c6dab72fefb888f587221639bf9177"/><file name="available.phtml" hash="4feca53deabec45bc3b223e64e32c4f0"/></dir><file name="shipping_method.phtml" hash="edc75d0aecc103ed69b216ef76bc6af2"/><file name="style.phtml" hash="9236d27739d826fbf2f1ff0d011ee6d8"/></dir><file name="onepage.phtml" hash="2be9b999efcf0f2d9b32a8b6121c3ffe"/></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="4d028d4ca89472c1e0caadb43134d9fd"/></dir><dir name="form"><file name="edit.phtml" hash="484b2b56cbf34dba73c78dc97552c024"/><file name="register.phtml" hash="978dc0d67f796c90e8675cbaec1a06ba"/></dir></dir><dir name="fatturazione"><dir name="customer"><dir name="address"><file name="edit.phtml" hash="e7f27a8a61d9554bfbc4f36dfff60e4d"/></dir></dir></dir><file name="form.phtml" hash="eec0416c8830c4ebe004256d86c7ea59"/><dir name="giftmessage"><file name="inline.phtml" hash="78814da47aed68315b7d1d6b2e64c4c7"/></dir><dir name="kega_checkout"><dir name="onepage"><file name="payment.phtml" hash="36ceb7a03629f08c789f42e98b1c1535"/></dir></dir><dir name="page"><dir name="html"><file name="head.phtml" hash="b6a8cc30cd31bf642c2f885ed1fda855"/><file name="smart-app-banner.phtml" hash="8423731f246db33efb61026dd9ef5ddc"/></dir><file name="rwd.phtml" hash="06c53b02ad843574b22a803a709988f6"/></dir><dir name="symfony"><dir name="postcode"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="65181e0ab40a40671f35c54bc25b99af"/><file name="shipping.phtml" hash="a6e2a192b9998889e5d113a92df62623"/></dir></dir></dir></dir><dir name="vaimo"><dir name="klarna"><dir name="klarnacheckout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="f9f469de9cd1243cab176fc56071db64"/></dir></dir><file name="cart.phtml" hash="b40f17348beb248c4f1ff22374a1a05d"/><dir name="customer"><file name="balance.phtml" hash="198809cb8ebf8a468b89497c9abba07c"/></dir><dir name="discount"><file name="coupon.phtml" hash="1f3686b00a610d3f038c84e3621ef913"/></dir><file name="header.phtml" hash="fed93df0c84265a0f980b0de103945b8"/><file name="main.phtml" hash="94ad4f3aa30ae7db1131a1fe48ea2a99"/><file name="newsletter.phtml" hash="3a2251b9559e8b87b46ddf08b7cd27e2"/><file name="reward.phtml" hash="38c218d3777f11b03c3686067a706d00"/><file name="shipping_method.phtml" hash="44bb3c6efaab76641e02a07c2007a090"/><file name="sidebar.phtml" hash="410508fd9089e0be030915836abb42e2"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="japi"><dir name="css"><dir name="TIG"><dir name="Buckaroo3Extended"><file name="styles_opc.css" hash="9b0ecbbeb22655e2e896ec8134fa8188"/></dir></dir><file name="gomage-checkout.css" hash="223657dbb0aba2783bb9e8de4b633d93"/><dir name="icomoon"><dir name="fonts"><file name="icomoon.eot" hash="842065e274d718c38968a81a721d49f4"/><file name="icomoon.svg" hash="2deea3fcd9ecc464a422aa37943b5848"/><file name="icomoon.ttf" hash="8ffbfccd78de7c37eadeca837ee40344"/><file name="icomoon.woff" hash="32df67c3aed8769c316b3e7ff1bb637c"/></dir><file name="style.css" hash="178c956df2a327dc88e4ef8069caa9bc"/></dir><file name="send-cloud.css" hash="77f77fa89359fe508708ec522a5e76d8"/><file name="style.css" hash="493bff149b9b5ce64873737f7cd3b6b0"/><file name="style.less" hash="d7b2efcca06aeaec6777486bfa7298cf"/></dir><dir name="images"><file name="ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="bg-down.png" hash="04d7cd2963010b610f608aca03a45c63"/><file name="bg-up.png" hash="2882d38108532275fb1d425bbd021c9d"/><file name="glc_sprite.png" hash="5cd6f3ba1df3a6d26db5bbc193ce9c61"/></dir><dir name="js"><file name="checkout.js" hash="6cf632251c7521d8a219bca8f1896413"/><dir name="vaimo"><dir name="klarna"><file name="klarnautils.js" hash="e29553aa8446af7672c9ba1814fac3a5"/></dir></dir><dir name="varien"><file name="form.js" hash="9abc0bb4419828513b5c6e904a041616"/></dir></dir><dir name="lib"><dir name="bootstrap"><dir name="css"><file name="bootstrap.min.css" hash="5d5357cb3704e1f43a1f5bfed2aebf42"/></dir><dir name="fonts"><file name="glyphicons-halflings-regular.eot" hash="f4769f9bdb7466be65088239c12046d1"/><file name="glyphicons-halflings-regular.svg" hash="89889688147bd7575d6327160d64e760"/><file name="glyphicons-halflings-regular.ttf" hash="e18bbf611f2a2e43afc071aa2f4e1512"/><file name="glyphicons-halflings-regular.woff" hash="fa2772327f55d8198301fdb8bcfc8158"/><file name="glyphicons-halflings-regular.woff2" hash="448c34a56d699c29117adc64c43affeb"/></dir><dir name="js"><file name="collapse.js" hash="2bc99ca6c9b060ba5616f41ddd5e2703"/><file name="modal.js" hash="b7d8f688e67e78c07ffde44ec4248fd9"/><file name="transition.js" hash="3cb001675410903ecaadcfeb7c296965"/></dir></dir><dir name="jquery"><file name="jquery-1.11.2.min.js" hash="5790ead7ad3ba27397aedfa3d263b867"/><file name="jquery-noconflict.js" hash="32eb0a33820167f328a227e11210d32a"/></dir><dir name="ladda"><file name="ladda.min.css" hash="614e769024385cf21879d6a238b682e1"/><file name="ladda.min.js" hash="a34bcf417de7fc290ac5b034caca2371"/></dir><dir name="scrollto"><file name="scrollTo.js" hash="5c86793da8a4bfec6338bec965d35f6b"/></dir><dir name="smart-app-banner"><file name="smart-app-banner.css" hash="64c15053dbd22b44a519f55e75f6c2ca"/><file name="smart-app-banner.js" hash="4162cb20424080964b5d886125b73b47"/></dir><dir name="spin"><file name="spin.min.js" hash="1d06ceb800acbeae82d1fa2ad5b571de"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Jmango360_Japi.csv" hash="883a2aeb63d6bb6595e93eab58ac4d7a"/></dir><dir name="fr_FR"><file name="Jmango360_Japi.csv" hash="4fa0b7d7c2bd1f984160aaf1b5225f11"/></dir><dir name="it_IT"><file name="Jmango360_Japi.csv" hash="39e1394b01ab1b941b4e6e03d5cf4b9e"/></dir><dir name="pt_PT"><file name="Jmango360_Japi.csv" hash="818a9fa3c1f6fea344bcfeef1a432f35"/></dir><dir name="pt_BR"><file name="Jmango360_Japi.csv" hash="818a9fa3c1f6fea344bcfeef1a432f35"/></dir><dir name="ar_SA"><file name="Jmango360_Japi.csv" hash="25b829fa5515c567af7ed8e5e4a2690a"/></dir><dir name="nl_NL"><file name="Jmango360_Japi.csv" hash="e658d12bbdc2f0417086b9ac1db990cb"/></dir><dir name="sv_SE"><file name="Jmango360_Japi.csv" hash="3414d54579206e71cabaaea3153bc266"/></dir><dir name="da_DK"><file name="Jmango360_Japi.csv" hash="a8f243d230a312f4d5cee8c99a275ee7"/></dir><dir name="es_ES"><file name="Jmango360_Japi.csv" hash="0f763b984f64e095f863c2e66335c791"/></dir><dir name="de_DE"><file name="Jmango360_Japi.csv" hash="d97408dc0ece1a193669bc491798355a"/></dir></target></contents>
37
  <compatible/>
38
  <dependencies><required><php><min>5.2.0</min><max>7.1.0</max></php></required></dependencies>
39
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Jmango360_Japi</name>
4
+ <version>3.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
7
  <channel>community</channel>
31
  For more details on JMango360 please visit our website http://www.jmango360.com or out knowledge site http://support.jmango360.com</description>
32
  <notes>* Bug fixes</notes>
33
  <authors><author><name>Duc Ngo</name><user>jmango360</user><email>duc@jmango360.com</email></author></authors>
34
+ <date>2017-03-06</date>
35
+ <time>06:39:31</time>
36
+ <contents><target name="magecommunity"><dir name="Jmango360"><dir name="Japi"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Hide.php" hash="2e9fb95869151bb2a2c7cf7fca6f998f"/></dir></dir></dir></dir></dir><dir name="Order"><file name="Grid.php" hash="22273d3d0acaf1b0a093e524f87c6aff"/></dir><file name="Order.php" hash="04e94160608b989286aebeb190299565"/><dir name="Report"><dir name="Chart"><file name="Customers.php" hash="9a4c7c4af19c584aeb2dd5bc0f6d4735"/><file name="Orders.php" hash="ae5f516c56c5c8c72c14a7b0aa275ac6"/><file name="Sales.php" hash="7d5db491deeaa90571e965bbc2c07e23"/></dir><dir name="Customers"><file name="Chart.php" hash="69f2a7121d61f24d9b75de7281def8e5"/><file name="Grid.php" hash="f1adb7504646338330b7e7ef64a4fc5c"/></dir><file name="Customers.php" hash="6ffd72b1280b6cce39665fd35b5c4a78"/><dir name="Filter"><dir name="Form"><file name="Orders.php" hash="92574de82aa73cdd9de0cc59e20dadc4"/></dir><file name="Form.php" hash="7bf3f161f66abf97fc7db57e0acd59cf"/></dir><dir name="Orders"><file name="Chart.php" hash="75bd0bbe8649f423918dec555d3e9592"/><file name="Grid.php" hash="35590c1a54c8490c3982f0df038b8328"/></dir><file name="Orders.php" hash="6416ac5f6889d5a06f2a32f5ff00cbe2"/><dir name="Sales"><file name="Chart.php" hash="416f4ff4cdaa7f8f099dad3ffccacd68"/><file name="Grid.php" hash="baa9caa57906627ed3f31ec4fd87a500"/></dir><file name="Sales.php" hash="c1d1df3e7b90451e42142bb414a28d6b"/></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="2b02a6c90256c9bcc6d99d2d9301413e"/><file name="Log.php" hash="d9221555160853639e1d8939040fb95e"/><file name="User.php" hash="cb7dfc72c7acde78efbabc49617cba3c"/><file name="Version.php" hash="b9802c302ef7ecacf106993e8506d314"/></dir></dir></dir><dir name="Widget"><dir name="Form"><dir name="Renderer"><dir name="Element"><file name="Chart.php" hash="f6f4c2ff80cb71f3e0758809b8ad480d"/></dir></dir></dir></dir></dir><file name="Banner.php" hash="0cafa22b3012e1a3b39f0e72a03534fa"/><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="43581de27feb1a0187bb0aee68bab0e9"/><file name="Category.php" hash="5d01fc7d90af7eccd412ef61056b825b"/><file name="Decimal.php" hash="d40a09709bda7b1011e4d2c970308638"/><file name="Price.php" hash="02dfe6d9429f0190ecf9a41f73653330"/></dir><file name="View.php" hash="cc03d4012f37b248e1b7d21c1fe9f539"/></dir><dir name="Product"><file name="List.php" hash="7a905e6f378ebfaa0604a51e066427dc"/></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="4ba3d242a3343b1786cf081047650bb9"/></dir></dir><file name="Layer.php" hash="4d48db1a2b35151c363ed045646199a9"/></dir><dir name="Checkout"><dir name="Cart"><file name="Totals.php" hash="7aced913b0e0cd1622dd8d03b376327d"/></dir><dir name="Onepage"><file name="Addjs.php" hash="077d09b15ec8823c76854a575359cb1a"/><file name="Address.php" hash="bf596c77e982d4350fc532a3deb79e47"/><file name="Billing.php" hash="c2276c96503c44e79d54a4cc659af42b"/><file name="Shipping.php" hash="37f8cf7ca7cbd93d991837f0c59eb1c7"/></dir><file name="Onepage.php" hash="b02fe40ae9c73c0d1248c178a4f2d133"/></dir><file name="Form.php" hash="e16eaa258cf650bd2106372fcf43ae9b"/><dir name="GiftMessage"><dir name="Message"><file name="Inline.php" hash="8f20e9383634f46b624f15d77b616380"/></dir></dir><file name="Js.php" hash="8e8091283a5a3142fec7486077a9586e"/></dir><dir name="Controller"><file name="Abstract.php" hash="ccb6cc7460e7bbf30293983bbe61a07d"/></dir><file name="Exception.php" hash="bd30a2efecdf9a8197f066d9574cd1ab"/><dir name="Helper"><dir name="Adminhtml"><dir name="Report"><file name="Order.php" hash="9f7a02c48f3f8e0545488375b03d7333"/></dir></dir><file name="Data.php" hash="88768166f910829b2d07d07aa6169899"/><file name="Debug.php" hash="1002a59a5dee41f34da875979e907cbf"/><dir name="GiftMessage"><file name="Message.php" hash="5d1df4710b0aa3154ce0fa744b0244f3"/></dir><file name="Js.php" hash="55565b7d668b993fae6c180b30766d17"/><dir name="Product"><file name="Bundle.php" hash="c89baf5638e81d030f5a72b011af7cfd"/><file name="Configurable.php" hash="ade7d5ca64b091be916d54746ee38571"/><file name="Downloadable.php" hash="db531632adda525a91625da8d13296d6"/><file name="File.php" hash="0968c5688015b9c7a002457428607f80"/><file name="Grouped.php" hash="e9b47fc58b1ddd3e63e285cd19f1b66d"/><file name="Media.php" hash="291003011bdca7299280ef0136089edf"/><file name="Options.php" hash="1bc8973b5a9227b0b7de93f2307c7fb9"/><file name="Review.php" hash="e415a0215a8dfbdac5ed76e6c065c705"/><file name="TierPrice.php" hash="4a7e94d83eed9e7ba47ee196b4ae15d9"/></dir><file name="Product.php" hash="0d9ade16dad1d259e9b6c58a7d92543f"/><file name="Tax.php" hash="05c99785012d55fce12c4f094385e25c"/></dir><dir name="Model"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="f058e0ced4579a556cbb969a98c7fc66"/><file name="Decimal.php" hash="849e1dbc11c99fb8f7a1f9d33e0d7908"/><file name="Price.php" hash="2bdc6f1ff06ad5aa736972c72558fd25"/></dir></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="81b287f96c40094c2a3743ddc6f6c6cb"/></dir></dir></dir><dir name="Core"><file name="Session.php" hash="7c5531af03c6a98e14dda3d358270938"/></dir><file name="Dispatcher.php" hash="81004902926427ba06a1a90d6e799554"/><dir name="Magpleasure"><dir name="Tierprices"><file name="Price.php" hash="1bfd6ed086649f518b3e98436513a491"/></dir></dir><file name="Observer.php" hash="945e64f9e9a3a4e88a0aee20a2301041"/><dir name="Renderer"><file name="Json.php" hash="b7c471548eecae7c9d05072aa6695cbb"/></dir><file name="Renderer.php" hash="47c320f795f1328a8df37d4b9af56abc"/><file name="Request.php" hash="ece58a0074c2ba238c102983e05d15a8"/><dir name="Resource"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="5bd13fbb5e8012ad24dc7908bc5ea755"/><file name="Decimal.php" hash="551120b728226ed408292fac732a05d7"/><file name="Price.php" hash="321f70b515b4d3deb9c7cc58eb803bf2"/></dir></dir></dir><dir name="Report"><dir name="Order"><file name="Collection.php" hash="1c5e69f548f2b4a0da8f789d7d03b643"/></dir></dir><dir name="Sales"><dir name="Report"><dir name="Order"><dir name="Collection"><file name="Aggregated.php" hash="61848c0b80699acbf478f279231c161d"/><file name="Live.php" hash="ea323ca0eec324ece97f08ece6639fb9"/></dir></dir><file name="Order.php" hash="53641b24d23bd811c278f65b56d5765f"/></dir></dir><file name="Setup.php" hash="3a97ea2e652869965f5b47b9e3099896"/></dir><file name="Response.php" hash="7209bb2e9c5b97b2a46d10ff97aa6740"/><dir name="Rest"><dir name="Cart"><file name="Coupon.php" hash="a5be6cfe674b46b6ba290b0388edf8ad"/><file name="Update.php" hash="3ba5baf802a358068e30dc7c840626b9"/></dir><file name="Cart.php" hash="d974ed0120b3199b0654eaf136780076"/><dir name="Catalog"><dir name="Category"><file name="Assignedproducts.php" hash="6e7aa946a3aaad24b9ddb862f8ef6382"/><file name="Tree.php" hash="5dce196312e33d3f7ac4a2235312e587"/></dir><dir name="Search"><file name="Products.php" hash="8b8f43f4f563dc27002884a57d42c858"/><file name="Terms.php" hash="71cadbe1fa7b19c96f2201f087c832ff"/></dir></dir><file name="Catalog.php" hash="a71eed5f39431b40a80b06f566baa653"/><dir name="Checkout"><file name="Methods.php" hash="ce5e08ab2b5cf944c5b6b9ccc25773e0"/><file name="Onepage.php" hash="2aaa71fd90f16b9290e49e198e0704b3"/><file name="Redirect.php" hash="19932aa45299e5ea3995f52cb9987183"/><file name="Submit.php" hash="50ac35f8218f5c3abeb0946e138db2ae"/></dir><file name="Checkout.php" hash="514f5be707f0a1a1175b825983831705"/><dir name="Cms"><file name="Page.php" hash="93bd77b2b3f2b8b1e72a3e6391553426"/></dir><file name="Cms.php" hash="a12fd4b2a437c8a6c0b2b65a1e471c23"/><dir name="Customer"><file name="Address.php" hash="cef92ca089a5cd7cd1218339104c4894"/><file name="Edit.php" hash="226f77d8cee872c4c622c062cfe1eff0"/><file name="Group.php" hash="c717d5faf52919787aa0f87270856ca3"/><file name="List.php" hash="17f0096755be01327c163a701b9f3780"/><file name="Login.php" hash="77df1e0afcf40e6129fb61397217f053"/><dir name="Order"><file name="List.php" hash="ea7a040c3e206c673df007df99ff17c2"/></dir><file name="Order.php" hash="da1565601bac963b72f64b0e6a147704"/><file name="Password.php" hash="6df128903742a8723f0a59c4203f8b12"/><file name="Register.php" hash="e25d0045e0d8ff650ca208b9fe75e3ae"/></dir><file name="Customer.php" hash="ecf57dcf8bbba1ebb12ed10630bd1715"/><file name="Mage.php" hash="1d3efa624b4a9459e88dbc1a65da030a"/><dir name="Product"><file name="Crosssell.php" hash="1fbc8c3886de3703a77e911ac459422c"/><file name="List.php" hash="8d84ec9326a6747de6d2ca0a5aceee6c"/><file name="Price.php" hash="d47c9903d5719b0cee73836419e27bb1"/><file name="Purchased.php" hash="feb7fd9176da74e59722984732d04a9a"/><file name="Related.php" hash="8a6b52fc39f099f4339a91ad5709537a"/><file name="Review.php" hash="842153c90bd08fb9ec550f9aea8c7030"/><file name="Search.php" hash="b118477df326de2b7a738954032b93e9"/><file name="Upsell.php" hash="56a4075e88a75d1cfa89e7da1130a2b4"/><file name="Url.php" hash="0372ce63d63bc5f2982a35b335643661"/><file name="Viewed.php" hash="c2a9c99a56b57d8288eec75657f9bd47"/></dir><file name="Product.php" hash="33f395e10d5578d948bf32a7bd5388fd"/><file name="Wishlist.php" hash="ee26b4efcbf3b2c39aec2c1e3402c35b"/></dir><file name="Server.php" hash="059b4dd18c18c1821426d5553a492146"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Icon.php" hash="242de9b094f94e397dc606dc926cc33f"/><file name="Payment.php" hash="5964322419785004a6c3f84a940d8d13"/><file name="Shipping.php" hash="016f22646fbac10cd81c6b7904c9abde"/></dir><dir name="Source"><dir name="Address"><file name="Attributes.php" hash="1a29b64d271693fba3ea76599d3408e2"/><file name="Validatetype.php" hash="6f4d9767ac0e476ec6a6cd3964882721"/></dir><file name="Attributes.php" hash="4b4de29e00623c971038d6fe895e5e76"/><dir name="Catalog"><file name="Direction.php" hash="68cd86444037506ec39de8eba3c07d8b"/><file name="Sortby.php" hash="d2aba9a3798b8e2eee8c275fbbd202e1"/></dir><file name="Catalogimage.php" hash="500f9994ea13e463a5e5e5d3963cfbd1"/><dir name="Customer"><file name="Attributes.php" hash="8963356aabf88647ab5ecbbbe8cfb9f1"/></dir><file name="Defaultimage.php" hash="04c896116c01b16e2ac8d7f23bbc29d6"/><file name="Payment.php" hash="70e82f4887eb297d6a58160f64bfd204"/><file name="Shipping.php" hash="7d8e5a2dc8a57099d908bef2403aad46"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Japi"><file name="LogController.php" hash="b17e024285aea7b6834cf5bc9b868916"/><file name="OrderController.php" hash="e6b7c1f5a7156a06fa3f51c32e6bbba9"/><file name="ReportController.php" hash="e88b2425e0a39f7f2b0c2902a6d2d5e9"/><file name="TroubleshootingController.php" hash="bb8951d1523a56a0f55e827614a38d66"/></dir></dir><file name="CheckoutController.php" hash="3b64764a01bfbb0258d38807f9c99f47"/><dir name="Customer"><file name="AccountController.php" hash="2e055c5b22a2414263a1b7d3fd0607f9"/></dir><file name="CustomerController.php" hash="2cc4407dc6a31c51d276433de67530f0"/><file name="ImageController.php" hash="a5b48d4e075faf989c908bd0954d3878"/><file name="KcoController.php" hash="38e15112f3438edd6723478cf18c6cab"/><file name="KlarnaController.php" hash="fafb22cc7b5e2f69ee3dfb9094a04dcd"/><dir name="Rest"><file name="CartController.php" hash="3994aafe8e31094b765fc0120c888fa3"/><file name="CatalogController.php" hash="8df5b798bb0330f5e3182717e1e15bf7"/><file name="CheckoutController.php" hash="2fd4a4bca1a37788616645f50392a701"/><file name="CmsController.php" hash="cb1bc3f67136434c4d8af1b5660eab1e"/><file name="CustomerController.php" hash="ca2b76f8f4e8a84d81749b37910287bd"/><file name="MageController.php" hash="e267156b2acf82d309b6c8c4680a7371"/><file name="ProductController.php" hash="81c0a0b0afcdfe99d6c651244baa075c"/><file name="WishlistController.php" hash="d7b0c8ff628b4244d120843d54a41248"/></dir><file name="TestController.php" hash="ffb60653808c0e0af00cc73d4755ef99"/></dir><dir name="data"><dir name="japi_setup"><file name="data-install-2.0.0.php" hash="bcf6de66f6b296182268b11b3e80bbeb"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="9d1888abb4ed93ec7b3e1fa678fb1411"/><file name="config.xml" hash="b3c3a1e3f79e157d7c870dc1765b6366"/><file name="system.xml" hash="bbba22a58485135d177a1e49162316e3"/></dir><dir name="sql"><dir name="japi_setup"><file name="install-1.0.0.php" hash="ce407ff5715c837d02b1aba7975bf512"/><file name="upgrade-2.0.1.2-2.0.2.php" hash="6fc0e0306b685279fc60f298643d181a"/><file name="upgrade-2.1.6-2.2.0.php" hash="947afcf7e20dfc2c3a3e45d8e5c316cd"/><file name="upgrade-2.2.0-2.2.1.php" hash="12a28845acf823eefc5f613b048efe52"/><file name="upgrade-2.8.2-2.9.0.php" hash="2761423f65920af0f8ba05d438710869"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Jmango360_Japi.xml" hash="b60701b3a14084fa1a440ca5fe5bf47b"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="jmango360_japi.xml" hash="d6e1656e4a8e79dd9e37e0b09a5f57a6"/></dir><dir name="template"><dir name="japi"><dir name="report"><file name="chart.phtml" hash="102704d97cf69793a50fa96538bd767f"/><dir name="grid"><file name="container.phtml" hash="79050f4e2bc7b70ae452e850fc27e0b7"/></dir></dir><dir name="widget"><dir name="form"><dir name="renderer"><dir name="element"><file name="chart.phtml" hash="fb14be221a9ec0faad4ace8579c5dddc"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="jmango360_japi.xml" hash="a67229437f1f630385489c30f6611b9d"/></dir><dir name="template"><dir name="japi"><dir name="TIG"><dir name="PostNL"><dir name="av"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="0cb781955d33fae46da09d62bd6fdaf3"/><file name="shipping.phtml" hash="cb72f56f0d26171c429d7a70701e0913"/></dir></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="9a623e8c2184d08c2b288456ba50aef4"/><file name="postcode_check.phtml" hash="cbb8bfd76db65041cafacf976312ceb7"/></dir></dir></dir><dir name="do"><dir name="onepage"><file name="available.phtml" hash="8fce41a1696540a4546b52c025f3dde7"/></dir></dir></dir></dir><dir name="checkout"><dir name="onepage"><file name="address.phtml" hash="3164ff4fc2d5f798e591a168d9d937d1"/><file name="agreements.phtml" hash="ae43c3b670b0d11a1217ca927a184ff7"/><file name="billing.phtml" hash="d5491399cbce3e565757023dc3e594ed"/><file name="coupon.phtml" hash="a27beeba5f8b2160dccc6d4198c6517d"/><file name="js.phtml" hash="ac1740fe3e829d228a57b1e1a9dda58b"/><dir name="payment"><file name="info.phtml" hash="26bb640843ee3fb6e72b4f2739f0a111"/><file name="methods.phtml" hash="1680b5e33d8123fdb58ecbd353ff1ba7"/></dir><file name="payment.phtml" hash="cc3bfd21f2a141ea403db094e1264781"/><dir name="review"><file name="button.phtml" hash="e2089ae34e409df2fa13977a55db5f04"/><file name="info.phtml" hash="54ea567e7273a0942fcdddfb95340e8e"/><file name="item.phtml" hash="244bba60d9151be71777e80e138b6ee7"/><file name="totals.phtml" hash="0decbe242701193fee270e1f0f520a93"/></dir><file name="review.phtml" hash="d2494b8faac5833e747a5d329ee4fab7"/><file name="shipping.phtml" hash="d0aba8dade93f6798285f7163ec65e58"/><dir name="shipping_method"><file name="additional.phtml" hash="78c6dab72fefb888f587221639bf9177"/><file name="available.phtml" hash="4feca53deabec45bc3b223e64e32c4f0"/></dir><file name="shipping_method.phtml" hash="edc75d0aecc103ed69b216ef76bc6af2"/><file name="style.phtml" hash="541d090aaadc7a189c07660a3339e82a"/></dir><file name="onepage.phtml" hash="2be9b999efcf0f2d9b32a8b6121c3ffe"/></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="4d028d4ca89472c1e0caadb43134d9fd"/></dir><dir name="form"><file name="edit.phtml" hash="484b2b56cbf34dba73c78dc97552c024"/><file name="register.phtml" hash="978dc0d67f796c90e8675cbaec1a06ba"/></dir></dir><dir name="fatturazione"><dir name="customer"><dir name="address"><file name="edit.phtml" hash="e7f27a8a61d9554bfbc4f36dfff60e4d"/></dir></dir></dir><file name="form.phtml" hash="eec0416c8830c4ebe004256d86c7ea59"/><dir name="giftmessage"><file name="inline.phtml" hash="78814da47aed68315b7d1d6b2e64c4c7"/></dir><file name="js.phtml" hash="9af5ac67d9b1a4fc689084e135215f99"/><dir name="kega_checkout"><dir name="onepage"><file name="payment.phtml" hash="36ceb7a03629f08c789f42e98b1c1535"/></dir></dir><dir name="nwt"><dir name="kco"><dir name="cart"><dir name="item"><file name="default.phtml" hash="212018e8f0c4472a07fc81633d27c550"/></dir></dir><file name="checkout.phtml" hash="c7781347405e7e59322d9fc3b2f42b3c"/></dir></dir><dir name="page"><dir name="html"><file name="head.phtml" hash="b6a8cc30cd31bf642c2f885ed1fda855"/><file name="smart-app-banner.phtml" hash="8423731f246db33efb61026dd9ef5ddc"/></dir><file name="rwd.phtml" hash="06c53b02ad843574b22a803a709988f6"/></dir><dir name="symfony"><dir name="postcode"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="65181e0ab40a40671f35c54bc25b99af"/><file name="shipping.phtml" hash="a6e2a192b9998889e5d113a92df62623"/></dir></dir></dir></dir><dir name="vaimo"><dir name="klarna"><dir name="klarnacheckout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="f9f469de9cd1243cab176fc56071db64"/></dir></dir><file name="cart.phtml" hash="b40f17348beb248c4f1ff22374a1a05d"/><dir name="customer"><file name="balance.phtml" hash="198809cb8ebf8a468b89497c9abba07c"/></dir><dir name="discount"><file name="coupon.phtml" hash="1f3686b00a610d3f038c84e3621ef913"/></dir><file name="header.phtml" hash="fed93df0c84265a0f980b0de103945b8"/><file name="main.phtml" hash="94ad4f3aa30ae7db1131a1fe48ea2a99"/><file name="newsletter.phtml" hash="3a2251b9559e8b87b46ddf08b7cd27e2"/><file name="reward.phtml" hash="38c218d3777f11b03c3686067a706d00"/><file name="shipping_method.phtml" hash="44bb3c6efaab76641e02a07c2007a090"/><file name="sidebar.phtml" hash="410508fd9089e0be030915836abb42e2"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="japi"><dir name="css"><dir name="TIG"><dir name="Buckaroo3Extended"><file name="styles_opc.css" hash="9b0ecbbeb22655e2e896ec8134fa8188"/></dir></dir><file name="gomage-checkout.css" hash="223657dbb0aba2783bb9e8de4b633d93"/><dir name="icomoon"><dir name="fonts"><file name="icomoon.eot" hash="842065e274d718c38968a81a721d49f4"/><file name="icomoon.svg" hash="2deea3fcd9ecc464a422aa37943b5848"/><file name="icomoon.ttf" hash="8ffbfccd78de7c37eadeca837ee40344"/><file name="icomoon.woff" hash="32df67c3aed8769c316b3e7ff1bb637c"/></dir><file name="style.css" hash="178c956df2a327dc88e4ef8069caa9bc"/></dir><file name="send-cloud.css" hash="77f77fa89359fe508708ec522a5e76d8"/><file name="style.css" hash="c09c518747a8ea25f1cc18a4338e3cf6"/><file name="style.less" hash="057a08f85877d2c9b9ebad90d3cfbc46"/></dir><dir name="images"><file name="ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="bg-down.png" hash="04d7cd2963010b610f608aca03a45c63"/><file name="bg-up.png" hash="2882d38108532275fb1d425bbd021c9d"/><file name="glc_sprite.png" hash="5cd6f3ba1df3a6d26db5bbc193ce9c61"/></dir><dir name="js"><file name="checkout.js" hash="6cf632251c7521d8a219bca8f1896413"/><dir name="vaimo"><dir name="klarna"><file name="klarnautils.js" hash="e29553aa8446af7672c9ba1814fac3a5"/></dir></dir><dir name="varien"><file name="form.js" hash="9abc0bb4419828513b5c6e904a041616"/></dir></dir><dir name="lib"><dir name="bootstrap"><dir name="css"><file name="bootstrap.min.css" hash="5d5357cb3704e1f43a1f5bfed2aebf42"/></dir><dir name="fonts"><file name="glyphicons-halflings-regular.eot" hash="f4769f9bdb7466be65088239c12046d1"/><file name="glyphicons-halflings-regular.svg" hash="89889688147bd7575d6327160d64e760"/><file name="glyphicons-halflings-regular.ttf" hash="e18bbf611f2a2e43afc071aa2f4e1512"/><file name="glyphicons-halflings-regular.woff" hash="fa2772327f55d8198301fdb8bcfc8158"/><file name="glyphicons-halflings-regular.woff2" hash="448c34a56d699c29117adc64c43affeb"/></dir><dir name="js"><file name="collapse.js" hash="2bc99ca6c9b060ba5616f41ddd5e2703"/><file name="modal.js" hash="b7d8f688e67e78c07ffde44ec4248fd9"/><file name="transition.js" hash="3cb001675410903ecaadcfeb7c296965"/></dir></dir><dir name="jquery"><file name="jquery-1.11.2.min.js" hash="5790ead7ad3ba27397aedfa3d263b867"/><file name="jquery-noconflict.js" hash="32eb0a33820167f328a227e11210d32a"/></dir><dir name="ladda"><file name="ladda.min.css" hash="614e769024385cf21879d6a238b682e1"/><file name="ladda.min.js" hash="a34bcf417de7fc290ac5b034caca2371"/></dir><dir name="scrollto"><file name="scrollTo.js" hash="5c86793da8a4bfec6338bec965d35f6b"/></dir><dir name="smart-app-banner"><file name="smart-app-banner.css" hash="64c15053dbd22b44a519f55e75f6c2ca"/><file name="smart-app-banner.js" hash="4162cb20424080964b5d886125b73b47"/></dir><dir name="spin"><file name="spin.min.js" hash="1d06ceb800acbeae82d1fa2ad5b571de"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Jmango360_Japi.csv" hash="f6bcc8de631311da22d0097b4508d420"/></dir><dir name="fr_FR"><file name="Jmango360_Japi.csv" hash="18a1f2a8dfca8ba4a2cb98d2e7deb0a1"/></dir><dir name="it_IT"><file name="Jmango360_Japi.csv" hash="1c43aa2f566cd1b2edeaa1e544d1133f"/></dir><dir name="pt_PT"><file name="Jmango360_Japi.csv" hash="31398310d2400a9a1abc548345831778"/></dir><dir name="pt_BR"><file name="Jmango360_Japi.csv" hash="31398310d2400a9a1abc548345831778"/></dir><dir name="ar_SA"><file name="Jmango360_Japi.csv" hash="25b829fa5515c567af7ed8e5e4a2690a"/></dir><dir name="nl_NL"><file name="Jmango360_Japi.csv" hash="0d7d58f3ece899e82406432c4d50a74e"/></dir><dir name="sv_SE"><file name="Jmango360_Japi.csv" hash="3414d54579206e71cabaaea3153bc266"/></dir><dir name="da_DK"><file name="Jmango360_Japi.csv" hash="a8f243d230a312f4d5cee8c99a275ee7"/></dir><dir name="es_ES"><file name="Jmango360_Japi.csv" hash="0f763b984f64e095f863c2e66335c791"/></dir><dir name="de_DE"><file name="Jmango360_Japi.csv" hash="d97408dc0ece1a193669bc491798355a"/></dir></target></contents>
37
  <compatible/>
38
  <dependencies><required><php><min>5.2.0</min><max>7.1.0</max></php></required></dependencies>
39
  </package>
skin/frontend/base/default/japi/css/style.css CHANGED
@@ -285,7 +285,7 @@ p.back-link {
285
  height: auto;
286
  }
287
  .form-list .control {
288
- margin: 1em 0 0 0;
289
  }
290
  .form-list .control > .input-box {
291
  display: inline-block;
@@ -300,6 +300,7 @@ p.back-link {
300
  width: 100%;
301
  padding: 0.4em 0.5em;
302
  border: 1px solid #dadada;
 
303
  }
304
  .form-list select[multiple] {
305
  min-height: 5em;
@@ -376,6 +377,10 @@ p.back-link {
376
  .form-list .fields .row {
377
  margin: 0;
378
  }
 
 
 
 
379
  #discount-coupon-form {
380
  padding-top: 1em;
381
  }
@@ -1190,3 +1195,255 @@ span.price {
1190
  padding: 1em;
1191
  border-bottom: 1px solid #d9d9d9;
1192
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
285
  height: auto;
286
  }
287
  .form-list .control {
288
+ margin: 0.5em 0 0 0;
289
  }
290
  .form-list .control > .input-box {
291
  display: inline-block;
300
  width: 100%;
301
  padding: 0.4em 0.5em;
302
  border: 1px solid #dadada;
303
+ background: #fafafa;
304
  }
305
  .form-list select[multiple] {
306
  min-height: 5em;
377
  .form-list .fields .row {
378
  margin: 0;
379
  }
380
+ .form-list + div {
381
+ float: none !important;
382
+ margin-top: 1em;
383
+ }
384
  #discount-coupon-form {
385
  padding-top: 1em;
386
  }
1195
  padding: 1em;
1196
  border-bottom: 1px solid #d9d9d9;
1197
  }
1198
+ /******** NEW_KCO ***********/
1199
+ .body-klarna-checkout #nwt_overlay {
1200
+ position: fixed;
1201
+ }
1202
+ .kco-left {
1203
+ padding: 12px !important;
1204
+ }
1205
+ .kco-left .nwtkco-block {
1206
+ margin-bottom: 20px;
1207
+ }
1208
+ .kco-left .nwtkco-block .show-all {
1209
+ font-size: 14px;
1210
+ }
1211
+ .kco-left .nwtkco-block label {
1212
+ font-weight: normal;
1213
+ font-size: 14px;
1214
+ }
1215
+ .kco-left .nwtkco-block .nwtkco-title h2 {
1216
+ text-indent: 0;
1217
+ padding-bottom: 5px;
1218
+ font-size: 15px;
1219
+ border: 0;
1220
+ }
1221
+ .kco-left .nwtkco-block .nwtkco-title h2 label {
1222
+ margin: 0;
1223
+ font-weight: bold;
1224
+ }
1225
+ .kco-left .nwtkco-block .nwtkco-content {
1226
+ padding-top: 0px;
1227
+ }
1228
+ .kco-left .nwtkco-block .nwtkco-content.block-totals,
1229
+ .kco-left .nwtkco-block .nwtkco-content.block-items {
1230
+ padding-top: 0;
1231
+ }
1232
+ .kco-left .nwtkco-block .nwtkco-content select {
1233
+ padding: 7px;
1234
+ border: 1px solid #dadada;
1235
+ background: #fafafa;
1236
+ width: 100%;
1237
+ border-radius: 4px;
1238
+ font-size: 14px;
1239
+ }
1240
+ .kco-left .nwtkco-block .nwtkco-content button {
1241
+ margin: 0;
1242
+ background: #0072cc;
1243
+ border: 1px solid #0072cc;
1244
+ color: #fff;
1245
+ font-weight: bold;
1246
+ font-size: 14px;
1247
+ height: 35px;
1248
+ border-radius: 4px;
1249
+ width: 100%;
1250
+ }
1251
+ .kco-left .nwtkco-block .nwtkco-content textarea {
1252
+ min-height: 100px;
1253
+ font-size: 14px;
1254
+ }
1255
+ .kco-left #nwtkco_customercomment .nwtkco-content.focused #kcoCommentSubmit {
1256
+ position: relative;
1257
+ bottom: auto;
1258
+ right: auto;
1259
+ }
1260
+ .kco-left #klarnakassan-coupon div.input-box {
1261
+ display: table;
1262
+ width: 100%;
1263
+ }
1264
+ .kco-left #klarnakassan-coupon div.input-box button,
1265
+ .kco-left #klarnakassan-coupon div.input-box input {
1266
+ display: table-cell;
1267
+ border-radius: 4px;
1268
+ }
1269
+ .kco-left #klarnakassan-coupon div.input-box button {
1270
+ float: right;
1271
+ width: 20%;
1272
+ margin: 0;
1273
+ background: #0072cc;
1274
+ border: 1px solid #0072cc;
1275
+ color: #fff;
1276
+ font-weight: bold;
1277
+ font-size: 14px;
1278
+ height: 35px;
1279
+ }
1280
+ .kco-left #klarnakassan-coupon div.input-box input {
1281
+ padding: 7px;
1282
+ margin: 0;
1283
+ width: 78%;
1284
+ border: 1px solid #dadada;
1285
+ font-size: 14px;
1286
+ height: auto;
1287
+ }
1288
+ .kco-left #klarnakassan-coupon .validation-advice {
1289
+ color: #df280a;
1290
+ margin-top: 5px;
1291
+ line-height: 1;
1292
+ background: none;
1293
+ border: 0;
1294
+ text-align: left;
1295
+ padding: 10px 0;
1296
+ font-size: 13px;
1297
+ }
1298
+ .kco-left #klarnakassan-coupon .validation-advice:before {
1299
+ content: "\e900";
1300
+ font-family: 'icomoon';
1301
+ font-style: normal;
1302
+ font-weight: normal;
1303
+ line-height: 1;
1304
+ padding-right: 5px;
1305
+ }
1306
+ .kco-left #klarnakassan-shipping-method .nwtkco-content > ul {
1307
+ border: 1px solid #dadada;
1308
+ border-radius: 4px;
1309
+ }
1310
+ .kco-left #klarnakassan-shipping-method .nwtkco-content > ul > li > strong {
1311
+ display: block;
1312
+ padding: 0 10px;
1313
+ font-weight: normal;
1314
+ }
1315
+ .kco-left #klarnakassan-shipping-method .nwtkco-content > ul > li ul {
1316
+ margin: 0 !important;
1317
+ border-top: 1px solid #dadada;
1318
+ padding-left: 0;
1319
+ background: #fafafa;
1320
+ }
1321
+ .kco-left #klarnakassan-shipping-method .nwtkco-content > ul > li ul li {
1322
+ padding: 10px 0;
1323
+ border-bottom: 1px solid #dadada;
1324
+ }
1325
+ .kco-left #klarnakassan-shipping-method .nwtkco-content > ul > li ul li:last-child {
1326
+ border-bottom: 0;
1327
+ }
1328
+ .kco-left #klarnakassan-shipping-method .nwtkco-content > ul > li ul li label {
1329
+ font-weight: normal;
1330
+ font-size: 14px;
1331
+ }
1332
+ .kco-left #klarnakassan-shipping-method .nwtkco-content > ul > li ul li > * {
1333
+ padding: 0 10px;
1334
+ }
1335
+ .kco-left .block-totals {
1336
+ border: 1px solid #dadada;
1337
+ border-radius: 4px;
1338
+ border-top-left-radius: 0;
1339
+ border-top-right-radius: 0;
1340
+ border-top: 0;
1341
+ }
1342
+ .kco-left .block-totals table tr {
1343
+ border: 1px solid #dadada;
1344
+ border-left: 0;
1345
+ border-right: 0;
1346
+ border-top: 0;
1347
+ background: #fafafa;
1348
+ }
1349
+ .kco-left .block-totals table tr td {
1350
+ padding: 10px;
1351
+ font-size: 14px;
1352
+ }
1353
+ .kco-left .block-totals table tr td .price {
1354
+ display: block;
1355
+ text-align: right;
1356
+ }
1357
+ .kco-left .block-totals table tfoot tr:last-child {
1358
+ border-bottom: 0;
1359
+ }
1360
+ .kco-left .block-items {
1361
+ border: 1px solid #dadada;
1362
+ border-radius: 4px;
1363
+ border-bottom-left-radius: 0;
1364
+ border-bottom-right-radius: 0;
1365
+ }
1366
+ .kco-left .block-items ol li.item {
1367
+ padding: 15px 10px;
1368
+ }
1369
+ .kco-left .block-items .product-image {
1370
+ display: block;
1371
+ width: 22%;
1372
+ float: left;
1373
+ margin-right: 10px;
1374
+ position: relative;
1375
+ }
1376
+ .kco-left .block-items .product-image img {
1377
+ width: 100%;
1378
+ height: auto;
1379
+ border: 1px solid #dadada;
1380
+ }
1381
+ .kco-left .block-items .product-image .item-qty-sticky {
1382
+ position: absolute;
1383
+ top: -8px;
1384
+ left: -8px;
1385
+ background: #419bf9;
1386
+ width: 23px;
1387
+ height: 24px;
1388
+ border-radius: 50%;
1389
+ text-align: center;
1390
+ line-height: 21px;
1391
+ }
1392
+ .kco-left .block-items .product-image .item-qty-sticky span {
1393
+ color: #fff;
1394
+ font-size: 13px;
1395
+ font-weight: bold;
1396
+ }
1397
+ .kco-left .block-items .product-name {
1398
+ font-weight: bold;
1399
+ font-size: 14px;
1400
+ }
1401
+ .kco-left .block-items .price {
1402
+ font-size: 14px;
1403
+ }
1404
+ .kco-left #nwt_checkout #nwt_unifaun_form {
1405
+ margin: 0 !important;
1406
+ }
1407
+ .kco-left #nwt_checkout #nwt_unifaun_form .nwt_unifaun_form_agent label {
1408
+ display: block;
1409
+ }
1410
+ .kco-left #nwt_checkout #nwt_unifaun_form .fields {
1411
+ margin-bottom: 10px !important;
1412
+ }
1413
+ .kco-left #nwt_checkout #nwt_unifaun_form .fields input {
1414
+ width: 100%;
1415
+ max-width: 100%;
1416
+ }
1417
+ .kco-left #nwt_checkout #nwt_unifaun_form .fields label {
1418
+ padding: 0 !important;
1419
+ }
1420
+ .kco-left #nwt_checkout #nwt_unifaun_form .fields select {
1421
+ margin-top: 10px !important;
1422
+ display: block;
1423
+ width: 100%;
1424
+ max-width: 100%;
1425
+ }
1426
+ .kco-left #nwt_checkout #nwt_unifaun_form button {
1427
+ width: 100%;
1428
+ display: block;
1429
+ }
1430
+ /**** Chronopost_Chronorelais ***/
1431
+ label[for="s_method_chronorelais_Chronopost_relais_France_2"] {
1432
+ display: inline;
1433
+ }
1434
+ .chronorelais-list .chronorelaismap .mappostalcode {
1435
+ text-align: left;
1436
+ }
1437
+ .chronorelais-list .chronorelaismap .mappostalcode input,
1438
+ .chronorelais-list .chronorelaismap .mappostalcode button {
1439
+ width: 49%;
1440
+ display: inline;
1441
+ height: 45px;
1442
+ vertical-align: top;
1443
+ }
1444
+ .chronorelais-list .chronorelaismap .mappostalcode input {
1445
+ padding: 10px;
1446
+ }
1447
+ .chronorelais-list .sp-methods-chronorelais {
1448
+ padding: 0;
1449
+ }
skin/frontend/base/default/japi/css/style.less CHANGED
@@ -339,7 +339,7 @@ p.required, p.back-link {
339
  }
340
 
341
  .control {
342
- margin: 1em 0 0 0;
343
 
344
  > .input-box {
345
  display: inline-block;
@@ -357,6 +357,7 @@ p.required, p.back-link {
357
  width: 100%;
358
  padding: 0.4em 0.5em;
359
  border: 1px solid #dadada;
 
360
 
361
  &[multiple] {
362
  min-height: 5em;
@@ -460,6 +461,11 @@ p.required, p.back-link {
460
  margin: 0;
461
  }
462
  }
 
 
 
 
 
463
  }
464
 
465
  #discount-coupon-form {
@@ -1458,4 +1464,286 @@ span.price {
1458
  }
1459
  }
1460
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1461
  }
339
  }
340
 
341
  .control {
342
+ margin: 0.5em 0 0 0;
343
 
344
  > .input-box {
345
  display: inline-block;
357
  width: 100%;
358
  padding: 0.4em 0.5em;
359
  border: 1px solid #dadada;
360
+ background: #fafafa;
361
 
362
  &[multiple] {
363
  min-height: 5em;
461
  margin: 0;
462
  }
463
  }
464
+
465
+ + div {
466
+ float: none !important;
467
+ margin-top: 1em;
468
+ }
469
  }
470
 
471
  #discount-coupon-form {
1464
  }
1465
  }
1466
  }
1467
+ }
1468
+
1469
+ /******** NEW_KCO ***********/
1470
+ .body-klarna-checkout {
1471
+ #nwt_overlay {
1472
+ position: fixed;
1473
+ }
1474
+ }
1475
+
1476
+ .kco-left {
1477
+ padding: 12px !important;
1478
+
1479
+ .nwtkco-block {
1480
+ margin-bottom: 20px;
1481
+ .show-all {
1482
+ font-size: 14px;
1483
+ }
1484
+ label {
1485
+ font-weight: normal;
1486
+ font-size: 14px;
1487
+ }
1488
+ .nwtkco-title h2 {
1489
+ text-indent: 0;
1490
+ padding-bottom: 5px;
1491
+ font-size: 15px;
1492
+ border: 0;
1493
+ label {
1494
+ margin: 0;
1495
+ font-weight: bold;
1496
+ }
1497
+ }
1498
+ .nwtkco-content {
1499
+ padding-top: 0px;
1500
+ &.block-totals, &.block-items {
1501
+ padding-top: 0;
1502
+ }
1503
+ select {
1504
+ padding: 7px;
1505
+ border: 1px solid #dadada;
1506
+ background: #fafafa;
1507
+ width: 100%;
1508
+ border-radius: 4px;
1509
+ font-size: 14px;
1510
+ }
1511
+ button {
1512
+ margin: 0;
1513
+ background: #0072cc;
1514
+ border: 1px solid #0072cc;
1515
+ color: #fff;
1516
+ font-weight: bold;
1517
+ font-size: 14px;
1518
+ height: 35px;
1519
+ border-radius: 4px;
1520
+ width: 100%;
1521
+ }
1522
+ textarea {
1523
+ min-height: 100px;
1524
+ font-size: 14px;
1525
+ }
1526
+ }
1527
+ }
1528
+ #nwtkco_customercomment {
1529
+ .nwtkco-content.focused {
1530
+ #kcoCommentSubmit {
1531
+ position: relative;
1532
+ bottom: auto;
1533
+ right: auto;
1534
+ }
1535
+ }
1536
+ }
1537
+ #klarnakassan-coupon {
1538
+ div.input-box {
1539
+ display: table;
1540
+ width: 100%;
1541
+ button, input {
1542
+ display: table-cell;
1543
+ border-radius: 4px;
1544
+ }
1545
+ button {
1546
+ float: right;
1547
+ width: 20%;
1548
+ margin: 0;
1549
+ background: #0072cc;
1550
+ border: 1px solid #0072cc;
1551
+ color: #fff;
1552
+ font-weight: bold;
1553
+ font-size: 14px;
1554
+ height: 35px;
1555
+ }
1556
+ input {
1557
+ padding: 7px;
1558
+ margin: 0;
1559
+ width: 78%;
1560
+ border: 1px solid #dadada;
1561
+ font-size: 14px;
1562
+ height: auto;
1563
+ }
1564
+ }
1565
+ .validation-advice {
1566
+ color: #df280a;
1567
+ margin-top: 5px;
1568
+ line-height: 1;
1569
+ background: none;
1570
+ border: 0;
1571
+ text-align: left;
1572
+ padding: 10px 0;
1573
+ font-size: 13px;
1574
+
1575
+ &:before {
1576
+ content: "\e900";
1577
+ font-family: 'icomoon';
1578
+ font-style: normal;
1579
+ font-weight: normal;
1580
+ line-height: 1;
1581
+ padding-right: 5px;
1582
+ }
1583
+ }
1584
+ }
1585
+ #klarnakassan-shipping-method {
1586
+ .nwtkco-content {
1587
+ > ul {
1588
+ border: 1px solid #dadada;
1589
+ border-radius: 4px;
1590
+ > li {
1591
+ > strong {
1592
+ display: block;
1593
+ padding: 0 10px;
1594
+ font-weight: normal;
1595
+ }
1596
+ ul {
1597
+ margin: 0 !important;
1598
+ border-top: 1px solid #dadada;
1599
+ padding-left: 0;
1600
+ background: #fafafa;
1601
+ li {
1602
+ padding: 10px 0;
1603
+ border-bottom: 1px solid #dadada;
1604
+ &:last-child {
1605
+ border-bottom: 0;
1606
+ }
1607
+ label {
1608
+ font-weight: normal;
1609
+ font-size: 14px;
1610
+ }
1611
+ > * {
1612
+ padding: 0 10px;
1613
+ }
1614
+ }
1615
+ }
1616
+ }
1617
+ }
1618
+ }
1619
+ }
1620
+ .block-totals {
1621
+ border: 1px solid #dadada;
1622
+ border-radius: 4px;
1623
+ border-top-left-radius: 0;
1624
+ border-top-right-radius: 0;
1625
+ border-top: 0;
1626
+ table {
1627
+ tr {
1628
+ border: 1px solid #dadada;
1629
+ border-left: 0;
1630
+ border-right: 0;
1631
+ border-top: 0;
1632
+ background: #fafafa;
1633
+ td {
1634
+ padding: 10px;
1635
+ font-size: 14px;
1636
+ .price {
1637
+ display: block;
1638
+ text-align: right;
1639
+ }
1640
+ }
1641
+ }
1642
+ tfoot {
1643
+ tr:last-child {
1644
+ border-bottom: 0;
1645
+ }
1646
+ }
1647
+ }
1648
+ }
1649
+ .block-items {
1650
+ ol li.item {
1651
+ padding: 15px 10px;
1652
+ }
1653
+ border: 1px solid #dadada;
1654
+ border-radius: 4px;
1655
+ border-bottom-left-radius: 0;
1656
+ border-bottom-right-radius: 0;
1657
+ .product-image {
1658
+ display: block;
1659
+ width: 22%;
1660
+ float: left;
1661
+ margin-right: 10px;
1662
+ position: relative;
1663
+ img {
1664
+ width: 100%;
1665
+ height: auto;
1666
+ border: 1px solid #dadada;
1667
+ }
1668
+ .item-qty-sticky {
1669
+ position: absolute;
1670
+ top: -8px;
1671
+ left: -8px;
1672
+ background: #419bf9;
1673
+ width: 23px;
1674
+ height: 24px;
1675
+ border-radius: 50%;
1676
+ text-align: center;
1677
+ line-height: 21px;
1678
+
1679
+ span {
1680
+ color: #fff;
1681
+ font-size: 13px;
1682
+ font-weight: bold;
1683
+ }
1684
+ }
1685
+ }
1686
+ .product-name {
1687
+ font-weight: bold;
1688
+ font-size: 14px;
1689
+ }
1690
+ .price {
1691
+ font-size: 14px;
1692
+ }
1693
+ }
1694
+ #nwt_checkout {
1695
+ #nwt_unifaun_form {
1696
+ margin: 0 !important;
1697
+ .nwt_unifaun_form_agent {
1698
+ label {
1699
+ display: block;
1700
+ }
1701
+ }
1702
+ .fields {
1703
+ margin-bottom: 10px !important;
1704
+ input {
1705
+ width: 100%;
1706
+ max-width: 100%;
1707
+ }
1708
+ label {
1709
+ padding: 0 !important;
1710
+ }
1711
+ select {
1712
+ margin-top: 10px !important;
1713
+ display: block;
1714
+ width: 100%;
1715
+ max-width: 100%;
1716
+ }
1717
+ }
1718
+ button {
1719
+ width: 100%;
1720
+ display: block;
1721
+ }
1722
+ }
1723
+ }
1724
+ }
1725
+
1726
+ /**** Chronopost_Chronorelais ***/
1727
+ label[for="s_method_chronorelais_Chronopost_relais_France_2"] {
1728
+ display: inline;
1729
+ }
1730
+
1731
+ .chronorelais-list {
1732
+ .chronorelaismap {
1733
+ .mappostalcode {
1734
+ text-align: left;
1735
+ input, button {
1736
+ width: 49%;
1737
+ display: inline;
1738
+ height: 45px;
1739
+ vertical-align: top;
1740
+ }
1741
+ input {
1742
+ padding: 10px;
1743
+ }
1744
+ }
1745
+ }
1746
+ .sp-methods-chronorelais {
1747
+ padding: 0;
1748
+ }
1749
  }