Jmango360_Japi - Version 2.9.2

Version Notes

* Bug fixes

Download this release

Release Info

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


Code changes from version 2.9.1 to 2.9.2

Files changed (35) hide show
  1. app/code/community/Jmango360/Japi/Block/Adminhtml/System/Config/Form/Button.php +19 -0
  2. app/code/community/Jmango360/Japi/Helper/Product.php +5 -4
  3. app/code/community/Jmango360/Japi/Model/Observer.php +18 -0
  4. app/code/community/Jmango360/Japi/Model/Rest/Cart.php +12 -0
  5. app/code/community/Jmango360/Japi/Model/Rest/Catalog/Search/Products.php +9 -2
  6. app/code/community/Jmango360/Japi/Model/Rest/Checkout.php +8 -5
  7. app/code/community/Jmango360/Japi/Model/Rest/Customer/Order/List.php +55 -7
  8. app/code/community/Jmango360/Japi/Model/Rest/Product.php +8 -3
  9. app/code/community/Jmango360/Japi/controllers/Adminhtml/Japi/ReportController.php +5 -0
  10. app/code/community/Jmango360/Japi/controllers/Adminhtml/Japi/TroubleshootingController.php +31 -0
  11. app/code/community/Jmango360/Japi/controllers/CheckoutController.php +42 -3
  12. app/code/community/Jmango360/Japi/controllers/Customer/AccountController.php +59 -0
  13. app/code/community/Jmango360/Japi/data/japi_setup/data-install-2.0.0.php +10 -5
  14. app/code/community/Jmango360/Japi/etc/adminhtml.xml +5 -5
  15. app/code/community/Jmango360/Japi/etc/config.xml +17 -1
  16. app/code/community/Jmango360/Japi/etc/system.xml +10 -0
  17. app/design/frontend/base/default/layout/jmango360_japi.xml +10 -2
  18. app/design/frontend/base/default/template/japi/checkout/onepage.phtml +3 -3
  19. app/design/frontend/base/default/template/japi/checkout/onepage/billing.phtml +80 -15
  20. app/design/frontend/base/default/template/japi/checkout/onepage/shipping.phtml +18 -15
  21. app/design/frontend/base/default/template/japi/checkout/onepage/shipping_method.phtml +33 -1
  22. app/design/frontend/base/default/template/japi/checkout/onepage/style.phtml +12 -0
  23. app/design/frontend/base/default/template/japi/customer/form/register.phtml +20 -18
  24. app/design/frontend/base/default/template/japi/symfony/postcode/checkout/onepage/billing.phtml +247 -0
  25. app/design/frontend/base/default/template/japi/symfony/postcode/checkout/onepage/shipping.phtml +185 -0
  26. app/locale/en_US/Jmango360_Japi.csv +2 -0
  27. package.xml +4 -4
  28. skin/frontend/base/default/japi/css/TIG/Buckaroo3Extended/styles_opc.css +16 -0
  29. skin/frontend/base/default/japi/css/gomage-checkout.css +86 -0
  30. skin/frontend/base/default/japi/css/send-cloud.css +208 -0
  31. skin/frontend/base/default/japi/css/style.css +747 -725
  32. skin/frontend/base/default/japi/css/style.less +30 -2
  33. skin/frontend/base/default/japi/images/ajax-loader.gif +0 -0
  34. skin/frontend/base/default/japi/images/glc_sprite.png +0 -0
  35. skin/frontend/base/default/japi/js/checkout.js +73 -3
app/code/community/Jmango360/Japi/Block/Adminhtml/System/Config/Form/Button.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Jmango360_Japi_Block_Adminhtml_System_Config_Form_Button extends Mage_Adminhtml_Block_System_Config_Form_Field
4
+ {
5
+ /**
6
+ * @param Varien_Data_Form_Element_Abstract $element
7
+ * @return string
8
+ */
9
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
10
+ {
11
+ return $this->getLayout()->createBlock('adminhtml/widget_button', '', array(
12
+ 'type' => 'button',
13
+ 'label' => $this->helper('japi')->__('Re-run'),
14
+ 'onclick' => sprintf('confirmSetLocation(\'%s\', \'%s\')',
15
+ $this->__('Are you sure?'), $this->getUrl('adminhtml/japi_troubleshooting/sql')
16
+ )
17
+ ))->toHtml();
18
+ }
19
+ }
app/code/community/Jmango360/Japi/Helper/Product.php CHANGED
@@ -602,7 +602,7 @@ class Jmango360_Japi_Helper_Product extends Mage_Core_Helper_Abstract
602
  'name' => $product->getName(),
603
  'sku' => $product->getSku(),
604
  'type' => $product->getTypeId(),
605
- 'product_url' => $product->getProductUrl(),
606
  'type_id' => $product->getTypeId(),
607
  'stock' => $this->_getStockLevel($product),
608
  'is_in_stock' => $product->getStockItem() ? (int)$product->getStockItem()->getIsInStock() : null,
@@ -665,20 +665,21 @@ class Jmango360_Japi_Helper_Product extends Mage_Core_Helper_Abstract
665
  }
666
  }
667
 
 
 
668
  if ($attribute->getFrontendInput() == 'multiselect') {
669
  $options = $attribute->getFrontend()->getOption($product->getData($attributeCode));
670
  if (is_array($options)) {
671
  $value = implode("\n", $options);
672
  }
673
- } else {
674
- $value = $attribute->getFrontend()->getValue($product);
675
  }
676
 
677
  if ($attribute->getIsVisibleOnFront() || in_array($attributeCode, array($attributeListing, $attributeDetails))) {
678
  if (!$product->hasData($attributeCode)) {
679
  if ($hideNullValue) continue;
680
  $value = Mage::helper('catalog')->__('N/A');
681
- } elseif ((string)$value == '') {
 
682
  $value = Mage::helper('catalog')->__('No');
683
  } elseif ($attribute->getFrontendInput() == 'price' && is_string($value)) {
684
  $value = Mage::app()->getStore()->convertPrice($value, true);
602
  'name' => $product->getName(),
603
  'sku' => $product->getSku(),
604
  'type' => $product->getTypeId(),
605
+ 'product_url' => $product->getData('visibility') != '' && $product->getData('visibility') != 1 ? $product->getUrlInStore() : null,
606
  'type_id' => $product->getTypeId(),
607
  'stock' => $this->_getStockLevel($product),
608
  'is_in_stock' => $product->getStockItem() ? (int)$product->getStockItem()->getIsInStock() : null,
665
  }
666
  }
667
 
668
+ $value = $attribute->getFrontend()->getValue($product);
669
+
670
  if ($attribute->getFrontendInput() == 'multiselect') {
671
  $options = $attribute->getFrontend()->getOption($product->getData($attributeCode));
672
  if (is_array($options)) {
673
  $value = implode("\n", $options);
674
  }
 
 
675
  }
676
 
677
  if ($attribute->getIsVisibleOnFront() || in_array($attributeCode, array($attributeListing, $attributeDetails))) {
678
  if (!$product->hasData($attributeCode)) {
679
  if ($hideNullValue) continue;
680
  $value = Mage::helper('catalog')->__('N/A');
681
+ } elseif ($value == '' || $product->getData($attributeCode) == '') {
682
+ if ($hideNullValue) continue;
683
  $value = Mage::helper('catalog')->__('No');
684
  } elseif ($attribute->getFrontendInput() == 'price' && is_string($value)) {
685
  $value = Mage::app()->getStore()->convertPrice($value, true);
app/code/community/Jmango360/Japi/Model/Observer.php CHANGED
@@ -188,9 +188,11 @@ class Jmango360_Japi_Model_Observer
188
 
189
  public function customerRegisterSuccess($observe)
190
  {
 
191
  /* @var $customer Mage_Customer_Model_Customer */
192
  $customer = $observe->getEvent()->getCustomer();
193
  if (!$customer->getId()) return;
 
194
  $session = Mage::getSingleton('customer/session');
195
  $session->setIsSubmit(true);
196
  $session->setCustomerId($customer->getId());
@@ -569,4 +571,20 @@ class Jmango360_Japi_Model_Observer
569
  $cookie = Mage::getModel('core/cookie');
570
  $cookie->set('frontend', $sessionId, null, '/japi/checkout', Mage::app()->getRequest()->getHttpHost(), null, true);
571
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
572
  }
188
 
189
  public function customerRegisterSuccess($observe)
190
  {
191
+ if (!Mage::getSingleton('core/session')->getIsRest()) return;
192
  /* @var $customer Mage_Customer_Model_Customer */
193
  $customer = $observe->getEvent()->getCustomer();
194
  if (!$customer->getId()) return;
195
+ /* @var $session Mage_Customer_Model_Session */
196
  $session = Mage::getSingleton('customer/session');
197
  $session->setIsSubmit(true);
198
  $session->setCustomerId($customer->getId());
571
  $cookie = Mage::getModel('core/cookie');
572
  $cookie->set('frontend', $sessionId, null, '/japi/checkout', Mage::app()->getRequest()->getHttpHost(), null, true);
573
  }
574
+
575
+ /**
576
+ * MPLUGIN-1446: Support Klevu_Search
577
+ *
578
+ * @param Varien_Event_Observer $observer
579
+ * @return $this
580
+ */
581
+ public function Klevu_Search__applyLandingPageModelRewrites(Varien_Event_Observer $observer)
582
+ {
583
+ if (!Mage::helper('core')->isModuleEnabled('Klevu_Search'))
584
+ return $this;
585
+
586
+ /* @var $obj Klevu_Search_Model_Observer */
587
+ $obj = Mage::getSingleton('klevu_search/observer');
588
+ if ($obj) $obj->applyLandingPageModelRewrites($observer);
589
+ }
590
  }
app/code/community/Jmango360/Japi/Model/Rest/Cart.php CHANGED
@@ -397,6 +397,18 @@ class Jmango360_Japi_Model_Rest_Cart extends Mage_Checkout_Model_Cart
397
  protected function _validateQuote($return = false)
398
  {
399
  $quote = $this->getQuote()->collectTotals();
 
 
 
 
 
 
 
 
 
 
 
 
400
  if ($quote->getHasError()) {
401
  $messages = array();
402
  foreach ($quote->getMessages() as $message) {
397
  protected function _validateQuote($return = false)
398
  {
399
  $quote = $this->getQuote()->collectTotals();
400
+
401
+ /*if (!$quote->getItemsCount()) {
402
+ $message = Mage::helper('japi')->__('Cart is empty.');
403
+ if ($return)
404
+ return $message;
405
+ else
406
+ throw new Jmango360_Japi_Exception(
407
+ $message,
408
+ Jmango360_Japi_Model_Request::HTTP_INTERNAL_ERROR
409
+ );
410
+ }*/
411
+
412
  if ($quote->getHasError()) {
413
  $messages = array();
414
  foreach ($quote->getMessages() as $message) {
app/code/community/Jmango360/Japi/Model/Rest/Catalog/Search/Products.php CHANGED
@@ -145,14 +145,21 @@ class Jmango360_Japi_Model_Rest_Catalog_Search_Products extends Mage_CatalogSear
145
  }
146
  }
147
 
 
 
 
148
  if ($code == 'price') {
149
- /* @var $helper Mage_Core_Helper_Data */
150
- $helper = Mage::helper('core');
151
  if ($helper->isModuleEnabled('Smile_ElasticSearch')) {
152
  return false;
153
  }
154
  }
155
 
 
 
 
 
 
 
156
  return true;
157
  }
158
 
145
  }
146
  }
147
 
148
+ /* @var $helper Mage_Core_Helper_Data */
149
+ $helper = Mage::helper('core');
150
+
151
  if ($code == 'price') {
 
 
152
  if ($helper->isModuleEnabled('Smile_ElasticSearch')) {
153
  return false;
154
  }
155
  }
156
 
157
+ if ($code == 'cat') {
158
+ if ($helper->isModuleEnabled('Klevu_Search')) {
159
+ return false;
160
+ }
161
+ }
162
+
163
  return true;
164
  }
165
 
app/code/community/Jmango360/Japi/Model/Rest/Checkout.php CHANGED
@@ -214,6 +214,14 @@ class Jmango360_Japi_Model_Rest_Checkout extends Mage_Checkout_Model_Type_Onepag
214
 
215
  protected function _submitOrder()
216
  {
 
 
 
 
 
 
 
 
217
  $checkoutRedirectUrl = $this->getQuote()->getPayment()->getCheckoutRedirectUrl();
218
  if ($checkoutRedirectUrl) {
219
  return array(
@@ -223,11 +231,6 @@ class Jmango360_Japi_Model_Rest_Checkout extends Mage_Checkout_Model_Type_Onepag
223
  );
224
  }
225
 
226
- $quote = $this->getCheckout()->getQuote();
227
- if (!$quote->getItemsCount()) {
228
- throw new Jmango360_Japi_Exception(Mage::helper('japi')->__('Cart is empty.'), Jmango360_Japi_Model_Request::HTTP_INTERNAL_ERROR);
229
- }
230
-
231
  /* @var $model Jmango360_Japi_Model_Rest_Checkout_Submit */
232
  $model = Mage::getModel('japi/rest_checkout_submit');
233
  $data = $model->submitOrder();
214
 
215
  protected function _submitOrder()
216
  {
217
+ $quote = $this->getCheckout()->getQuote();
218
+ if (!$quote->getItemsCount()) {
219
+ throw new Jmango360_Japi_Exception(
220
+ Mage::helper('japi')->__('Cart is empty.'),
221
+ Jmango360_Japi_Model_Request::HTTP_INTERNAL_ERROR
222
+ );
223
+ }
224
+
225
  $checkoutRedirectUrl = $this->getQuote()->getPayment()->getCheckoutRedirectUrl();
226
  if ($checkoutRedirectUrl) {
227
  return array(
231
  );
232
  }
233
 
 
 
 
 
 
234
  /* @var $model Jmango360_Japi_Model_Rest_Checkout_Submit */
235
  $model = Mage::getModel('japi/rest_checkout_submit');
236
  $data = $model->submitOrder();
app/code/community/Jmango360/Japi/Model/Rest/Customer/Order/List.php CHANGED
@@ -238,10 +238,14 @@ class Jmango360_Japi_Model_Rest_Customer_Order_List extends Mage_Customer_Model_
238
 
239
  $item = $itemModel->toArray();
240
 
241
- $product = Mage::getModel('catalog/product')->load($itemModel->getProductId(), array('image', 'small_image', 'thumbnail'));
242
- if ($product->getId()) {
243
  $item['image'] = Mage::helper('japi/product')->getProductImage($product);
244
- $item['product_url'] = $product->getProductUrl();
 
 
 
 
245
  } else {
246
  $item['image'] = null;
247
  $item['product_url'] = null;
@@ -301,10 +305,19 @@ class Jmango360_Japi_Model_Rest_Customer_Order_List extends Mage_Customer_Model_
301
  $totals = array_merge($totals, $this->_getTaxTotals($order));
302
  } elseif ($blockName) {
303
  $html = $totalsBlock->getChildHtml($blockName);
304
- $totals = array_merge($totals, $this->_getHtmlTotals($html));
305
  } else {
306
  if (isset($total['value'])) {
307
- $total->setData('formatted_value', $order->getOrderCurrency()->formatPrecision($total['value'], 2, array(), false));
 
 
 
 
 
 
 
 
 
308
  }
309
  $totals[] = $total->toArray();
310
  }
@@ -385,7 +398,7 @@ class Jmango360_Japi_Model_Rest_Customer_Order_List extends Mage_Customer_Model_
385
  $totals = array_merge($totals, $this->_getTaxTotals($order));
386
  } elseif ($blockName) {
387
  $html = $totalsBlock->getChildHtml($blockName);
388
- $totals = array_merge($totals, $this->_getHtmlTotals($html));
389
  } else {
390
  if (isset($total['value'])) {
391
  $total->setData('formatted_value', $order->getOrderCurrency()->formatPrecision($total['value'], 2, array(), false));
@@ -400,6 +413,37 @@ class Jmango360_Japi_Model_Rest_Customer_Order_List extends Mage_Customer_Model_
400
  return $data;
401
  }
402
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
403
  /**
404
  * Process product custom options data
405
  */
@@ -459,7 +503,7 @@ class Jmango360_Japi_Model_Rest_Customer_Order_List extends Mage_Customer_Model_
459
  return null;
460
  }
461
 
462
- protected function _getHtmlTotals($html)
463
  {
464
  if (!$html) return array();
465
 
@@ -471,6 +515,7 @@ class Jmango360_Japi_Model_Rest_Customer_Order_List extends Mage_Customer_Model_
471
 
472
  foreach ($rows as $index => $row) {
473
  $total = array('code' => 'total_' . $index);
 
474
  $columns = $xpath->query('descendant::td', $row);
475
  foreach ($columns as $i => $column) {
476
  if ($i == 0) {
@@ -509,6 +554,7 @@ class Jmango360_Japi_Model_Rest_Customer_Order_List extends Mage_Customer_Model_
509
  $total['label'] .= sprintf(' (%s%%)', (float)$rate['percent']);
510
  }
511
  $total['value'] = (float)$info['amount'];
 
512
  $total['formatted_value'] = $order->getOrderCurrency()->formatPrecision($info['amount'], 2, array(), false);
513
 
514
  $totals[] = $total;
@@ -524,6 +570,7 @@ class Jmango360_Japi_Model_Rest_Customer_Order_List extends Mage_Customer_Model_
524
  'code' => 'wee_' . $weeIndex++,
525
  'label' => Mage::helper('japi')->escapeHtml($weeeTitle),
526
  'value' => (float)$weeeAmount,
 
527
  'formatted_value' => $order->getOrderCurrency()->formatPrecision($weeeAmount, 2, array(), false)
528
  );
529
  }
@@ -533,6 +580,7 @@ class Jmango360_Japi_Model_Rest_Customer_Order_List extends Mage_Customer_Model_
533
  'code' => 'tax',
534
  'label' => Mage::helper('tax')->__('Tax'),
535
  'value' => (float)$order->getTaxAmount(),
 
536
  'formatted_value' => $order->getOrderCurrency()->formatPrecision($order->getTaxAmount(), 2, array(), false)
537
  );
538
 
238
 
239
  $item = $itemModel->toArray();
240
 
241
+ $product = $this->_getProductFromOrderItem($itemModel);
242
+ if ($product && $product->getId() && $product->getData('status') == 1) {
243
  $item['image'] = Mage::helper('japi/product')->getProductImage($product);
244
+ if ($product->getData('visibility') != '' && $product->getData('visibility') != 1) {
245
+ $item['product_url'] = $product->getUrlInStore();
246
+ } else {
247
+ $item['product_url'] = null;
248
+ }
249
  } else {
250
  $item['image'] = null;
251
  $item['product_url'] = null;
305
  $totals = array_merge($totals, $this->_getTaxTotals($order));
306
  } elseif ($blockName) {
307
  $html = $totalsBlock->getChildHtml($blockName);
308
+ $totals = array_merge($totals, $this->_getHtmlTotals($html, $order));
309
  } else {
310
  if (isset($total['value'])) {
311
+ if (is_numeric($total['value'])) {
312
+ $total->setData('currency_symbol', $totalsBlock->getOrder()->getOrderCurrencyCode());
313
+ $total->setData('formatted_value', $order->getOrderCurrency()->formatPrecision($total['value'], 2, array(), false));
314
+ } else {
315
+ $total->setData('currency_symbol', $totalsBlock->getOrder()->getBaseCurrencyCode());
316
+ $total->setData('formatted_value', strip_tags($total['value']));
317
+ if ($total['code'] == 'base_grandtotal') {
318
+ $total->setData('value', $totalsBlock->getOrder()->getBaseGrandTotal());
319
+ }
320
+ }
321
  }
322
  $totals[] = $total->toArray();
323
  }
398
  $totals = array_merge($totals, $this->_getTaxTotals($order));
399
  } elseif ($blockName) {
400
  $html = $totalsBlock->getChildHtml($blockName);
401
+ $totals = array_merge($totals, $this->_getHtmlTotals($html, $order));
402
  } else {
403
  if (isset($total['value'])) {
404
  $total->setData('formatted_value', $order->getOrderCurrency()->formatPrecision($total['value'], 2, array(), false));
413
  return $data;
414
  }
415
 
416
+ /**
417
+ * Return related product
418
+ *
419
+ * @param Mage_Sales_Model_Order_Item $item
420
+ * @return Mage_Catalog_Model_Product|null
421
+ */
422
+ protected function _getProductFromOrderItem($item)
423
+ {
424
+ if (!$item || !$item->getId() || !$item->getProductId()) return null;
425
+
426
+ $productOptions = $item->getProductOptions();
427
+ if ($item->getProductType() == 'simple') {
428
+ if (!empty($productOptions['info_buyRequest']['super_attribute'])) {
429
+ $productId = $productOptions['info_buyRequest']['product_id'];
430
+ if (!$productId) $productId = $productOptions['info_buyRequest']['product'];
431
+ } else {
432
+ $productId = $item->getProductId();
433
+ }
434
+ } else {
435
+ $productId = $item->getProductId();
436
+ }
437
+
438
+ if (!is_numeric($productId)) return null;
439
+
440
+ $product = Mage::getModel('catalog/product')->setStoreId($item->getStoreId())->load($productId, array(
441
+ 'status', 'visibility', 'image', 'small_image', 'thumbnail'
442
+ ));
443
+
444
+ return $product;
445
+ }
446
+
447
  /**
448
  * Process product custom options data
449
  */
503
  return null;
504
  }
505
 
506
+ protected function _getHtmlTotals($html, $order = null)
507
  {
508
  if (!$html) return array();
509
 
515
 
516
  foreach ($rows as $index => $row) {
517
  $total = array('code' => 'total_' . $index);
518
+ if ($order) $total['currency_symbol'] = $order->getOrderCurrencyCode();
519
  $columns = $xpath->query('descendant::td', $row);
520
  foreach ($columns as $i => $column) {
521
  if ($i == 0) {
554
  $total['label'] .= sprintf(' (%s%%)', (float)$rate['percent']);
555
  }
556
  $total['value'] = (float)$info['amount'];
557
+ $total['currency_symbol'] = $order->getOrderCurrencyCode();
558
  $total['formatted_value'] = $order->getOrderCurrency()->formatPrecision($info['amount'], 2, array(), false);
559
 
560
  $totals[] = $total;
570
  'code' => 'wee_' . $weeIndex++,
571
  'label' => Mage::helper('japi')->escapeHtml($weeeTitle),
572
  'value' => (float)$weeeAmount,
573
+ 'currency_symbol' => $order->getOrderCurrencyCode(),
574
  'formatted_value' => $order->getOrderCurrency()->formatPrecision($weeeAmount, 2, array(), false)
575
  );
576
  }
580
  'code' => 'tax',
581
  'label' => Mage::helper('tax')->__('Tax'),
582
  'value' => (float)$order->getTaxAmount(),
583
+ 'currency_symbol' => $order->getOrderCurrencyCode(),
584
  'formatted_value' => $order->getOrderCurrency()->formatPrecision($order->getTaxAmount(), 2, array(), false)
585
  );
586
 
app/code/community/Jmango360/Japi/Model/Rest/Product.php CHANGED
@@ -207,9 +207,6 @@ class Jmango360_Japi_Model_Rest_Product extends Mage_Core_Model_Abstract
207
 
208
  $product = Mage::getModel('catalog/product')->load($id, array('sku', 'hide_in_jm360'));
209
 
210
- /* @var $reviewModel Mage_Review_Model_Review */
211
- $reviewModel = Mage::getModel('review/review');
212
- $reviewModel->getEntitySummary($product, Mage::app()->getStore()->getId());
213
  if (!$product->getId() || $product->getData('hide_in_jm360') == 1) {
214
  throw new Jmango360_Japi_Exception(
215
  Mage::helper('japi')->__('Product not found'),
@@ -217,6 +214,14 @@ class Jmango360_Japi_Model_Rest_Product extends Mage_Core_Model_Abstract
217
  );
218
  }
219
 
 
 
 
 
 
 
 
 
220
  Mage::register('current_product', $product);
221
 
222
  return $product;
207
 
208
  $product = Mage::getModel('catalog/product')->load($id, array('sku', 'hide_in_jm360'));
209
 
 
 
 
210
  if (!$product->getId() || $product->getData('hide_in_jm360') == 1) {
211
  throw new Jmango360_Japi_Exception(
212
  Mage::helper('japi')->__('Product not found'),
214
  );
215
  }
216
 
217
+ /* @var $reviewHelper Jmango360_Japi_Helper_Product_Review */
218
+ $reviewHelper = Mage::helper('japi/product_review');
219
+ if ($reviewHelper->isReviewEnable()) {
220
+ /* @var $reviewModel Mage_Review_Model_Review */
221
+ $reviewModel = Mage::getModel('review/review');
222
+ $reviewModel->getEntitySummary($product, Mage::app()->getStore()->getId());
223
+ }
224
+
225
  Mage::register('current_product', $product);
226
 
227
  return $product;
app/code/community/Jmango360/Japi/controllers/Adminhtml/Japi/ReportController.php CHANGED
@@ -7,6 +7,11 @@ require_once 'Mage/Adminhtml/controllers/Report/SalesController.php';
7
 
8
  class Jmango360_Japi_Adminhtml_Japi_ReportController extends Mage_Adminhtml_Report_SalesController
9
  {
 
 
 
 
 
10
  protected function _init()
11
  {
12
  $this->loadLayout();
7
 
8
  class Jmango360_Japi_Adminhtml_Japi_ReportController extends Mage_Adminhtml_Report_SalesController
9
  {
10
+ protected function _isAllowed()
11
+ {
12
+ return Mage::getSingleton('admin/session')->isAllowed('japi/report');
13
+ }
14
+
15
  protected function _init()
16
  {
17
  $this->loadLayout();
app/code/community/Jmango360/Japi/controllers/Adminhtml/Japi/TroubleshootingController.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright 2015 JMango360
5
+ */
6
+ class Jmango360_Japi_Adminhtml_Japi_TroubleshootingController extends Mage_Adminhtml_Controller_Action
7
+ {
8
+ protected function _isAllowed()
9
+ {
10
+ return Mage::getSingleton('admin/session')->isAllowed('japi/troubleshooting');
11
+ }
12
+
13
+ public function sqlAction()
14
+ {
15
+ /* @var $resource Mage_Core_Model_Resource */
16
+ $resource = Mage::getSingleton('core/resource');
17
+ $writeConnection = $resource->getConnection('core_write');
18
+ $coreResourceTable = $resource->getTableName('core/resource');
19
+
20
+ try {
21
+ $query = "DELETE FROM {$coreResourceTable} WHERE code = 'japi_setup'";
22
+ Mage::app()->cleanCache(array(Mage_Core_Model_Config::CACHE_TAG));
23
+ $writeConnection->query($query);
24
+ $this->_getSession()->addSuccess($this->__('Re-run successfully.'));
25
+ } catch (Exception $e) {
26
+ $this->_getSession()->addError($e->getMessage());
27
+ }
28
+
29
+ return $this->_redirectUrl($this->_getRefererUrl());
30
+ }
31
+ }
app/code/community/Jmango360/Japi/controllers/CheckoutController.php CHANGED
@@ -200,8 +200,7 @@ class Jmango360_Japi_CheckoutController extends Mage_Checkout_OnepageController
200
  Validation.creditCartTypes.set('ELO', [new RegExp(/^((((636368)|(438935)|(504175)|(451416)|(636297)|(506699))\d{0,10})|((5067)|(4576)|(4011))\d{0,12})$/), new RegExp('^[0-9]{3}$'), true]);
201
  Validation.creditCartTypes.set('hipercard', [new RegExp(/^(606282\d{10}(\d{3})?)|(3841\d{15})$/), new RegExp('^[0-9]{3}$'), true]);
202
  Validation.creditCartTypes.set('unionpay', [new RegExp('^62[0-5]\d{13,16}$'), new RegExp('^[0-9]{3}$'), true]);
203
- </script>]]>
204
- </text>
205
  </action>
206
  </block>
207
  </reference>";
@@ -263,6 +262,46 @@ class Jmango360_Japi_CheckoutController extends Mage_Checkout_OnepageController
263
  </reference>";
264
  }
265
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  try {
267
  $this->getLayout()->getUpdate()->addUpdate($xml);
268
  $this->generateLayoutXml()->generateLayoutBlocks();
@@ -427,7 +466,7 @@ class Jmango360_Japi_CheckoutController extends Mage_Checkout_OnepageController
427
 
428
  try {
429
  $codeLength = strlen($couponCode);
430
- if (version_compare(Mage::getVersion(), '1.8.0', '>=')) {
431
  $isCodeLengthValid = $codeLength && $codeLength <= Mage_Checkout_Helper_Cart::COUPON_CODE_MAX_LENGTH;
432
  } else {
433
  $isCodeLengthValid = $codeLength && $codeLength <= 255;
200
  Validation.creditCartTypes.set('ELO', [new RegExp(/^((((636368)|(438935)|(504175)|(451416)|(636297)|(506699))\d{0,10})|((5067)|(4576)|(4011))\d{0,12})$/), new RegExp('^[0-9]{3}$'), true]);
201
  Validation.creditCartTypes.set('hipercard', [new RegExp(/^(606282\d{10}(\d{3})?)|(3841\d{15})$/), new RegExp('^[0-9]{3}$'), true]);
202
  Validation.creditCartTypes.set('unionpay', [new RegExp('^62[0-5]\d{13,16}$'), new RegExp('^[0-9]{3}$'), true]);
203
+ </script>]]></text>
 
204
  </action>
205
  </block>
206
  </reference>";
262
  </reference>";
263
  }
264
 
265
+ if ($helper->isModuleEnabled('GoMage_DeliveryDate')) {
266
+ $xml .= "
267
+ <reference name=\"head\">
268
+ <action method=\"addItem\"><type>js</type><name>gomage/lc-calendar.js</name></action>
269
+ <block type=\"core/html_calendar\" name=\"gomage.deliverydate.calendar\" template=\"gomage/deliverydate/js/calendar.phtml\"/>
270
+ </reference>
271
+ <reference name=\"checkout.onepage.shipping_method.advanced\">
272
+ <block type=\"gomage_deliverydate/form\" name=\"checkout.onepage.shipping_method.additional.delivery_date\" template=\"gomage/deliverydate/form.phtml\" />
273
+ </reference>";
274
+ }
275
+
276
+ if ($helper->isModuleEnabled('SendCloud_Integration')) {
277
+ $xml .= "
278
+ <reference name=\"head\">
279
+ <action method=\"addJs\"><script>sendcloud/onepage.js</script></action>
280
+ <block type=\"page/html\" name=\"sendcloud_jsvalues\" template=\"sendcloud/servicepointpicker.phtml\" />
281
+ </reference>";
282
+ }
283
+
284
+ if ($helper->isModuleEnabled('Symfony_Postcode')) {
285
+ $xml .= "
286
+ <reference name=\"head\">
287
+ <action method=\"addItem\" ifconfig=\"symfony_postcode/settings/enabled\"><type>js</type><file>symfony/postcode.js</file></action>
288
+ <action method=\"addItem\" ifconfig=\"symfony_postcode/settings/enabled\"><type>skin_css</type><file>css/symfony/postcode.css</file></action>
289
+ </reference>";
290
+ }
291
+
292
+ if ($helper->isModuleEnabled('TIG_Buckaroo3Extended')) {
293
+ $xml .= "
294
+ <reference name=\"head\">
295
+ <block type=\"core/template\" name=\"buckaroo_jquery\" template=\"buckaroo3extended/jquery.phtml\"/>
296
+ <action method=\"addItem\"><type>skin_css</type><name>japi/css/TIG/Buckaroo3Extended/styles_opc.css</name></action>
297
+ <action method=\"addItem\"><type>skin_js</type><name>js/TIG/Buckaroo3Extended/paymentGuaranteeObserver.js</name></action>
298
+ <action method=\"addItem\"><type>skin_js</type><name>js/TIG/Buckaroo3Extended/afterpayObserver.js</name></action>
299
+ </reference>
300
+ <reference name=\"before_body_end\">
301
+ <block type=\"core/template\" name=\"buckaroo_save_sata_js\" template=\"buckaroo3extended/saveData.phtml\"/>
302
+ </reference>";
303
+ }
304
+
305
  try {
306
  $this->getLayout()->getUpdate()->addUpdate($xml);
307
  $this->generateLayoutXml()->generateLayoutBlocks();
466
 
467
  try {
468
  $codeLength = strlen($couponCode);
469
+ if (Mage::getEdition() == 'Community' && version_compare(Mage::getVersion(), '1.8.0', '>=')) {
470
  $isCodeLengthValid = $codeLength && $codeLength <= Mage_Checkout_Helper_Cart::COUPON_CODE_MAX_LENGTH;
471
  } else {
472
  $isCodeLengthValid = $codeLength && $codeLength <= 255;
app/code/community/Jmango360/Japi/controllers/Customer/AccountController.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-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 Mage
22
+ * @package Mage_Customer
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Customer account controller
29
+ *
30
+ * @category Mage
31
+ * @package Mage_Customer
32
+ * @author Magento Core Team <core@magentocommerce.com>
33
+ */
34
+
35
+ require_once 'Mage/Customer/controllers/AccountController.php';
36
+
37
+ class Jmango360_Japi_Customer_AccountController extends Mage_Customer_AccountController
38
+ {
39
+ /**
40
+ * Add welcome message and send new account email.
41
+ * Returns success URL
42
+ *
43
+ * @param Mage_Customer_Model_Customer $customer
44
+ * @param bool $isJustConfirmed
45
+ * @return string
46
+ */
47
+ protected function _welcomeCustomer(Mage_Customer_Model_Customer $customer, $isJustConfirmed = false)
48
+ {
49
+ $url = parent::_welcomeCustomer($customer, $isJustConfirmed);
50
+
51
+ if ($this->_getSession()->getIsSubmit() && !$customer->isConfirmationRequired()) {
52
+ $this->_getSession()->addSuccess(
53
+ $this->__('Please close this form and login with your new account.')
54
+ );
55
+ }
56
+
57
+ return $url;
58
+ }
59
+ }
app/code/community/Jmango360/Japi/data/japi_setup/data-install-2.0.0.php CHANGED
@@ -1,7 +1,12 @@
1
  <?php
 
 
 
2
  $config = Mage::getConfig();
3
- /* @var $helper Mage_Core_Helper_Data */
4
- $helper = Mage::helper('core');
5
- $apiKey = strtoupper(substr($helper->uniqHash(), 0, 16));
6
- $config->saveConfig('japi/jmango_rest_api/apikey', $apiKey);
7
- $config->saveConfig('japi/jmango_rest_api/apiuser', 'jmango360');
 
 
1
  <?php
2
+ $PATH_XML_API_USER = 'japi/jmango_rest_api/apiuser';
3
+ $PATH_XML_API_KEY = 'japi/jmango_rest_api/apikey';
4
+
5
  $config = Mage::getConfig();
6
+ if (!Mage::getStoreConfig($PATH_XML_API_KEY)) {
7
+ /* @var $helper Mage_Core_Helper_Data */
8
+ $helper = Mage::helper('core');
9
+ $apiKey = strtoupper(substr($helper->uniqHash(), 0, 16));
10
+ $config->saveConfig($PATH_XML_API_KEY, $apiKey);
11
+ $config->saveConfig($PATH_XML_API_USER, 'jmango360');
12
+ }
app/code/community/Jmango360/Japi/etc/adminhtml.xml CHANGED
@@ -52,7 +52,7 @@
52
  <admin>
53
  <children>
54
  <japi>
55
- <title>JMango360</title>
56
  <children>
57
  <report translate="title" module="japi">
58
  <title>Reports</title>
@@ -71,12 +71,12 @@
71
  </japi_order>
72
  </children>
73
  </report>
74
- <setting translate="title" module="japi">
75
- <title>Settings</title>
76
- </setting>
77
  <log translate="title" module="japi">
78
  <title>Download log files</title>
79
  </log>
 
 
 
80
  </children>
81
  </japi>
82
  <system>
@@ -84,7 +84,7 @@
84
  <config>
85
  <children>
86
  <japi translate="title" module="japi">
87
- <title>JMango360 Mobile</title>
88
  </japi>
89
  </children>
90
  </config>
52
  <admin>
53
  <children>
54
  <japi>
55
+ <title>JMango360 Menu</title>
56
  <children>
57
  <report translate="title" module="japi">
58
  <title>Reports</title>
71
  </japi_order>
72
  </children>
73
  </report>
 
 
 
74
  <log translate="title" module="japi">
75
  <title>Download log files</title>
76
  </log>
77
+ <troubleshooting translate="title" module="japi">
78
+ <title>Troubleshooting</title>
79
+ </troubleshooting>
80
  </children>
81
  </japi>
82
  <system>
84
  <config>
85
  <children>
86
  <japi translate="title" module="japi">
87
+ <title>JMango360 Settings</title>
88
  </japi>
89
  </children>
90
  </config>
app/code/community/Jmango360/Japi/etc/config.xml CHANGED
@@ -7,7 +7,7 @@
7
  <config>
8
  <modules>
9
  <Jmango360_Japi>
10
- <version>2.9.1</version>
11
  </Jmango360_Japi>
12
  </modules>
13
 
@@ -189,6 +189,15 @@
189
  </japi_predispatch_japi_checkout_onepage>
190
  </observers>
191
  </controller_action_predispatch_japi_checkout_onepage>
 
 
 
 
 
 
 
 
 
192
  </events>
193
  <routers>
194
  <japi>
@@ -198,6 +207,13 @@
198
  <frontName>japi</frontName>
199
  </args>
200
  </japi>
 
 
 
 
 
 
 
201
  </routers>
202
  <translate>
203
  <modules>
7
  <config>
8
  <modules>
9
  <Jmango360_Japi>
10
+ <version>2.9.2</version>
11
  </Jmango360_Japi>
12
  </modules>
13
 
189
  </japi_predispatch_japi_checkout_onepage>
190
  </observers>
191
  </controller_action_predispatch_japi_checkout_onepage>
192
+ <controller_action_predispatch_japi_rest_product_search>
193
+ <observers>
194
+ <klevu_search_landing_page>
195
+ <type>singleton</type>
196
+ <class>japi/observer</class>
197
+ <method>Klevu_Search__applyLandingPageModelRewrites</method>
198
+ </klevu_search_landing_page>
199
+ </observers>
200
+ </controller_action_predispatch_japi_rest_product_search>
201
  </events>
202
  <routers>
203
  <japi>
207
  <frontName>japi</frontName>
208
  </args>
209
  </japi>
210
+ <customer>
211
+ <args>
212
+ <modules>
213
+ <japi before="Mage_Customer">Jmango360_Japi_Customer</japi>
214
+ </modules>
215
+ </args>
216
+ </customer>
217
  </routers>
218
  <translate>
219
  <modules>
app/code/community/Jmango360/Japi/etc/system.xml CHANGED
@@ -524,6 +524,16 @@
524
  <enable>1</enable>
525
  </depends>
526
  </log_file>
 
 
 
 
 
 
 
 
 
 
527
  </fields>
528
  </jmango_rest_developer_settings>
529
  </groups>
524
  <enable>1</enable>
525
  </depends>
526
  </log_file>
527
+ <run_sql translate="label comment" module="japi">
528
+ <label>Re-run SQL upgrade</label>
529
+ <frontend_type>button</frontend_type>
530
+ <frontend_model>japi/adminhtml_system_config_form_button</frontend_model>
531
+ <sort_order>30</sort_order>
532
+ <show_in_default>1</show_in_default>
533
+ <show_in_website>1</show_in_website>
534
+ <show_in_store>1</show_in_store>
535
+ <comment></comment>
536
+ </run_sql>
537
  </fields>
538
  </jmango_rest_developer_settings>
539
  </groups>
app/design/frontend/base/default/layout/jmango360_japi.xml CHANGED
@@ -38,7 +38,7 @@
38
  <action method="addItem"><type>skin_js</type><file>japi/lib/bootstrap/js/modal.js</file></action>
39
  <action method="addItem"><type>skin_js</type><file>japi/lib/scrollto/scrollTo.js</file></action>
40
  <action method="addItem"><type>skin_js</type><file>js/opcheckout.js</file></action>
41
- <action method="addItem"><type>skin_js</type><file>japi/js/checkout.js?v=2.7.0</file></action>
42
  </block>
43
  <block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
44
  <label>Page Top</label>
@@ -64,11 +64,19 @@
64
  <action method="setPrefix"><value>billing</value></action>
65
  <action method="setForm"><value>billing</value></action>
66
  </block>
 
 
 
 
 
 
 
 
67
  </block>
68
- <block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="japi/checkout/onepage/shipping.phtml"/>
69
  <block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="japi/checkout/onepage/shipping_method.phtml">
70
  <block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="japi/checkout/onepage/shipping_method/available.phtml"/>
71
  <block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="japi/checkout/onepage/shipping_method/additional.phtml"/>
 
72
  </block>
73
  <block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="japi/checkout/onepage/payment.phtml">
74
  <block type="checkout/onepage_payment_methods" name="checkout.onepage.payment.methods" as="methods" template="japi/checkout/onepage/payment/info.phtml"/>
38
  <action method="addItem"><type>skin_js</type><file>japi/lib/bootstrap/js/modal.js</file></action>
39
  <action method="addItem"><type>skin_js</type><file>japi/lib/scrollto/scrollTo.js</file></action>
40
  <action method="addItem"><type>skin_js</type><file>js/opcheckout.js</file></action>
41
+ <action method="addItem"><type>skin_js</type><file>japi/js/checkout.js?v=2.9.2</file></action>
42
  </block>
43
  <block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
44
  <label>Page Top</label>
64
  <action method="setPrefix"><value>billing</value></action>
65
  <action method="setForm"><value>billing</value></action>
66
  </block>
67
+ <action method="setTemplate" ifconfig="symfony_postcode/settings/enabled">
68
+ <template>japi/symfony/postcode/checkout/onepage/billing.phtml</template>
69
+ </action>
70
+ </block>
71
+ <block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="japi/checkout/onepage/shipping.phtml">
72
+ <action method="setTemplate" ifconfig="symfony_postcode/settings/enabled">
73
+ <template>japi/symfony/postcode/checkout/onepage/shipping.phtml</template>
74
+ </action>
75
  </block>
 
76
  <block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="japi/checkout/onepage/shipping_method.phtml">
77
  <block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="japi/checkout/onepage/shipping_method/available.phtml"/>
78
  <block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="japi/checkout/onepage/shipping_method/additional.phtml"/>
79
+ <block type="core/text_list" name="checkout.onepage.shipping_method.advanced" as="advanced"/>
80
  </block>
81
  <block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="japi/checkout/onepage/payment.phtml">
82
  <block type="checkout/onepage_payment_methods" name="checkout.onepage.payment.methods" as="methods" template="japi/checkout/onepage/payment/info.phtml"/>
app/design/frontend/base/default/template/japi/checkout/onepage.phtml CHANGED
@@ -64,13 +64,13 @@
64
  progress: '<?php echo $this->getUrl('japi/checkout/progress', array('_secure' => true)) ?>',
65
  review: '<?php echo $this->getUrl('japi/checkout/review', array('_secure' => true)) ?>',
66
  saveMethod: '<?php echo $this->getUrl('japi/checkout/saveMethod', array('_secure' => true)) ?>',
67
- failure: '<?php echo $this->getUrl('japi/checkout/onepage', array('_secure' => true)) ?>'
 
68
  });
69
  <?php if (!$error && Mage::getSingleton('core/session')->getData('is_address_update') && $this->getQuote()->getBillingAddress()->getCountryId()): ?>
70
  <?php Mage::getSingleton('core/session')->setData('is_address_update', false) ?>
71
  document.observe("dom:loaded", function () {
72
- checkout.gotoSection('shipping_method');
73
- shippingMethod.load('<?php echo $this->getUrl('japi/checkout/getShippingMethod', array('_secure' => true)) ?>');
74
  });
75
  <?php endif ?>
76
  //]]>
64
  progress: '<?php echo $this->getUrl('japi/checkout/progress', array('_secure' => true)) ?>',
65
  review: '<?php echo $this->getUrl('japi/checkout/review', array('_secure' => true)) ?>',
66
  saveMethod: '<?php echo $this->getUrl('japi/checkout/saveMethod', array('_secure' => true)) ?>',
67
+ failure: '<?php echo $this->getUrl('japi/checkout/onepage', array('_secure' => true)) ?>',
68
+ shippingMethodUrl: '<?php echo $this->getUrl('japi/checkout/getShippingMethod', array('_secure' => true)) ?>'
69
  });
70
  <?php if (!$error && Mage::getSingleton('core/session')->getData('is_address_update') && $this->getQuote()->getBillingAddress()->getCountryId()): ?>
71
  <?php Mage::getSingleton('core/session')->setData('is_address_update', false) ?>
72
  document.observe("dom:loaded", function () {
73
+ checkout.gotoShippingMethodSection();
 
74
  });
75
  <?php endif ?>
76
  //]]>
app/design/frontend/base/default/template/japi/checkout/onepage/billing.phtml CHANGED
@@ -65,6 +65,68 @@
65
  </div>
66
  <?php endif; ?>
67
  </li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
69
  <li class="wide">
70
  <label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?>
@@ -83,27 +145,30 @@
83
  ?>
84
  <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
85
  <li class="wide">
86
- <?php if (!empty($_streetConfig['street'.$_i.'_label'])): ?>
87
- <label for="billing:street<?php echo $_i ?>" class="<?php echo !$_streetConfig['street'.$_i.'_require'] ? '' : 'required' ?>">
88
- <?php if ($_streetConfig['street'.$_i.'_require']): ?><em>*</em><?php endif; ?>
89
- <?php echo Mage::helper('core')->quoteEscape($this->__($_streetConfig['street'.$_i.'_label'])) ?>
90
- </label>
91
- <?php endif; //End if (!empty($_streetConfig['street'.$_i.'_label'])) ?>
 
 
 
 
 
 
 
 
92
  <?php
93
  $additionValidate = '';
94
- if ($_streetConfig['street'.$_i.'_require']) {
95
  $additionValidate .= ' required-entry';
96
  }
97
- if (!empty($_streetConfig['street'.$_i.'_type'])
98
- && $_streetConfig['street'.$_i.'_type'] == 'number') {
 
99
  $additionValidate .= ' validate-number';
100
  }
101
-
102
- if (!empty($_streetConfig['street'.$_i.'_label'])) {
103
- $_title = Mage::helper('core')->quoteEscape($this->__($_streetConfig['street'.$_i.'_label']));
104
- } else {
105
- $_title = Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i));
106
- }
107
  ?>
108
  <div class="input-box">
109
  <input type="text" name="billing[street][]"
65
  </div>
66
  <?php endif; ?>
67
  </li>
68
+
69
+ <?php
70
+ /**
71
+ * MLUGIN-1440: Only fix for https://www.teakea.nl/ - follow customize template of this website.
72
+ */
73
+ if (Mage::helper('core')->isModuleEnabled('GoMage_Checkout') && strpos(Mage::getBaseUrl(), 'teakea.nl') !== false):
74
+ ?>
75
+ <li>
76
+ <label for="zakelijke-yes" class="">Zakelijke klant ?</label>
77
+ <div class="input-box">
78
+ <input type="checkbox"
79
+ name="zakelijke-yes" <?php if (Mage::getSingleton('customer/session')->getCustomer()->getKvk() && Mage::getSingleton('customer/session')->getCustomer()->getTaxvat()) { ?> checked="checked" <?php } ?>
80
+ value="yes" id="zakelijke-yes">Ja
81
+ </div>
82
+ </li>
83
+ <ul id="japi-zakelijke-content" style="margin-bottom: 15px; display:none">
84
+ <li>
85
+ <label for="kvk" class="">KVK nummer</label>
86
+ <div class="input-box kvk">
87
+ <input type="text" name="kvk"
88
+ id="kvk" <?php if (Mage::getSingleton('customer/session')->getCustomer()->getKvk()) { ?> value="<?php echo Mage::getSingleton('customer/session')->getCustomer()->getKvk(); ?>" <?php } ?>
89
+ class="input-text"/>
90
+ </div>
91
+ </li>
92
+ <li>
93
+ <label for="vat" class="">BTW nummer</label>
94
+ <div class="input-box vat">
95
+ <input type="text" name="vat"
96
+ id="vat" <?php if (Mage::getSingleton('customer/session')->getCustomer()->getTaxvat()) { ?> value="<?php echo Mage::getSingleton('customer/session')->getCustomer()->getTaxvat(); ?>" <?php } ?>
97
+ class="input-text"/>
98
+ </div>
99
+ </li>
100
+ <li>
101
+ <label for="btw-factuur" class="">BTW factuur ontvangen?</label>
102
+ <div class="input-box btw-factuur">
103
+ <input type="checkbox"
104
+ name="btw-factuur" <?php if (Mage::getSingleton('customer/session')->getCustomer()->getKvk() && Mage::getSingleton('customer/session')->getCustomer()->getTaxvat()) { ?> checked="checked" <?php } ?>
105
+ value="yes" id="btw-factuur">Ja
106
+ <p class="btw-info" style="display: none;">Mocht u vaker aankopen doen bij
107
+ Teakea voor uw eigen onderneming รณf voor uw eigen klanten, dan krijgt u als
108
+ zakelijke klant 10% korting op iedere volgende aankoop.</p>
109
+ </div>
110
+ </li>
111
+ </ul>
112
+ <script type="text/javascript">
113
+ JMango(document).ready(function () {
114
+ if (JMango('#zakelijke-yes').is(':checked')) {
115
+ JMango('#japi-zakelijke-content').show();
116
+ }
117
+ if (JMango('#btw-factuur').is(':checked')) {
118
+ JMango('p.btw-info').show();
119
+ }
120
+ });
121
+ JMango('#zakelijke-yes').click(function () {
122
+ JMango("#japi-zakelijke-content").toggle(this.checked);
123
+ });
124
+ JMango('#btw-factuur').click(function () {
125
+ JMango("p.btw-info").toggle(this.checked);
126
+ });
127
+ </script>
128
+ <?php endif;//END if (Mage::helper('core')->isModuleEnabled('GoMage_Checkout') && strpos(Mage::getBaseUrl(), 'teakea') !== false) ?>
129
+
130
  <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
131
  <li class="wide">
132
  <label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?>
145
  ?>
146
  <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
147
  <li class="wide">
148
+ <?php
149
+ if (!empty($_streetConfig['street' . $_i . '_label'])) {
150
+ $_title = Mage::helper('core')->quoteEscape($this->__($_streetConfig['street' . $_i . '_label']));
151
+ } else {
152
+ $_title = Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i));
153
+ }
154
+ ?>
155
+ <label for="billing:street<?php echo $_i ?>"
156
+ class="<?php echo empty($_streetConfig['street' . $_i . '_require']) ? '' : 'required' ?>">
157
+ <?php if (!empty($_streetConfig['street' . $_i . '_require'])): ?>
158
+ <em>*</em>
159
+ <?php endif; ?>
160
+ <?php echo $_title ?>
161
+ </label>
162
  <?php
163
  $additionValidate = '';
164
+ if (!empty($_streetConfig['street' . $_i . '_require'])) {
165
  $additionValidate .= ' required-entry';
166
  }
167
+ if (!empty($_streetConfig['street' . $_i . '_type'])
168
+ && $_streetConfig['street' . $_i . '_type'] == 'number'
169
+ ) {
170
  $additionValidate .= ' validate-number';
171
  }
 
 
 
 
 
 
172
  ?>
173
  <div class="input-box">
174
  <input type="text" name="billing[street][]"
app/design/frontend/base/default/template/japi/checkout/onepage/shipping.phtml CHANGED
@@ -72,27 +72,30 @@
72
  ?>
73
  <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
74
  <li class="wide">
75
- <?php if (!empty($_streetConfig['street'.$_i.'_label'])): ?>
76
- <label for="shipping:street<?php echo $_i ?>" class="<?php echo !$_streetConfig['street'.$_i.'_require'] ? '' : 'required' ?>">
77
- <?php if ($_streetConfig['street'.$_i.'_require']): ?><em>*</em><?php endif; ?>
78
- <?php echo Mage::helper('core')->quoteEscape($this->__($_streetConfig['street'.$_i.'_label'])) ?>
79
- </label>
80
- <?php endif; //End if (!empty($_streetConfig['street'.$_i.'_label'])) ?>
 
 
 
 
 
 
 
 
81
  <?php
82
  $additionValidate = '';
83
- if ($_streetConfig['street'.$_i.'_require']) {
84
  $additionValidate .= ' required-entry';
85
  }
86
- if (!empty($_streetConfig['street'.$_i.'_type'])
87
- && $_streetConfig['street'.$_i.'_type'] == 'number') {
 
88
  $additionValidate .= ' validate-number';
89
  }
90
-
91
- if (!empty($_streetConfig['street'.$_i.'_label'])) {
92
- $_title = Mage::helper('core')->quoteEscape($this->__($_streetConfig['street'.$_i.'_label']));
93
- } else {
94
- $_title = Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i));
95
- }
96
  ?>
97
  <div class="input-box">
98
  <input type="text" name="shipping[street][]"
72
  ?>
73
  <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
74
  <li class="wide">
75
+ <?php
76
+ if (!empty($_streetConfig['street' . $_i . '_label'])) {
77
+ $_title = Mage::helper('core')->quoteEscape($this->__($_streetConfig['street' . $_i . '_label']));
78
+ } else {
79
+ $_title = Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i));
80
+ }
81
+ ?>
82
+ <label for="shipping:street<?php echo $_i ?>"
83
+ class="<?php echo empty($_streetConfig['street' . $_i . '_require']) ? '' : 'required' ?>">
84
+ <?php if (!empty($_streetConfig['street' . $_i . '_require'])): ?>
85
+ <em>*</em>
86
+ <?php endif; ?>
87
+ <?php echo $_title ?>
88
+ </label>
89
  <?php
90
  $additionValidate = '';
91
+ if (!empty($_streetConfig['street' . $_i . '_require'])) {
92
  $additionValidate .= ' required-entry';
93
  }
94
+ if (!empty($_streetConfig['street' . $_i . '_type'])
95
+ && $_streetConfig['street' . $_i . '_type'] == 'number'
96
+ ) {
97
  $additionValidate .= ' validate-number';
98
  }
 
 
 
 
 
 
99
  ?>
100
  <div class="input-box">
101
  <input type="text" name="shipping[street][]"
app/design/frontend/base/default/template/japi/checkout/onepage/shipping_method.phtml CHANGED
@@ -25,18 +25,50 @@
25
  */
26
  ?>
27
  <form id="co-shipping-method-form" action="">
28
- <div id="checkout-shipping-method-load"><?php echo Mage::helper('japi')->__('Please wait') ?>...</div>
29
  <script type="text/javascript">
30
  //<![CDATA[
31
  var shippingMethod = new ShippingMethod(
32
  'co-shipping-method-form',
33
  "<?php echo $this->getUrl('japi/checkout/saveShippingMethod', array('_secure' => true)) ?>"
34
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  //]]>
36
  </script>
37
  <div id="onepage-checkout-shipping-method-additional-load">
38
  <?php echo $this->getChildHtml('additional') ?>
39
  </div>
 
 
 
 
 
 
 
 
 
 
 
40
  <div class="buttons-set" id="shipping-method-buttons-container">
41
  <button id="shipping-method-button" type="button" class="ladda-button" onclick="shippingMethod.save()"
42
  data-style="slide-up" data-color="jmango" data-size="s">
25
  */
26
  ?>
27
  <form id="co-shipping-method-form" action="">
28
+ <div id="checkout-shipping-method-load" class="shipping-methods"><?php echo Mage::helper('japi')->__('Please wait') ?>...</div>
29
  <script type="text/javascript">
30
  //<![CDATA[
31
  var shippingMethod = new ShippingMethod(
32
  'co-shipping-method-form',
33
  "<?php echo $this->getUrl('japi/checkout/saveShippingMethod', array('_secure' => true)) ?>"
34
  );
35
+
36
+ <?php if (Mage::helper('core')->isModuleEnabled('GoMage_Checkout')): ?>
37
+ JMango('#co-shipping-method-form').on('click', 'input[type="radio"][name="shipping_method"]', function() {
38
+ JMango('#shipping-methods-overlay').show();
39
+ var thisElm = JMango(this);
40
+ JMango.ajax({
41
+ type: 'POST',
42
+ url: '<?php echo $this->getUrl('gomage_checkout/onepage/ajax', array('_secure' => true)) ?>',
43
+ data: {shipping_method:thisElm.val(), action:'get_totals'},
44
+ dataType: 'json',
45
+ success: function (data) {
46
+ if (data.error !== false) {
47
+ alert(data.message);
48
+ } else {
49
+ JMango('#checkout-shipping-method-load').html(data.shippings);
50
+ }
51
+ JMango('#shipping-methods-overlay').hide();
52
+ }
53
+ });
54
+ });
55
+ <?php endif;//END if (Mage::helper('core')->isModuleEnabled('GoMage_Checkout')) ?>
56
  //]]>
57
  </script>
58
  <div id="onepage-checkout-shipping-method-additional-load">
59
  <?php echo $this->getChildHtml('additional') ?>
60
  </div>
61
+ <div id="shipping-methods-overlay"
62
+ style="
63
+ background: #FFF url('<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN) .'frontend/base/default/japi/images/ajax-loader.gif';?>') no-repeat center center;
64
+ width:100%;
65
+ height:100%;
66
+ position:fixed;
67
+ z-index:999;
68
+ top:0;
69
+ opacity: 0.6;
70
+ display:none;">
71
+ </div>
72
  <div class="buttons-set" id="shipping-method-buttons-container">
73
  <button id="shipping-method-button" type="button" class="ladda-button" onclick="shippingMethod.save()"
74
  data-style="slide-up" data-color="jmango" data-size="s">
app/design/frontend/base/default/template/japi/checkout/onepage/style.phtml CHANGED
@@ -20,6 +20,18 @@ $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=2.9.1') ?>"/>
 
 
 
 
 
 
 
 
 
 
 
 
23
  <style type="text/css">
24
  .ladda-button[data-color=jmango] {
25
  background: <?php echo $buttonBgColor ?>;
20
  ?>
21
  <link type="text/css" rel="stylesheet" media="all"
22
  href="<?php echo $this->getSkinUrl('japi/css/style.css?v=2.9.1') ?>"/>
23
+
24
+ <?php if (Mage::helper('japi')->isModuleEnabled('GoMage_Checkout')): ?>
25
+ <link type="text/css" rel="stylesheet" media="all"
26
+ href="<?php echo $this->getSkinUrl('japi/css/gomage-checkout.css') ?>"/>
27
+ <?php endif;//END if (Mage::helper('japi')->isModuleEnabled('GoMage_Checkout')) ?>
28
+
29
+ <?php if (Mage::helper('japi')->isModuleEnabled('SendCloud_Integration')): ?>
30
+ <link type="text/css" rel="stylesheet" media="all"
31
+ href="<?php echo $this->getSkinUrl('japi/css/send-cloud.css') ?>"/>
32
+ <?php endif;//END if (Mage::helper('japi')->isModuleEnabled('SendCloud_Integration')) ?>
33
+
34
+
35
  <style type="text/css">
36
  .ladda-button[data-color=jmango] {
37
  background: <?php echo $buttonBgColor ?>;
app/design/frontend/base/default/template/japi/customer/form/register.phtml CHANGED
@@ -36,7 +36,7 @@
36
  <h1><?php echo $this->__('Create an Account') ?></h1>
37
  </div>
38
  <?php echo $this->getChildHtml('form_fields_before') ?>
39
- <?php echo $this->getMessagesBlock()->toHtml() ?>
40
  <?php /* Extensions placeholder */ ?>
41
  <?php echo $this->getChildHtml('customer.form.register.extra') ?>
42
  <form action="<?php echo $this->getUrl('*/*/createPost', array('_secure' => true)) ?>"
@@ -140,27 +140,29 @@
140
  ?>
141
  <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
142
  <li class="wide">
143
- <?php if (!empty($_streetConfig['street'.$_i.'_label'])): ?>
144
- <label for="street_<?php echo $_i ?>" class="<?php echo !$_streetConfig['street'.$_i.'_require'] ? '' : 'required' ?>">
145
- <?php if ($_streetConfig['street'.$_i.'_require']): ?><em>*</em><?php endif; ?>
146
- <?php echo Mage::helper('core')->quoteEscape($this->__($_streetConfig['street'.$_i.'_label'])) ?>
 
147
  </label>
148
  <?php endif; //End if (!empty($_streetConfig['street'.$_i.'_label'])) ?>
149
  <?php
150
- $additionValidate = '';
151
- if ($_streetConfig['street'.$_i.'_require']) {
152
- $additionValidate .= ' required-entry';
153
- }
154
- if (!empty($_streetConfig['street'.$_i.'_type'])
155
- && $_streetConfig['street'.$_i.'_type'] == 'number') {
156
- $additionValidate .= ' validate-number';
157
- }
 
158
 
159
- if (!empty($_streetConfig['street'.$_i.'_label'])) {
160
- $_title = Mage::helper('core')->quoteEscape($this->__($_streetConfig['street'.$_i.'_label']));
161
- } else {
162
- $_title = Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i));
163
- }
164
  ?>
165
  <div class="input-box">
166
  <input type="text" name="street[]"
36
  <h1><?php echo $this->__('Create an Account') ?></h1>
37
  </div>
38
  <?php echo $this->getChildHtml('form_fields_before') ?>
39
+ <?php echo $this->getMessagesBlock()->setEscapeMessageFlag(false)->toHtml() ?>
40
  <?php /* Extensions placeholder */ ?>
41
  <?php echo $this->getChildHtml('customer.form.register.extra') ?>
42
  <form action="<?php echo $this->getUrl('*/*/createPost', array('_secure' => true)) ?>"
140
  ?>
141
  <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
142
  <li class="wide">
143
+ <?php if (!empty($_streetConfig['street' . $_i . '_label'])): ?>
144
+ <label for="street_<?php echo $_i ?>"
145
+ class="<?php echo !$_streetConfig['street' . $_i . '_require'] ? '' : 'required' ?>">
146
+ <?php if ($_streetConfig['street' . $_i . '_require']): ?><em>*</em><?php endif; ?>
147
+ <?php echo Mage::helper('core')->quoteEscape($this->__($_streetConfig['street' . $_i . '_label'])) ?>
148
  </label>
149
  <?php endif; //End if (!empty($_streetConfig['street'.$_i.'_label'])) ?>
150
  <?php
151
+ $additionValidate = '';
152
+ if ($_streetConfig['street' . $_i . '_require']) {
153
+ $additionValidate .= ' required-entry';
154
+ }
155
+ if (!empty($_streetConfig['street' . $_i . '_type'])
156
+ && $_streetConfig['street' . $_i . '_type'] == 'number'
157
+ ) {
158
+ $additionValidate .= ' validate-number';
159
+ }
160
 
161
+ if (!empty($_streetConfig['street' . $_i . '_label'])) {
162
+ $_title = Mage::helper('core')->quoteEscape($this->__($_streetConfig['street' . $_i . '_label']));
163
+ } else {
164
+ $_title = Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i));
165
+ }
166
  ?>
167
  <div class="input-box">
168
  <input type="text" name="street[]"
app/design/frontend/base/default/template/japi/symfony/postcode/checkout/onepage/billing.phtml ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ ?>
28
+ <form id="co-billing-form" action="">
29
+ <fieldset>
30
+ <ul class="form-list">
31
+ <?php if ($this->customerHasAddresses()): ?>
32
+ <li class="wide">
33
+ <label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label>
34
+ <div class="input-box">
35
+ <?php echo $this->getAddressesHtmlSelect('billing') ?>
36
+ </div>
37
+ </li>
38
+ <?php endif; ?>
39
+ <li id="billing-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif; ?>>
40
+ <fieldset>
41
+ <input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
42
+ <ul>
43
+ <li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getQuote()->getCustomer())->setForceUseCustomerRequiredAttributes(!$this->isCustomerLoggedIn())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?></li>
44
+ <li class="fields">
45
+ <div class="field">
46
+ <label for="billing:company"><?php echo $this->__('Company') ?></label>
47
+ <div class="input-box">
48
+ <input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
49
+ </div>
50
+ </div>
51
+ <?php if(!$this->isCustomerLoggedIn()): ?>
52
+ <div class="field">
53
+ <label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
54
+ <div class="input-box">
55
+ <input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
56
+ </div>
57
+ </div>
58
+ <?php endif; ?>
59
+ </li>
60
+ <li class="fields cols-2">
61
+ <div class="field">
62
+ <label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
63
+ <div class="input-box">
64
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
65
+ </div>
66
+ </div>
67
+ <div class="field">
68
+ <label for="billing:address_number" class="required"><em>*</em><?php echo Mage::helper("symfony_postcode")->__('House Number') ?></label>
69
+ <div class="input-box">
70
+ <input type="text" title="<?php echo Mage::helper("symfony_postcode")->__('House Number') ?>" name="billing[address_number]" id="billing:address_number" value="<?php echo $this->escapeHtml($this->getAddress()->getAddressNumber()) ?>" class="input-text required-entry" />
71
+ </div>
72
+ </div>
73
+ </li>
74
+ <?php if(Mage::helper("symfony_postcode")->getOptionalAddress()): ?>
75
+ <li class="wide">
76
+ <div class="field" id="billing-optional-address-box" style="display:none">
77
+ <label for="billing:optional_address"><?php echo Mage::helper("symfony_postcode")->__("Change address"); ?></label>
78
+ <div class="input-box">
79
+ <input type="checkbox" title="<?php echo Mage::helper("symfony_postcode")->__("Change address"); ?>" id="billing:optional_address" />
80
+ </div>
81
+ </div>
82
+ </li>
83
+ <?php endif; ?>
84
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
85
+ <li class="wide">
86
+ <label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
87
+ <div class="input-box">
88
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
89
+ </div>
90
+ </li>
91
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
92
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
93
+ <li class="wide">
94
+ <div class="input-box">
95
+ <input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="billing[street][]" id="billing:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
96
+ </div>
97
+ </li>
98
+ <?php endfor; ?>
99
+ <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
100
+ <li class="wide">
101
+ <label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
102
+ <div class="input-box">
103
+ <input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
104
+ </div>
105
+ </li>
106
+ <?php endif; ?>
107
+ <li class="fields">
108
+ <div class="field">
109
+ <label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
110
+ <div class="input-box">
111
+ <input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="billing:city" />
112
+ </div>
113
+ </div>
114
+ <div class="field">
115
+ <label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
116
+ <div class="input-box">
117
+ <select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
118
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
119
+ </select>
120
+ <script type="text/javascript">
121
+ //<![CDATA[
122
+ $('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
123
+ //]]>
124
+ </script>
125
+ <input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
126
+ </div>
127
+ </div>
128
+ <div class="field">
129
+ <label for="billing:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
130
+ <div class="input-box">
131
+ <?php echo $this->getCountryHtmlSelect('billing') ?>
132
+ </div>
133
+ </div>
134
+ </li>
135
+ <li class="fields">
136
+ <div class="field">
137
+ <label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
138
+ <div class="input-box">
139
+ <input type="text" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
140
+ </div>
141
+ </div>
142
+ <div class="field">
143
+ <label for="billing:fax"><?php echo $this->__('Fax') ?></label>
144
+ <div class="input-box">
145
+ <input type="text" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
146
+ </div>
147
+ </div>
148
+ </li>
149
+ <?php if(!$this->isCustomerLoggedIn()): ?>
150
+
151
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
152
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
153
+ <?php if ($_dob->isEnabled() || $_gender->isEnabled()): ?>
154
+ <li class="fields">
155
+ <?php if ($_dob->isEnabled()): ?>
156
+ <div class="field">
157
+ <?php echo $_dob->setDate($this->getQuote()->getCustomerDob())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
158
+ </div>
159
+ <?php endif; ?>
160
+ <?php if ($_gender->isEnabled()): ?>
161
+ <div class="field">
162
+ <?php echo $_gender->setGender($this->getQuote()->getCustomerGender())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
163
+ </div>
164
+ <?php endif ?>
165
+ </li>
166
+ <?php endif ?>
167
+
168
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
169
+ <?php if ($_taxvat->isEnabled()): ?>
170
+ <li>
171
+ <?php echo $_taxvat->setTaxvat($this->getQuote()->getCustomerTaxvat())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
172
+ </li>
173
+ <?php endif ?>
174
+
175
+ <li class="fields" id="register-customer-password">
176
+ <div class="field">
177
+ <label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
178
+ <div class="input-box">
179
+ <input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
180
+ </div>
181
+ </div>
182
+ <div class="field">
183
+ <label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
184
+ <div class="input-box">
185
+ <input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
186
+ </div>
187
+ </div>
188
+ </li>
189
+ <?php endif; ?>
190
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
191
+ <li class="control">
192
+ <input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
193
+ </li>
194
+ <?php else:?>
195
+ <li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
196
+ <?php endif; ?>
197
+ <?php //echo $this->getChildHtml('form.additional.info'); ?>
198
+ </ul>
199
+ </fieldset>
200
+ </li>
201
+ <?php /* Extensions placeholder */ ?>
202
+ <?php echo $this->getChildHtml('checkout.onepage.billing.extra')?>
203
+ <?php if ($this->canShip()): ?>
204
+ <li class="control">
205
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to this address') ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
206
+ <li class="control">
207
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to different address') ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
208
+ </li>
209
+ <?php endif; ?>
210
+ </ul>
211
+ <?php if (!$this->canShip()): ?>
212
+ <input type="hidden" name="billing[use_for_shipping]" value="1" />
213
+ <?php endif; ?>
214
+ <div class="buttons-set" id="billing-buttons-container">
215
+ <button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
216
+ </div>
217
+ </fieldset>
218
+ </form>
219
+ <script type="text/javascript">
220
+ //<![CDATA[
221
+ var billing = new Billing(
222
+ 'co-billing-form',
223
+ '<?php echo $this->getUrl('japi/checkout/getAddress', array('_secure' => true)) ?>address/',
224
+ '<?php echo $this->getUrl('japi/checkout/saveBilling', array('_secure' => true)) ?>'
225
+ );
226
+ var billingForm = new VarienForm('co-billing-form');
227
+
228
+ //billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
229
+ $('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
230
+
231
+ var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
232
+
233
+ <?php if(Mage::helper("symfony_postcode")->getIsEnabled()): ?>
234
+ var billingPostcodeCheck = new PostcodeCheck({
235
+ ajaxURL : '<?php echo $this->getUrl("postcode/validate/index"); ?>',
236
+ country_id : 'billing:country_id',
237
+ postcode_id : 'billing:postcode',
238
+ number_id : 'billing:address_number',
239
+ address_id : 'billing:street1',
240
+ city_id : 'billing:city',
241
+ province_id : 'billing:region',
242
+ optional_box : 'billing-optional-address-box',
243
+ optional_toggle : 'billing:optional_address'
244
+ });
245
+ <?php endif; ?>
246
+ //]]>
247
+ </script>
app/design/frontend/base/default/template/japi/symfony/postcode/checkout/onepage/shipping.phtml ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form action="" id="co-shipping-form">
28
+ <ul class="form-list">
29
+ <?php if ($this->customerHasAddresses()): ?>
30
+ <li class="wide">
31
+ <label for="shipping-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label>
32
+ <div class="input-box">
33
+ <?php echo $this->getAddressesHtmlSelect('shipping') ?>
34
+ </div>
35
+ </li>
36
+ <?php endif ?>
37
+ <li id="shipping-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif ?>>
38
+ <fieldset>
39
+ <input type="hidden" name="shipping[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="shipping:address_id" />
40
+ <ul>
41
+ <li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress())->setFieldIdFormat('shipping:%s')->setFieldNameFormat('shipping[%s]')->setFieldParams('onchange="shipping.setSameAsBilling(false)"')->toHtml() ?></li>
42
+ <li class="fields">
43
+ <div class="fields">
44
+ <label for="shipping:company"><?php echo $this->__('Company') ?></label>
45
+ <div class="input-box">
46
+ <input type="text" id="shipping:company" name="shipping[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" onchange="shipping.setSameAsBilling(false);" />
47
+ </div>
48
+ </div>
49
+ </li>
50
+ <li class="fields cols-2">
51
+ <div class="field">
52
+ <label for="shipping:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
53
+ <div class="input-box">
54
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="shipping[postcode]" id="shipping:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" onchange="shipping.setSameAsBilling(false);" />
55
+ </div>
56
+ </div>
57
+ <div class="field">
58
+ <label for="shipping:address_number" class="required"><em>*</em><?php echo Mage::helper("symfony_postcode")->__('House Number') ?></label>
59
+ <div class="input-box">
60
+ <input type="text" title="<?php echo Mage::helper("symfony_postcode")->__('House Number') ?>" name="shipping[address_number]" id="shipping:address_number" value="<?php echo $this->escapeHtml($this->getAddress()->getAddressNumber()) ?>" class="input-text required-entry" />
61
+ </div>
62
+ </div>
63
+ </li>
64
+ <?php if(Mage::helper("symfony_postcode")->getOptionalAddress()): ?>
65
+ <li class="wide">
66
+ <div class="field" id="billing-optional-address-box" style="display:none">
67
+ <label for="shipping:optional_address"><?php echo Mage::helper("symfony_postcode")->__("Change address"); ?></label>
68
+ <div class="input-box">
69
+ <input type="checkbox" title="<?php echo Mage::helper("symfony_postcode")->__("Change address"); ?>" id="shipping:optional_address" />
70
+ </div>
71
+ </div>
72
+ </li>
73
+ <?php endif; ?>
74
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
75
+ <li class="wide">
76
+ <label for="shipping:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
77
+ <div class="input-box">
78
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="shipping[street][]" id="shipping:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
79
+ </div>
80
+ </li>
81
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
82
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
83
+ <li class="wide">
84
+ <div class="input-box">
85
+ <input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="shipping[street][]" id="shipping:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
86
+ </div>
87
+ </li>
88
+ <?php endfor; ?>
89
+ <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
90
+ <li class="wide">
91
+ <label for="billing:vat_id"><?php echo $this->__('VAT Number'); ?></label>
92
+ <div class="input-box">
93
+ <input type="text" id="shipping:vat_id" name="shipping[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()); ?>" title="<?php echo $this->__('VAT Number'); ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
94
+ </div>
95
+ </li>
96
+ <?php endif; ?>
97
+ <li class="fields">
98
+ <div class="field">
99
+ <label for="shipping:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
100
+ <div class="input-box">
101
+ <input type="text" title="<?php echo $this->__('City') ?>" name="shipping[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="shipping:city" onchange="shipping.setSameAsBilling(false);" />
102
+ </div>
103
+ </div>
104
+ <div class="field">
105
+ <label for="shipping:region" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
106
+ <div class="input-box">
107
+ <select id="shipping:region_id" name="shipping[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
108
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
109
+ </select>
110
+ <script type="text/javascript">
111
+ //<![CDATA[
112
+ $('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
113
+ //]]>
114
+ </script>
115
+ <input type="text" id="shipping:region" name="shipping[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
116
+ </div>
117
+ </div>
118
+ <div class="field">
119
+ <label for="shipping:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
120
+ <div class="input-box">
121
+ <?php echo $this->getCountryHtmlSelect('shipping') ?>
122
+ </div>
123
+ </div>
124
+ </li>
125
+ <li class="fields">
126
+ <div class="field">
127
+ <label for="shipping:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
128
+ <div class="input-box">
129
+ <input type="text" name="shipping[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="shipping:telephone" onchange="shipping.setSameAsBilling(false);" />
130
+ </div>
131
+ </div>
132
+ <div class="field">
133
+ <label for="shipping:fax"><?php echo $this->__('Fax') ?></label>
134
+ <div class="input-box">
135
+ <input type="text" name="shipping[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="shipping:fax" onchange="shipping.setSameAsBilling(false);" />
136
+ </div>
137
+ </div>
138
+ </li>
139
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
140
+ <li class="control">
141
+ <input type="checkbox" name="shipping[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="shipping:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="shipping:save_in_address_book"><?php echo $this->__('Save in address book') ?></label></li>
142
+ <?php else:?>
143
+ <li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
144
+ <?php endif;?>
145
+ </ul>
146
+ </fieldset>
147
+ </li>
148
+ <li class="control">
149
+ <input type="checkbox" name="shipping[same_as_billing]" id="shipping:same_as_billing" value="1"<?php if($this->getAddress()->getSameAsBilling()): ?> checked="checked"<?php endif; ?> title="<?php echo $this->__('Use Billing Address') ?>" onclick="shipping.setSameAsBilling(this.checked)" class="checkbox" /><label for="shipping:same_as_billing"><?php echo $this->__('Use Billing Address') ?></label>
150
+ </li>
151
+ </ul>
152
+ <div class="buttons-set" id="shipping-buttons-container">
153
+ <button type="button" class="button" title="<?php echo $this->__('Continue') ?>" onclick="shipping.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
154
+ </div>
155
+ </form>
156
+ <script type="text/javascript">
157
+ //<![CDATA[
158
+ var shipping = new Shipping(
159
+ 'co-shipping-form',
160
+ '<?php echo $this->getUrl('japi/checkout/getAddress', array('_secure' => true)) ?>address/',
161
+ '<?php echo $this->getUrl('japi/checkout/saveShipping', array('_secure' => true)) ?>',
162
+ '<?php echo $this->getUrl('japi/checkout/shippingMethod', array('_secure' => true)) ?>'
163
+ );
164
+ var shippingForm = new VarienForm('co-shipping-form');
165
+ shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
166
+ //shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
167
+ $('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
168
+
169
+ var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'shipping:postcode');
170
+
171
+ <?php if(Mage::helper("symfony_postcode")->getIsEnabled()): ?>
172
+ var shippingPostcodeCheck = new PostcodeCheck({
173
+ ajaxURL : '<?php echo $this->getUrl("postcode/validate/index"); ?>',
174
+ country_id : 'shipping:country_id',
175
+ postcode_id : 'shipping:postcode',
176
+ number_id : 'shipping:address_number',
177
+ address_id : 'shipping:street1',
178
+ city_id : 'shipping:city',
179
+ province_id : 'shipping:region',
180
+ optional_box : 'shipping-optional-address-box',
181
+ optional_toggle : 'shipping:optional_address'
182
+ });
183
+ <?php endif; ?>
184
+ //]]>
185
+ </script>
app/locale/en_US/Jmango360_Japi.csv CHANGED
@@ -251,3 +251,5 @@
251
  "Hide on JMango360 App","Hide on JMango360 App"
252
  "Override Default Sort Direction","Override Default Sort Direction"
253
  "Choose to use direction here instead of mobile default sort direction.","Choose to use direction here instead of mobile default sort direction."
 
 
251
  "Hide on JMango360 App","Hide on JMango360 App"
252
  "Override Default Sort Direction","Override Default Sort Direction"
253
  "Choose to use direction here instead of mobile default sort direction.","Choose to use direction here instead of mobile default sort direction."
254
+ "Re-run SQL upgrade","Re-run SQL upgrade"
255
+ "Re-run successfully.","Re-run successfully."
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Jmango360_Japi</name>
4
- <version>2.9.1</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>2016-10-17</date>
35
- <time>10:23:47</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="e4ba69f83fa56a9e79e2a6c7750510f4"/></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="5fde8fdbf5d33e63374b8928249fc58e"/><file name="Orders.php" hash="2e5b31bcf202cf4f726245f4c93de3bc"/><file name="Sales.php" hash="d4d7f0e6db1a1c4b509ce5b6439a92d2"/></dir><dir name="Customers"><file name="Chart.php" hash="cff7f9590804c5527fa80f3e2fb3126e"/><file name="Grid.php" hash="92c0a7ee2bb5d8acf26e29a030db4263"/></dir><file name="Customers.php" hash="ab1d85a4260ea7dba99146fe9fca52bf"/><dir name="Filter"><dir name="Form"><file name="Orders.php" hash="921a673ca567255db3f8e078667bce16"/></dir><file name="Form.php" hash="7b6741ce28ca55c29a5841c41dcb43ce"/></dir><dir name="Orders"><file name="Chart.php" hash="bd3959f7cfb8f64f22a73d974535def3"/><file name="Grid.php" hash="5b4f21bf95f5affb9dd4bceef4a5e710"/></dir><file name="Orders.php" hash="a3349365fbf0cf1fce770a2a6a59212f"/><dir name="Sales"><file name="Chart.php" hash="cfcc4b86ce4cbf71eeb1342639c390f0"/><file name="Grid.php" hash="ad23e6eafa8faca5749ce2ed03cabdf3"/></dir><file name="Sales.php" hash="f38da3ba2754bf66e4db6d297e4edfac"/></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Log.php" hash="578fd58700caded2f8212eaf168c0b6f"/><file name="User.php" hash="765c49cc51ef232c5e36302921197bde"/><file name="Version.php" hash="ed37a968210f8633570cf0851f0c98c9"/></dir></dir></dir><dir name="Widget"><dir name="Form"><dir name="Renderer"><dir name="Element"><file name="Chart.php" hash="248436ebdd189390e4f55cd6031e5394"/></dir></dir></dir></dir></dir><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="e2e09262d227de4bbe92f09787c36232"/><file name="Category.php" hash="f8bc45fa70f86862e6cbe7c9746a1edc"/><file name="Decimal.php" hash="d0d334970f46b2f9f03d0a8ab362015f"/><file name="Price.php" hash="fa47844068b1e00a068aaff82f068e3a"/></dir><file name="View.php" hash="24ac37f0280492b836e7b71a9ed42edb"/></dir><dir name="Product"><file name="List.php" hash="792c386d84b00f91daa270f8e1bd5eee"/></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="825ecf71c564eb9d76c39abf533b5d44"/></dir></dir><file name="Layer.php" hash="6a9a804601062cc0f79299311a31bb1e"/></dir><dir name="Checkout"><dir name="Cart"><file name="Totals.php" hash="03b89b266dbc21421cd3ee3ebdaa5ecd"/></dir><dir name="Onepage"><file name="Addjs.php" hash="b06fbe98c4c16c472215d4f0e4e11d92"/><file name="Address.php" hash="5aa5083ce32d5710543b2716ed362336"/><file name="Billing.php" hash="9ed5e52390ec384e0742fe5cc035f02b"/><file name="Shipping.php" hash="875d5e21ed3ac9adffe5fa90501dd886"/></dir><file name="Onepage.php" hash="9252a6d5af9d169271208f6a05b9d106"/></dir><file name="Form.php" hash="da6604d3649e5a239ba968ac66203078"/><dir name="GiftMessage"><dir name="Message"><file name="Inline.php" hash="9babd88f15d4f18f3e650e40403a9e30"/></dir></dir></dir><dir name="Controller"><file name="Abstract.php" hash="407a9629e31c0bde55cdb06dd5ce6c38"/></dir><file name="Exception.php" hash="4c7ba2f3f16b67d29588e5c5515c2c29"/><dir name="Helper"><dir name="Adminhtml"><dir name="Report"><file name="Order.php" hash="b6109c1616e5d4fcc5cf0eb9866c6c51"/></dir></dir><file name="Data.php" hash="78c7090749bca57015ab877f2a9efd0d"/><file name="Debug.php" hash="51b4ae79ed3bed1be80ba580f5ed983d"/><dir name="GiftMessage"><file name="Message.php" hash="b0fdee7a8c8e247b8ca483b82c18bf2a"/></dir><dir name="Product"><file name="Bundle.php" hash="f207f070f5407e6f7de8d8a869a4ac4a"/><file name="Configurable.php" hash="1d84aa31971a28db1388cfb5c8cfb558"/><file name="Downloadable.php" hash="15f566287b4c9a943b261f4ecb79ccad"/><file name="File.php" hash="ad3730fae76e324f098da2991cf6283e"/><file name="Grouped.php" hash="88823ffed2223f91df4eeeecda771b1d"/><file name="Media.php" hash="84069dbfd8759b3816367822c9a4a287"/><file name="Options.php" hash="c4f422fa68773044ea838476e7e846ef"/><file name="Review.php" hash="53b188b3a700636302b7942dadc40c9b"/><file name="TierPrice.php" hash="c6657d673ffb763e3daf75d6baf9ef45"/></dir><file name="Product.php" hash="7ab199fb28cf9596f060ba85b1fdfa2e"/><file name="Tax.php" hash="9cf654643cfd6bfe4c9be2d852305499"/></dir><dir name="Model"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="567bfc8c4dca52f4c445bb7b39d65586"/><file name="Decimal.php" hash="1c1c15b3e0a38d1c0eb4734df6d965a6"/><file name="Price.php" hash="d28f561aec670d6613add8665107b68d"/></dir></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="e78da872e86ac57b1c2c6d5d7abb62da"/></dir></dir></dir><dir name="Core"><file name="Session.php" hash="dc122a47f18a1118e7557cf79d837196"/></dir><file name="Dispatcher.php" hash="0032dd91e78f3a8145420be5b069ebd8"/><dir name="Magpleasure"><dir name="Tierprices"><file name="Price.php" hash="96955e13f0153cba6bb41c2b3e23904f"/></dir></dir><file name="Observer.php" hash="e043ea1a298c9d6243da0b2dea03fba8"/><dir name="Renderer"><file name="Json.php" hash="01a6d0947bb0de340fb35082dbdebdb3"/></dir><file name="Renderer.php" hash="f6304d75dc46db79b4e5d0a36448058e"/><file name="Request.php" hash="e0bf50273db6a631ef5162da23d480ac"/><dir name="Resource"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="2e2fbe3a4defdc57c67c6da4f4c394ab"/><file name="Decimal.php" hash="3c0754c63f624c844a5d284897d4d67b"/><file name="Price.php" hash="2cfa115132865391e29f6d7d702ee2fc"/></dir></dir></dir><dir name="Report"><dir name="Order"><file name="Collection.php" hash="252dc8575563cd584451b9a24c7e49ea"/></dir></dir><dir name="Sales"><dir name="Report"><dir name="Order"><dir name="Collection"><file name="Aggregated.php" hash="fb1f5302e04cced336a65fb345c9f918"/><file name="Live.php" hash="23b0464c592f45657e4e472e72d34355"/></dir></dir><file name="Order.php" hash="acfb2f0982ed1eac58848ac6b9acb199"/></dir></dir><file name="Setup.php" hash="088e7250a113ca9999280b0705850427"/></dir><file name="Response.php" hash="786d845284e214a4af674bd38ee4fc0f"/><dir name="Rest"><dir name="Cart"><file name="Coupon.php" hash="b5f008680c754454bf11d4b56b1533c0"/><file name="Update.php" hash="6e6cd84881512aea20fb94b4ab08b37b"/></dir><file name="Cart.php" hash="67588e6a58c14b52ef84ecd865ea0b07"/><dir name="Catalog"><dir name="Category"><file name="Assignedproducts.php" hash="a0bd4a2ddefe157c944dfda14ea56d9b"/><file name="Tree.php" hash="222d4b24f1ca6a64c4cdff49c60492f8"/></dir><dir name="Search"><file name="Products.php" hash="387cd29b8b3d54f314c221a66da346e5"/><file name="Terms.php" hash="4322eb9633f94d89b1940ef0bffb959f"/></dir></dir><file name="Catalog.php" hash="6ee5d37530675fe373dbecffb7a62364"/><dir name="Checkout"><file name="Methods.php" hash="177b27a7917d67fd40b407e2189c703e"/><file name="Onepage.php" hash="9bcfa633bd721d739dd44b37367b1cab"/><file name="Redirect.php" hash="77f4f72415a20eef5b4714150aa4b5dd"/><file name="Submit.php" hash="c0d271e9634ea049549fca6fb5dccc4c"/></dir><file name="Checkout.php" hash="c11edbfa39bd4f57d400cde7c880f1ba"/><dir name="Cms"><file name="Page.php" hash="0a78b2624bd4e69a6d8c7ee566ffd164"/></dir><file name="Cms.php" hash="e29088c9e5da473b0a430c66bc047f01"/><dir name="Customer"><file name="Address.php" hash="3ecccb0378aedb6ccc979b4a4fcce6d3"/><file name="Edit.php" hash="5ec3ebf05838baae0c1f6aaee10cfa5e"/><file name="Group.php" hash="f406c05b4cba55f7963ada7137228b5b"/><file name="List.php" hash="15d7cc18a6b22cadd911950dfe0673dc"/><file name="Login.php" hash="53905536f879fe296d33efcd4878d2b3"/><dir name="Order"><file name="List.php" hash="36378c3d7b44ffbb650e02e3e515cb5f"/></dir><file name="Order.php" hash="3b270527b5827fcf576d9996f255d68d"/><file name="Password.php" hash="42ce37853acf0ed09224186b16ababa7"/><file name="Register.php" hash="a6d7f0dc7d669054e6f0adf21745d9e5"/></dir><file name="Customer.php" hash="a9e6efe88ce6762a187277d50ae7f35f"/><file name="Mage.php" hash="4b57140bf2ba74788d032d6d48ee90b6"/><dir name="Product"><file name="Crosssell.php" hash="1622bd39c5c272da70e11335ea2b787f"/><file name="List.php" hash="ebed176f5e705898da5d39d1e8af0136"/><file name="Purchased.php" hash="9f672085eee3b3b0dbc4ad73d30f73df"/><file name="Related.php" hash="c6fc3f0f9e9ec35001a92b6dc3e624e7"/><file name="Review.php" hash="3f563b8b87db83ef6ed31456d39b6329"/><file name="Search.php" hash="ffd01073e11b846aeb615be416436fd8"/><file name="Upsell.php" hash="3acb5b81c55e62e07c41eeec1a402001"/><file name="Url.php" hash="ef302c7c1529e9e255cf89ec02b15c9b"/><file name="Viewed.php" hash="2deacf3f0896b5247e15a10c6dbbbfbf"/></dir><file name="Product.php" hash="02ad5664c7ec6a7b7474894a7cb0d6a0"/><file name="Wishlist.php" hash="fea816fe81ce072bdfd5a632cfbb2995"/></dir><file name="Server.php" hash="011aa6a277750dc8c075dd5bbbde5d1a"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Payment.php" hash="14bcf1d7c077a4c17c014174921a9228"/><file name="Shipping.php" hash="fa680415ba872da467a898d8995817bc"/></dir><dir name="Source"><dir name="Address"><file name="Attributes.php" hash="b8c2fd4ae5b52ee76d5f18d07c30b1e7"/><file name="Validatetype.php" hash="5ee18901d63ed0de77db6662f2365d4a"/></dir><file name="Attributes.php" hash="67eccf925d994a08177713fec118b7da"/><dir name="Catalog"><file name="Direction.php" hash="d48937f5678bda45f3580479b1fc3049"/><file name="Sortby.php" hash="e1f29a5efdab91e1bd3dcaca0c283c76"/></dir><file name="Catalogimage.php" hash="30b059c1c67d36f5938d22311194aded"/><dir name="Customer"><file name="Attributes.php" hash="f27a2cb3f53b5396ac9bdcbbab15d665"/></dir><file name="Defaultimage.php" hash="7bc4b41fbcd481affbe9c6985fb4a527"/><file name="Payment.php" hash="8553971f076bd048eea8eb24236f7896"/><file name="Shipping.php" hash="b063fa60f03955d15c049cdae9c6870a"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Japi"><file name="LogController.php" hash="0945b5406c46aff7257b0d21b5ad8491"/><file name="OrderController.php" hash="e6b7c1f5a7156a06fa3f51c32e6bbba9"/><file name="ReportController.php" hash="7f875011263dc136b88c5b789f3b874f"/></dir></dir><file name="CheckoutController.php" hash="595381d91707062f3605c880e4ed1db4"/><file name="CustomerController.php" hash="6dfdcd19d714764ab07614cdb6dc2e3d"/><file name="ImageController.php" hash="dd0c5b857adae6d4f3b2e9c589724ec0"/><dir name="Rest"><file name="CartController.php" hash="c03ad5e80be7f6f672a68a9e8be80d79"/><file name="CatalogController.php" hash="be9eb353c01e5d8561282806605470d1"/><file name="CheckoutController.php" hash="c201d0870f9e4b3ecf9997e73120f65a"/><file name="CmsController.php" hash="1f8f491a5fa05060a0bfe94f3cfece75"/><file name="CustomerController.php" hash="ab8d79da68a93695438c95fa70608679"/><file name="MageController.php" hash="65720693f19a9ac5eca461dbb8713893"/><file name="ProductController.php" hash="1cddc1ce0a0b8f8a3b458b910b854ad3"/><file name="WishlistController.php" hash="6e821c803a743544762beacdd6628afc"/></dir><file name="TestController.php" hash="5cf6d0077eec7673a8064716f4373523"/></dir><dir name="data"><dir name="japi_setup"><file name="data-install-2.0.0.php" hash="d3192372e4c2d7a0b026f7337881101b"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="504078ae12fcf490ac8cf405f3366ac1"/><file name="config.xml" hash="3aff346668b52dacd2e625b599a9fbb0"/><file name="system.xml" hash="f353c50ee820017a7fe7bef35542806e"/></dir><dir name="sql"><dir name="japi_setup"><file name="install-1.0.0.php" hash="f84214fc43f665c79b92dc7a092b364f"/><file name="upgrade-2.0.1.2-2.0.2.php" hash="d54fe62ffff2834a8330daeb47bc2722"/><file name="upgrade-2.1.6-2.2.0.php" hash="1b66107f157fad22a8cf2682c1ba3d52"/><file name="upgrade-2.2.0-2.2.1.php" hash="55fc2d392f0fbe56af2aede01f1d5d6b"/><file name="upgrade-2.8.2-2.9.0.php" hash="f158f1a636b6e98d0d2a26526ffd8c69"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Jmango360_Japi.xml" hash="8029f499a0cb634a21ffe2fdb5c31712"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="jmango360_japi.xml" hash="a808c587efe1e29e0fce5d4e327c0dca"/></dir><dir name="template"><dir name="japi"><dir name="report"><file name="chart.phtml" hash="b4790e21b21fa6bf8ffd9e9c08526636"/><dir name="grid"><file name="container.phtml" hash="284b949ac932c4fb29506b0af9153fe9"/></dir></dir><dir name="widget"><dir name="form"><dir name="renderer"><dir name="element"><file name="chart.phtml" hash="8531200ea3dd209eef9dc829c653f1a0"/></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="2704428614ad60eda9e54d8e0e71a8f1"/></dir><dir name="template"><dir name="japi"><dir name="TIG"><dir name="PostNL"><dir name="address_validation"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="45db02c3c310266586d8c8645b75b1f1"/><file name="shipping.phtml" hash="6a8dceaff3e204bb5ea73390685f2ab1"/></dir></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="e67297b06331aa19c7542fc6054a506e"/><file name="postcode_check.phtml" hash="87e4ce3591eb1cbdb76c1ceacaca6232"/></dir></dir></dir><dir name="delivery_options"><dir name="onepage"><file name="available.phtml" hash="04ab6351509ce1697dd433231958fe1c"/></dir></dir></dir></dir><dir name="checkout"><dir name="onepage"><file name="address.phtml" hash="c63505c5a59a9c7b77ac113ea81c13aa"/><file name="agreements.phtml" hash="daa5fc3cd4cc95f46447c417d1c98d4e"/><file name="billing.phtml" hash="c2b7080bb2e4b109f452759f3df5833c"/><file name="coupon.phtml" hash="194a4d7dec303dc8c86ac174deb3f6ca"/><file name="js.phtml" hash="82cf4af3e0a2d02250b84084fcc16dc0"/><dir name="payment"><file name="info.phtml" hash="5652693e8debe3ab20e444ae8993ca86"/><file name="methods.phtml" hash="1264ce4ed4738a0fbaaf54ba1ffae22d"/></dir><file name="payment.phtml" hash="1f1ccdb0fb5f42d63b1de496b5f23629"/><dir name="review"><file name="button.phtml" hash="2b4d0b89098374100cde80d0e45dc3b1"/><file name="info.phtml" hash="0dabd96d05df35a2ee955ce97f1bd0b5"/><file name="item.phtml" hash="59f6015bc69052964b77906d854dbcb5"/><file name="totals.phtml" hash="ca947cb3b69fc74bc1616c288135fab7"/></dir><file name="review.phtml" hash="318ca1bcbd683dcf6d1a3edfbee751f6"/><file name="shipping.phtml" hash="0d29917a293d13e56b71d08e47071d7e"/><dir name="shipping_method"><file name="additional.phtml" hash="2ccd4ad249a519175c62d6105fa0cedc"/><file name="available.phtml" hash="0a71445c8f2df862a678ff63a2c670e1"/></dir><file name="shipping_method.phtml" hash="325e43b580d9f855d96a6d1e262ea4d7"/><file name="style.phtml" hash="1da5c77dce8fa2ffb239e0401f380950"/></dir><file name="onepage.phtml" hash="063d3159bd768753c449bd0c5cd6b983"/></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="cd58cfd578d115b8f37d8020dd0088a8"/></dir><dir name="form"><file name="edit.phtml" hash="841a4133ab0cebce6ca27fd6b0e9de98"/><file name="register.phtml" hash="9cc6f316d2e682afd9be0b59aa8214d7"/></dir></dir><file name="form.phtml" hash="fb5e076a84171ae64fa5a8225bfcfb41"/><dir name="giftmessage"><file name="inline.phtml" hash="1c418df89c7c1f4f68825d3ca7c96bde"/></dir><dir name="page"><dir name="html"><file name="head.phtml" hash="74324c13a3950db4d2b437b64548a29b"/></dir><file name="rwd.phtml" hash="bbd5df06b3db265f138b5f0a42bd5299"/></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="icomoon"><dir name="fonts"><file name="icomoon.eot" hash="842065e274d718c38968a81a721d49f4"/><file name="icomoon.svg" hash="1c1ad2678d933f8d2fd712006fbe4e97"/><file name="icomoon.ttf" hash="8ffbfccd78de7c37eadeca837ee40344"/><file name="icomoon.woff" hash="32df67c3aed8769c316b3e7ff1bb637c"/></dir><file name="style.css" hash="1bc04f5f4d16a9ef143954066f60180f"/></dir><file name="style.css" hash="cd7f5d08078d3430cd5cc357643fee8c"/><file name="style.less" hash="ea6a157943c9f33ba948d17a55f0cb46"/></dir><dir name="images"><file name="bg-down.png" hash="04d7cd2963010b610f608aca03a45c63"/><file name="bg-up.png" hash="2882d38108532275fb1d425bbd021c9d"/></dir><dir name="js"><file name="checkout.js" hash="350b1de4fbfece6f9220f3737c4b33e4"/><dir name="varien"><file name="form.js" hash="212f1f00ac29da3dd5172ded185137dd"/></dir></dir><dir name="lib"><dir name="bootstrap"><dir name="css"><file name="bootstrap.min.css" hash="3e53c6843a02b42ed881307d0c17af7d"/></dir><dir name="fonts"><file name="glyphicons-halflings-regular.eot" hash="f4769f9bdb7466be65088239c12046d1"/><file name="glyphicons-halflings-regular.svg" hash="f721466883998665b87923b92dea655b"/><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="a056148b6e411d503b1173a7a7015423"/><file name="modal.js" hash="e0b4f56dd8cf393335146c0875c5d57c"/><file name="transition.js" hash="7b2ebef34d503883899753188c57c383"/></dir></dir><dir name="jquery"><file name="jquery-1.11.2.min.js" hash="9aecea3830b65ecad103ee84bd5fe294"/><file name="jquery-noconflict.js" hash="3ec1ec0c93eb4f571268d79d7bb02551"/></dir><dir name="ladda"><file name="ladda.min.css" hash="31b0d68aca8c063f2889c5ea6e089518"/><file name="ladda.min.js" hash="01c75906236ae05920e68197c095ce45"/></dir><dir name="scrollto"><file name="scrollTo.js" hash="067acc15856de3af6370b0b8184dff65"/></dir><dir name="spin"><file name="spin.min.js" hash="cc2192a06099083fb2f687d780807b85"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Jmango360_Japi.csv" hash="aab15e239bb770961fa842dfc659c7c7"/></dir><dir name="fr_FR"><file name="Jmango360_Japi.csv" hash="d4d2f66da68229aa271c307b8645cf5a"/></dir><dir name="it_IT"><file name="Jmango360_Japi.csv" hash="28f5e675e9ce85bf4b29072122e49d11"/></dir><dir name="pt_PT"><file name="Jmango360_Japi.csv" hash="6b0f1091ad1a871087152292fa57e62a"/></dir><dir name="pt_BR"><file name="Jmango360_Japi.csv" hash="6b0f1091ad1a871087152292fa57e62a"/></dir><dir name="ar_SA"><file name="Jmango360_Japi.csv" hash="c25c4155299f3602dc31325dc8cedeb1"/></dir><dir name="nl_NL"><file name="Jmango360_Japi.csv" hash="587bfae35ee02adc8ac24dd422ab6add"/></dir></target></contents>
37
  <compatible/>
38
  <dependencies><required><php><min>5.2.0</min><max>7.0.0</max></php></required></dependencies>
39
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Jmango360_Japi</name>
4
+ <version>2.9.2</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>2016-10-27</date>
35
+ <time>10:22:12</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="e4ba69f83fa56a9e79e2a6c7750510f4"/></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="5fde8fdbf5d33e63374b8928249fc58e"/><file name="Orders.php" hash="2e5b31bcf202cf4f726245f4c93de3bc"/><file name="Sales.php" hash="d4d7f0e6db1a1c4b509ce5b6439a92d2"/></dir><dir name="Customers"><file name="Chart.php" hash="cff7f9590804c5527fa80f3e2fb3126e"/><file name="Grid.php" hash="92c0a7ee2bb5d8acf26e29a030db4263"/></dir><file name="Customers.php" hash="ab1d85a4260ea7dba99146fe9fca52bf"/><dir name="Filter"><dir name="Form"><file name="Orders.php" hash="921a673ca567255db3f8e078667bce16"/></dir><file name="Form.php" hash="7b6741ce28ca55c29a5841c41dcb43ce"/></dir><dir name="Orders"><file name="Chart.php" hash="bd3959f7cfb8f64f22a73d974535def3"/><file name="Grid.php" hash="5b4f21bf95f5affb9dd4bceef4a5e710"/></dir><file name="Orders.php" hash="a3349365fbf0cf1fce770a2a6a59212f"/><dir name="Sales"><file name="Chart.php" hash="cfcc4b86ce4cbf71eeb1342639c390f0"/><file name="Grid.php" hash="ad23e6eafa8faca5749ce2ed03cabdf3"/></dir><file name="Sales.php" hash="f38da3ba2754bf66e4db6d297e4edfac"/></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="45c2b00abe588f0bcc33545432d5e0d3"/><file name="Log.php" hash="578fd58700caded2f8212eaf168c0b6f"/><file name="User.php" hash="765c49cc51ef232c5e36302921197bde"/><file name="Version.php" hash="ed37a968210f8633570cf0851f0c98c9"/></dir></dir></dir><dir name="Widget"><dir name="Form"><dir name="Renderer"><dir name="Element"><file name="Chart.php" hash="248436ebdd189390e4f55cd6031e5394"/></dir></dir></dir></dir></dir><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="e2e09262d227de4bbe92f09787c36232"/><file name="Category.php" hash="f8bc45fa70f86862e6cbe7c9746a1edc"/><file name="Decimal.php" hash="d0d334970f46b2f9f03d0a8ab362015f"/><file name="Price.php" hash="fa47844068b1e00a068aaff82f068e3a"/></dir><file name="View.php" hash="24ac37f0280492b836e7b71a9ed42edb"/></dir><dir name="Product"><file name="List.php" hash="792c386d84b00f91daa270f8e1bd5eee"/></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="825ecf71c564eb9d76c39abf533b5d44"/></dir></dir><file name="Layer.php" hash="6a9a804601062cc0f79299311a31bb1e"/></dir><dir name="Checkout"><dir name="Cart"><file name="Totals.php" hash="03b89b266dbc21421cd3ee3ebdaa5ecd"/></dir><dir name="Onepage"><file name="Addjs.php" hash="b06fbe98c4c16c472215d4f0e4e11d92"/><file name="Address.php" hash="5aa5083ce32d5710543b2716ed362336"/><file name="Billing.php" hash="9ed5e52390ec384e0742fe5cc035f02b"/><file name="Shipping.php" hash="875d5e21ed3ac9adffe5fa90501dd886"/></dir><file name="Onepage.php" hash="9252a6d5af9d169271208f6a05b9d106"/></dir><file name="Form.php" hash="da6604d3649e5a239ba968ac66203078"/><dir name="GiftMessage"><dir name="Message"><file name="Inline.php" hash="9babd88f15d4f18f3e650e40403a9e30"/></dir></dir></dir><dir name="Controller"><file name="Abstract.php" hash="407a9629e31c0bde55cdb06dd5ce6c38"/></dir><file name="Exception.php" hash="4c7ba2f3f16b67d29588e5c5515c2c29"/><dir name="Helper"><dir name="Adminhtml"><dir name="Report"><file name="Order.php" hash="b6109c1616e5d4fcc5cf0eb9866c6c51"/></dir></dir><file name="Data.php" hash="78c7090749bca57015ab877f2a9efd0d"/><file name="Debug.php" hash="51b4ae79ed3bed1be80ba580f5ed983d"/><dir name="GiftMessage"><file name="Message.php" hash="b0fdee7a8c8e247b8ca483b82c18bf2a"/></dir><dir name="Product"><file name="Bundle.php" hash="f207f070f5407e6f7de8d8a869a4ac4a"/><file name="Configurable.php" hash="1d84aa31971a28db1388cfb5c8cfb558"/><file name="Downloadable.php" hash="15f566287b4c9a943b261f4ecb79ccad"/><file name="File.php" hash="ad3730fae76e324f098da2991cf6283e"/><file name="Grouped.php" hash="88823ffed2223f91df4eeeecda771b1d"/><file name="Media.php" hash="84069dbfd8759b3816367822c9a4a287"/><file name="Options.php" hash="c4f422fa68773044ea838476e7e846ef"/><file name="Review.php" hash="53b188b3a700636302b7942dadc40c9b"/><file name="TierPrice.php" hash="c6657d673ffb763e3daf75d6baf9ef45"/></dir><file name="Product.php" hash="d76dc2dccce57461fc483eb245c8bcac"/><file name="Tax.php" hash="9cf654643cfd6bfe4c9be2d852305499"/></dir><dir name="Model"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="567bfc8c4dca52f4c445bb7b39d65586"/><file name="Decimal.php" hash="1c1c15b3e0a38d1c0eb4734df6d965a6"/><file name="Price.php" hash="d28f561aec670d6613add8665107b68d"/></dir></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="e78da872e86ac57b1c2c6d5d7abb62da"/></dir></dir></dir><dir name="Core"><file name="Session.php" hash="dc122a47f18a1118e7557cf79d837196"/></dir><file name="Dispatcher.php" hash="0032dd91e78f3a8145420be5b069ebd8"/><dir name="Magpleasure"><dir name="Tierprices"><file name="Price.php" hash="96955e13f0153cba6bb41c2b3e23904f"/></dir></dir><file name="Observer.php" hash="995f65e27858fddf35cd1136f01b1141"/><dir name="Renderer"><file name="Json.php" hash="01a6d0947bb0de340fb35082dbdebdb3"/></dir><file name="Renderer.php" hash="f6304d75dc46db79b4e5d0a36448058e"/><file name="Request.php" hash="e0bf50273db6a631ef5162da23d480ac"/><dir name="Resource"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="2e2fbe3a4defdc57c67c6da4f4c394ab"/><file name="Decimal.php" hash="3c0754c63f624c844a5d284897d4d67b"/><file name="Price.php" hash="2cfa115132865391e29f6d7d702ee2fc"/></dir></dir></dir><dir name="Report"><dir name="Order"><file name="Collection.php" hash="252dc8575563cd584451b9a24c7e49ea"/></dir></dir><dir name="Sales"><dir name="Report"><dir name="Order"><dir name="Collection"><file name="Aggregated.php" hash="fb1f5302e04cced336a65fb345c9f918"/><file name="Live.php" hash="23b0464c592f45657e4e472e72d34355"/></dir></dir><file name="Order.php" hash="acfb2f0982ed1eac58848ac6b9acb199"/></dir></dir><file name="Setup.php" hash="088e7250a113ca9999280b0705850427"/></dir><file name="Response.php" hash="786d845284e214a4af674bd38ee4fc0f"/><dir name="Rest"><dir name="Cart"><file name="Coupon.php" hash="b5f008680c754454bf11d4b56b1533c0"/><file name="Update.php" hash="6e6cd84881512aea20fb94b4ab08b37b"/></dir><file name="Cart.php" hash="98f9e206b88402a34f63cb9f5bed14b9"/><dir name="Catalog"><dir name="Category"><file name="Assignedproducts.php" hash="a0bd4a2ddefe157c944dfda14ea56d9b"/><file name="Tree.php" hash="222d4b24f1ca6a64c4cdff49c60492f8"/></dir><dir name="Search"><file name="Products.php" hash="dea30ae0d3de5430a21a6a9efe62b4cc"/><file name="Terms.php" hash="4322eb9633f94d89b1940ef0bffb959f"/></dir></dir><file name="Catalog.php" hash="6ee5d37530675fe373dbecffb7a62364"/><dir name="Checkout"><file name="Methods.php" hash="177b27a7917d67fd40b407e2189c703e"/><file name="Onepage.php" hash="9bcfa633bd721d739dd44b37367b1cab"/><file name="Redirect.php" hash="77f4f72415a20eef5b4714150aa4b5dd"/><file name="Submit.php" hash="c0d271e9634ea049549fca6fb5dccc4c"/></dir><file name="Checkout.php" hash="84a3f0f03830c8c920e5b011cbfb534b"/><dir name="Cms"><file name="Page.php" hash="0a78b2624bd4e69a6d8c7ee566ffd164"/></dir><file name="Cms.php" hash="e29088c9e5da473b0a430c66bc047f01"/><dir name="Customer"><file name="Address.php" hash="3ecccb0378aedb6ccc979b4a4fcce6d3"/><file name="Edit.php" hash="5ec3ebf05838baae0c1f6aaee10cfa5e"/><file name="Group.php" hash="f406c05b4cba55f7963ada7137228b5b"/><file name="List.php" hash="15d7cc18a6b22cadd911950dfe0673dc"/><file name="Login.php" hash="53905536f879fe296d33efcd4878d2b3"/><dir name="Order"><file name="List.php" hash="333c12255ce5312ffb4208ef19d8622e"/></dir><file name="Order.php" hash="3b270527b5827fcf576d9996f255d68d"/><file name="Password.php" hash="42ce37853acf0ed09224186b16ababa7"/><file name="Register.php" hash="a6d7f0dc7d669054e6f0adf21745d9e5"/></dir><file name="Customer.php" hash="a9e6efe88ce6762a187277d50ae7f35f"/><file name="Mage.php" hash="4b57140bf2ba74788d032d6d48ee90b6"/><dir name="Product"><file name="Crosssell.php" hash="1622bd39c5c272da70e11335ea2b787f"/><file name="List.php" hash="ebed176f5e705898da5d39d1e8af0136"/><file name="Purchased.php" hash="9f672085eee3b3b0dbc4ad73d30f73df"/><file name="Related.php" hash="c6fc3f0f9e9ec35001a92b6dc3e624e7"/><file name="Review.php" hash="3f563b8b87db83ef6ed31456d39b6329"/><file name="Search.php" hash="ffd01073e11b846aeb615be416436fd8"/><file name="Upsell.php" hash="3acb5b81c55e62e07c41eeec1a402001"/><file name="Url.php" hash="ef302c7c1529e9e255cf89ec02b15c9b"/><file name="Viewed.php" hash="2deacf3f0896b5247e15a10c6dbbbfbf"/></dir><file name="Product.php" hash="7fde1fed86a12f4b1843fd5afb70bc2a"/><file name="Wishlist.php" hash="fea816fe81ce072bdfd5a632cfbb2995"/></dir><file name="Server.php" hash="011aa6a277750dc8c075dd5bbbde5d1a"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Payment.php" hash="14bcf1d7c077a4c17c014174921a9228"/><file name="Shipping.php" hash="fa680415ba872da467a898d8995817bc"/></dir><dir name="Source"><dir name="Address"><file name="Attributes.php" hash="b8c2fd4ae5b52ee76d5f18d07c30b1e7"/><file name="Validatetype.php" hash="5ee18901d63ed0de77db6662f2365d4a"/></dir><file name="Attributes.php" hash="67eccf925d994a08177713fec118b7da"/><dir name="Catalog"><file name="Direction.php" hash="d48937f5678bda45f3580479b1fc3049"/><file name="Sortby.php" hash="e1f29a5efdab91e1bd3dcaca0c283c76"/></dir><file name="Catalogimage.php" hash="30b059c1c67d36f5938d22311194aded"/><dir name="Customer"><file name="Attributes.php" hash="f27a2cb3f53b5396ac9bdcbbab15d665"/></dir><file name="Defaultimage.php" hash="7bc4b41fbcd481affbe9c6985fb4a527"/><file name="Payment.php" hash="8553971f076bd048eea8eb24236f7896"/><file name="Shipping.php" hash="b063fa60f03955d15c049cdae9c6870a"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Japi"><file name="LogController.php" hash="0945b5406c46aff7257b0d21b5ad8491"/><file name="OrderController.php" hash="e6b7c1f5a7156a06fa3f51c32e6bbba9"/><file name="ReportController.php" hash="6ab29db3e2e59ea8f968dd8091a9dec2"/><file name="TroubleshootingController.php" hash="94ddc8e2713029ae0b503d708070d40c"/></dir></dir><file name="CheckoutController.php" hash="f7d4dc9a75c1c9284604c397f415028c"/><dir name="Customer"><file name="AccountController.php" hash="f05aeb623b755053560049bb36239055"/></dir><file name="CustomerController.php" hash="6dfdcd19d714764ab07614cdb6dc2e3d"/><file name="ImageController.php" hash="dd0c5b857adae6d4f3b2e9c589724ec0"/><dir name="Rest"><file name="CartController.php" hash="c03ad5e80be7f6f672a68a9e8be80d79"/><file name="CatalogController.php" hash="be9eb353c01e5d8561282806605470d1"/><file name="CheckoutController.php" hash="c201d0870f9e4b3ecf9997e73120f65a"/><file name="CmsController.php" hash="1f8f491a5fa05060a0bfe94f3cfece75"/><file name="CustomerController.php" hash="ab8d79da68a93695438c95fa70608679"/><file name="MageController.php" hash="65720693f19a9ac5eca461dbb8713893"/><file name="ProductController.php" hash="1cddc1ce0a0b8f8a3b458b910b854ad3"/><file name="WishlistController.php" hash="6e821c803a743544762beacdd6628afc"/></dir><file name="TestController.php" hash="5cf6d0077eec7673a8064716f4373523"/></dir><dir name="data"><dir name="japi_setup"><file name="data-install-2.0.0.php" hash="bf26567e62312a3a09662be6a51d9288"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="e4ee0cadbc0795af67e37267e4379901"/><file name="config.xml" hash="de6f044078a0a202f237b0f4154509fd"/><file name="system.xml" hash="3ddd9039d11ebe8331a6bb940f15c7ba"/></dir><dir name="sql"><dir name="japi_setup"><file name="install-1.0.0.php" hash="f84214fc43f665c79b92dc7a092b364f"/><file name="upgrade-2.0.1.2-2.0.2.php" hash="d54fe62ffff2834a8330daeb47bc2722"/><file name="upgrade-2.1.6-2.2.0.php" hash="1b66107f157fad22a8cf2682c1ba3d52"/><file name="upgrade-2.2.0-2.2.1.php" hash="55fc2d392f0fbe56af2aede01f1d5d6b"/><file name="upgrade-2.8.2-2.9.0.php" hash="f158f1a636b6e98d0d2a26526ffd8c69"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Jmango360_Japi.xml" hash="8029f499a0cb634a21ffe2fdb5c31712"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="jmango360_japi.xml" hash="a808c587efe1e29e0fce5d4e327c0dca"/></dir><dir name="template"><dir name="japi"><dir name="report"><file name="chart.phtml" hash="b4790e21b21fa6bf8ffd9e9c08526636"/><dir name="grid"><file name="container.phtml" hash="284b949ac932c4fb29506b0af9153fe9"/></dir></dir><dir name="widget"><dir name="form"><dir name="renderer"><dir name="element"><file name="chart.phtml" hash="8531200ea3dd209eef9dc829c653f1a0"/></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="36a5d26324047e58c297327b2f678f8b"/></dir><dir name="template"><dir name="japi"><dir name="TIG"><dir name="PostNL"><dir name="address_validation"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="45db02c3c310266586d8c8645b75b1f1"/><file name="shipping.phtml" hash="6a8dceaff3e204bb5ea73390685f2ab1"/></dir></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="e67297b06331aa19c7542fc6054a506e"/><file name="postcode_check.phtml" hash="87e4ce3591eb1cbdb76c1ceacaca6232"/></dir></dir></dir><dir name="delivery_options"><dir name="onepage"><file name="available.phtml" hash="04ab6351509ce1697dd433231958fe1c"/></dir></dir></dir></dir><dir name="checkout"><dir name="onepage"><file name="address.phtml" hash="c63505c5a59a9c7b77ac113ea81c13aa"/><file name="agreements.phtml" hash="daa5fc3cd4cc95f46447c417d1c98d4e"/><file name="billing.phtml" hash="5a718dc9ce43ba4333786cee9f89457a"/><file name="coupon.phtml" hash="194a4d7dec303dc8c86ac174deb3f6ca"/><file name="js.phtml" hash="82cf4af3e0a2d02250b84084fcc16dc0"/><dir name="payment"><file name="info.phtml" hash="5652693e8debe3ab20e444ae8993ca86"/><file name="methods.phtml" hash="1264ce4ed4738a0fbaaf54ba1ffae22d"/></dir><file name="payment.phtml" hash="1f1ccdb0fb5f42d63b1de496b5f23629"/><dir name="review"><file name="button.phtml" hash="2b4d0b89098374100cde80d0e45dc3b1"/><file name="info.phtml" hash="0dabd96d05df35a2ee955ce97f1bd0b5"/><file name="item.phtml" hash="59f6015bc69052964b77906d854dbcb5"/><file name="totals.phtml" hash="ca947cb3b69fc74bc1616c288135fab7"/></dir><file name="review.phtml" hash="318ca1bcbd683dcf6d1a3edfbee751f6"/><file name="shipping.phtml" hash="adb8e9aa2c6f05679db09f6e1a4429f7"/><dir name="shipping_method"><file name="additional.phtml" hash="2ccd4ad249a519175c62d6105fa0cedc"/><file name="available.phtml" hash="0a71445c8f2df862a678ff63a2c670e1"/></dir><file name="shipping_method.phtml" hash="91f853e8aa31dc94cb3b4b93bcc7748d"/><file name="style.phtml" hash="f60615a68ba38181fb34c8aa5e66794d"/></dir><file name="onepage.phtml" hash="2a45833cbc43a54c73109d4241b0e8d3"/></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="cd58cfd578d115b8f37d8020dd0088a8"/></dir><dir name="form"><file name="edit.phtml" hash="841a4133ab0cebce6ca27fd6b0e9de98"/><file name="register.phtml" hash="55fe4fcdb8dc100b1f528d8ad9d106aa"/></dir></dir><file name="form.phtml" hash="fb5e076a84171ae64fa5a8225bfcfb41"/><dir name="giftmessage"><file name="inline.phtml" hash="1c418df89c7c1f4f68825d3ca7c96bde"/></dir><dir name="page"><dir name="html"><file name="head.phtml" hash="74324c13a3950db4d2b437b64548a29b"/></dir><file name="rwd.phtml" hash="bbd5df06b3db265f138b5f0a42bd5299"/></dir><dir name="symfony"><dir name="postcode"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="e49afdd2c9b96b36b11352a5846ce8a3"/><file name="shipping.phtml" hash="1284bed024d69406e4e2f2247604668c"/></dir></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="4df2b78c1c71693c17cbad9c0e0654f2"/></dir></dir><file name="gomage-checkout.css" hash="40937cf757c4d8f4a8b1bc3f85cae458"/><dir name="icomoon"><dir name="fonts"><file name="icomoon.eot" hash="842065e274d718c38968a81a721d49f4"/><file name="icomoon.svg" hash="1c1ad2678d933f8d2fd712006fbe4e97"/><file name="icomoon.ttf" hash="8ffbfccd78de7c37eadeca837ee40344"/><file name="icomoon.woff" hash="32df67c3aed8769c316b3e7ff1bb637c"/></dir><file name="style.css" hash="1bc04f5f4d16a9ef143954066f60180f"/></dir><file name="send-cloud.css" hash="3f8ddf069c533924f5e720a5febc9f9e"/><file name="style.css" hash="346446008ae093a9c3af59fac23f233d"/><file name="style.less" hash="e9b03ec04dc36e693ebe3a785791a806"/></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="655cf313f040136c36f4dcb8c838c20a"/><dir name="varien"><file name="form.js" hash="212f1f00ac29da3dd5172ded185137dd"/></dir></dir><dir name="lib"><dir name="bootstrap"><dir name="css"><file name="bootstrap.min.css" hash="3e53c6843a02b42ed881307d0c17af7d"/></dir><dir name="fonts"><file name="glyphicons-halflings-regular.eot" hash="f4769f9bdb7466be65088239c12046d1"/><file name="glyphicons-halflings-regular.svg" hash="f721466883998665b87923b92dea655b"/><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="a056148b6e411d503b1173a7a7015423"/><file name="modal.js" hash="e0b4f56dd8cf393335146c0875c5d57c"/><file name="transition.js" hash="7b2ebef34d503883899753188c57c383"/></dir></dir><dir name="jquery"><file name="jquery-1.11.2.min.js" hash="9aecea3830b65ecad103ee84bd5fe294"/><file name="jquery-noconflict.js" hash="3ec1ec0c93eb4f571268d79d7bb02551"/></dir><dir name="ladda"><file name="ladda.min.css" hash="31b0d68aca8c063f2889c5ea6e089518"/><file name="ladda.min.js" hash="01c75906236ae05920e68197c095ce45"/></dir><dir name="scrollto"><file name="scrollTo.js" hash="067acc15856de3af6370b0b8184dff65"/></dir><dir name="spin"><file name="spin.min.js" hash="cc2192a06099083fb2f687d780807b85"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Jmango360_Japi.csv" hash="2c08f4ee9d3cfb2e260114dc4fae904d"/></dir><dir name="fr_FR"><file name="Jmango360_Japi.csv" hash="d4d2f66da68229aa271c307b8645cf5a"/></dir><dir name="it_IT"><file name="Jmango360_Japi.csv" hash="28f5e675e9ce85bf4b29072122e49d11"/></dir><dir name="pt_PT"><file name="Jmango360_Japi.csv" hash="6b0f1091ad1a871087152292fa57e62a"/></dir><dir name="pt_BR"><file name="Jmango360_Japi.csv" hash="6b0f1091ad1a871087152292fa57e62a"/></dir><dir name="ar_SA"><file name="Jmango360_Japi.csv" hash="c25c4155299f3602dc31325dc8cedeb1"/></dir><dir name="nl_NL"><file name="Jmango360_Japi.csv" hash="587bfae35ee02adc8ac24dd422ab6add"/></dir></target></contents>
37
  <compatible/>
38
  <dependencies><required><php><min>5.2.0</min><max>7.0.0</max></php></required></dependencies>
39
  </package>
skin/frontend/base/default/japi/css/TIG/Buckaroo3Extended/styles_opc.css ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Payment Guarantee Terms & Conditions */
2
+ #checkout-step-payment #payment_form_buckaroo3extended_paymentguarantee .tac-accept .input-checkbox { float:left; }
3
+ #checkout-step-payment #payment_form_buckaroo3extended_paymentguarantee .tac-accept label { margin:-2px 0 0 5px; }
4
+ #checkout-step-payment #payment_form_buckaroo3extended_paymentguarantee .tac-accept .input-checkbox.validation-failed { margin-bottom:18px; }
5
+ #checkout-step-payment #payment_form_buckaroo3extended_paymentguarantee .tac-accept #advice-required-entry-buckaroo3extended_paymentguarantee_BPE_terms_and_conditions { position:absolute; margin-top:17px; }
6
+
7
+ #checkout-step-payment #paymentguarantee_terms_and_conditions { display:none; }
8
+ #checkout-step-payment #paymentguarantee_terms_and_conditions { position:fixed; width:100%; height:100%; top:0; left:0; background:rgba(0, 0, 0, .35); z-index:100; }
9
+
10
+ #checkout-step-payment #paymentguarantee_terms_and_conditions .tac-content { position:fixed; background:#fff; width:310px; height:auto; left:50%; top:30px; margin-left:-155px; padding:8px 8px 12px; border: 1px solid #b6b6b6; z-index:200; }
11
+
12
+ #checkout-step-payment #paymentguarantee_terms_and_conditions .tac-close { float:right; }
13
+
14
+ #checkout-step-payment #paymentguarantee_terms_and_conditions a.button { text-decoration:none !important; cursor:pointer !important; background:none !important; }
15
+ #checkout-step-payment #paymentguarantee_terms_and_conditions a.button span { display:block; border:1px solid #de5400; background:#f18200; padding: 1em; font:bold 12px/19px Arial, Helvetica, sans-serif; text-align:center; white-space:nowrap; color:#fff; }
16
+ #checkout-step-payment #paymentguarantee_terms_and_conditions a.button span span { border:0; padding:0; }
skin/frontend/base/default/japi/css/gomage-checkout.css ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Icons
2
+ -------------------------------------------------- */
3
+ .glc-ico{
4
+ display: inline-block;
5
+ overflow: hidden;
6
+ background-image: url('../images/glc_sprite.png');
7
+ vertical-align: middle;
8
+ }
9
+
10
+ /* Calendar */
11
+ .ico-cal{
12
+ width: 15px;
13
+ height: 15px;
14
+ background-position: 0 -183px;
15
+ cursor: pointer;
16
+ }
17
+
18
+ /* Delete button */
19
+ .ico-del{
20
+ width: 16px;
21
+ height: 16px;
22
+ background-position: 0 -116px;
23
+ cursor: pointer;
24
+ }
25
+
26
+ /* Icons END
27
+ -------------------------------------------------- */
28
+
29
+ /* Delivery date
30
+ -------------------------------------------------- */
31
+ .delivery-date-delivery_date{
32
+ padding-right:7px;
33
+ }
34
+ .glc .delivery-date #delivery_date{
35
+ padding:0;
36
+ width: 65px;
37
+ border: 0;
38
+ background: none;
39
+ -webkit-box-shadow: none;
40
+ -moz-box-shadow : none;
41
+ box-shadow : none;
42
+ font-weight: 700;
43
+ line-height:14px;
44
+ cursor:default;
45
+ }
46
+ .glc .delivery-date img{
47
+ cursor:pointer;
48
+ }
49
+ .delivery-date-delivery_date label{
50
+ color:#5F5F5F;
51
+ font-weight:700;
52
+ vertical-align: middle;
53
+ font-family: Arial,Helvetica,sans-serif;
54
+ }
55
+ /* Delivery date END
56
+ -------------------------------------------------- */
57
+ /* Calendar
58
+ -------------------------------------------------- */
59
+ .lc-calendar{font-size:12px;font-family:Arial,Helvetica,sans-serif;cursor:default;}
60
+ .lc-calendar .lc-calendar-ctrl{position:relative;width:173px;height:39px;border:1px solid #435;background:#ccc;color:#0A263C;font-weight:700;}
61
+ .lc-calendar .lc-calendar-ctrl div.lc-calendar-but{position:absolute;top:2px;z-index:10;float:left;width:16px;height:16px;cursor:pointer;}
62
+ .lc-calendar .lc-calendar-ctrl div.lc-calendar-but div{margin-top:3px;margin-left:3px;background-image:url('../images/glc_sprite.png');background-repeat:no-repeat;}
63
+ .lc-calendar .lc-calendar-ctrl div.lc-calendar-y-prev{left:4px;}
64
+ .lc-calendar .lc-calendar-ctrl div.lc-calendar-y-prev div{width:8px;height:9px;background-position:-8px -248px;}
65
+ .lc-calendar .lc-calendar-ctrl div.lc-calendar-m-prev{left:24px;}
66
+ .lc-calendar .lc-calendar-ctrl .lc-calendar-m-prev div{width:8px;height:9px;background-position:0 -248px;}
67
+ .lc-calendar .lc-calendar-ctrl div.lc-calendar-m-next{left:100%;margin-left:-42px;}
68
+ .lc-calendar .lc-calendar-ctrl .lc-calendar-m-next div{margin-left:4px !important;width:8px;height:9px;background-position:-16px -248px;}
69
+ .lc-calendar .lc-calendar-ctrl div.lc-calendar-y-next{left:100%;margin-left:-22px;}
70
+ .lc-calendar .lc-calendar-ctrl .lc-calendar-y-next div{margin-left:4px !important;width:8px;height:9px;background-position:-24px -248px;}
71
+ .lc-calendar .lc-calendar-ctrl .lc-calendar-but-title{height:20px;}
72
+ .lc-calendar .lc-calendar-week-header table{width:100%;border-spacing:2px;border-collapse:separate;border-top:1px solid #000;background:#AAA;font-weight:700;font-size:10px;}
73
+ .lc-calendar .lc-calendar-pane table{width:100%;border:1px solid #000;border-spacing:2px;background:#aaa;}
74
+ .lc-calendar .lc-calendar-week-header td{padding:3px 5px;text-align:center;font-size:10px;line-height:12px;}
75
+ .lc-calendar .lc-calendar-pane td div{padding:2px 5px;background:#bbb;text-align:center;font-size:10px;line-height:12px;}
76
+ .lc-calendar .lc-calendar-pane td.lc-enabled-day div:hover{background:#fff;color:#000;}
77
+ .lc-calendar .lc-calendar-pane td.lc-enabled-day div.lc-selected-day:hover{background:#f33;color:#fff;}
78
+ .lc-calendar .lc-selected-day{background:#AAA;color:#fff !important;}
79
+ .lc-calendar .lc-calendar-pane td .lc-today{background:#666;color:#FFF;}
80
+ .lc-calendar .lc-calendar-pane td .lc-selected-day{background:#F66;color:#FFF;}
81
+ .lc-calendar-week-header td,.lc-calendar-week-header td.lc-weekend{padding:3px 5px;background:#333;color:#FFF;}
82
+ .lc-calendar .lc-calendar-week-header td div{padding:0;width:12px;}
83
+ .lc-calendar .lc-disabled-day,.lc-calendar .lc-out-of-month{color:#888;}
84
+ .ls-popup-container{position:absolute;z-index:100;width:175px;height:200px;}
85
+ /* Calendar END
86
+ -------------------------------------------------- */
skin/frontend/base/default/japi/css/send-cloud.css ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @media only screen and (max-width: 1023px)
2
+ {
3
+ /*.header_main .header_part .logo
4
+ {
5
+ margin-top: 174px;
6
+ }*/
7
+
8
+ .sendcloud-area .sendcloud-map .address-block {
9
+ width: 26% !important;
10
+ }
11
+ .sendcloud-area .sendcloud-map .map-block {
12
+ width: 71% !important;
13
+ }
14
+
15
+ .sendcloud-area .sendcloud-map .map-block .map-area #map
16
+ {
17
+ width: 100% !important;
18
+ }
19
+ }
20
+ @media only screen and (max-width: 414px)
21
+ {
22
+ /*.header_main .header_part .logo
23
+ {
24
+ margin-top: 133px;
25
+ }*/
26
+ .sendcloud-area .sendcloud-map .address-block {
27
+ height: 300px !important;
28
+ width: 100% !important;
29
+ }
30
+ .sendcloud-area .sendcloud-map .map-block {
31
+ width: 100% !important;
32
+ }
33
+ .sendcloud-area .sendcloud-map .map-block .map-area #map
34
+ {
35
+ width: 100% !important;
36
+ }
37
+ }
38
+ .sendcloudspp .ngdialog.ngdialog-theme-default .ngdialog-content {
39
+ background-color: #fff;
40
+ left: 0 !important;
41
+ position: absolute !important;
42
+ right: 0 !important;
43
+ top: 0 !important;
44
+ width: 63pc !important;
45
+ }
46
+ .sendcloudspp .ngdialog {
47
+ z-index: 999999 !important;
48
+ }
49
+
50
+ .sendcloud-area .sendcloud-map {
51
+ display: none;
52
+ background: #fff none repeat scroll 0 0;
53
+ left: 0;
54
+ position: absolute;
55
+ right: 0;
56
+ top: 0;
57
+ width: 100%;
58
+ z-index: 99999999;
59
+ padding: 20px;
60
+ }
61
+ .sendcloud-area .open-map {
62
+ float: left;
63
+ background: #F45E01;
64
+ padding: 10px;
65
+ margin-top: 8px;
66
+ color: #fff;
67
+ font-weight: bold;
68
+ }
69
+ .sendcloud-area .open-map:hover {
70
+ background: #000;
71
+ }
72
+ .sendcloud-overlay {
73
+ background: #000 none repeat scroll 0 0;
74
+ bottom: 0;
75
+ height: 100%;
76
+ left: 0;
77
+ opacity: 0.3;
78
+ position: fixed;
79
+ right: 0;
80
+ top: 0;
81
+ width: 100%;
82
+ z-index: 9999999;
83
+ }
84
+ .sendcloud-area .sendcloud-map .address-block {
85
+ float: left;
86
+ height: 700px;
87
+ overflow-y: auto;
88
+ width: 21%;
89
+ margin-right: 20px;
90
+ }
91
+ .sendcloud-area .sendcloud-map .address-block p {
92
+ border-bottom: 1px solid #c9c9c9;
93
+ font-size: 13px;
94
+ line-height: 17px;
95
+ margin-bottom: 11px;
96
+ padding-bottom: 11px;
97
+ text-align: left;
98
+ }
99
+ .sendcloud-area .sendcloud-map .address-block p a {
100
+ color: #6e6e6e;
101
+ font-weight: 600;
102
+ }
103
+ .sendcloud-area .sendcloud-map .map-block {
104
+ float: left;
105
+ width: 60%;
106
+ }
107
+ .sendcloud-area .sendcloud-map .map-block .postcode-search {
108
+ float: left;
109
+ width: 100%;
110
+ }
111
+ .sendcloud-area .sendcloud-map .map-block .postcode-search h3 {
112
+ display: inline-block;
113
+ font-weight: bold;
114
+ margin-right: 4px;
115
+ }
116
+ .sendcloud-area .sendcloud-map .map-block .postcode-search span {
117
+ display: inline-block;
118
+ font-size: 20px;
119
+ }
120
+ .sendcloud-area .sendcloud-map .map-block .postcode-search p {
121
+ display: block;
122
+ width: 100%;
123
+ }
124
+ .sendcloud-area .sendcloud-map .map-block .map-area {
125
+ float: left;
126
+ width: 100%;
127
+ margin-top: 15px;
128
+ }
129
+ .sendcloud-area .sendcloud-map .map-block .map-area h3 {
130
+ display: inline-block;
131
+ font-weight: bold;
132
+ margin-right: 3px;
133
+ }
134
+ .sendcloud-area .sendcloud-map .map-block .map-area span {
135
+ font-weight: normal;
136
+ font-size: 17px;
137
+ }
138
+ .sendcloud-area .sendcloud-map .map-block .postcode-search .sendcloud-postcode {
139
+ border: 1px solid #c9c9c9;
140
+ padding: 5px;
141
+ width: 34%;
142
+ }
143
+ .sendcloud-area .sendcloud-map .map-block .postcode-search .sendcloud-search {
144
+ background: #F45E01;
145
+ padding: 5px;
146
+ border: none;
147
+ font-weight: bold !important;
148
+ color: #fff !important;
149
+ }
150
+ .sendcloud-area .sendcloud-map .map-block .postcode-search .sendcloud-search:hover {
151
+ background: #000000;
152
+ }
153
+ .sendcloud-area .sendcloud-map .address-block p a:hover {
154
+ color: #0e9b48;
155
+ }
156
+ .sendcloud-map .sendcloud-close {
157
+ background: #dddddd none repeat scroll 0 0;
158
+ border: 1px solid #dddddd;
159
+ border-radius: 100%;
160
+ color: #fff;
161
+ cursor: pointer;
162
+ font-size: 26px;
163
+ position: absolute;
164
+ right: -19px;
165
+ text-align: center;
166
+ top: -22px;
167
+ width: 42px;
168
+ }
169
+ .sendcloud-map .sendcloud-close:hover
170
+ {
171
+ border: 1px solid #0e9b48;
172
+ color: #0e9b48;
173
+ }
174
+ .sendcloudactive
175
+ {
176
+ color: #0e9b48 !important;
177
+ }
178
+ .sendcloud-area .sendcloud-map .map-block .address-selection {
179
+ float: left;
180
+ margin-top: 17px;
181
+ width: 100%;
182
+ margin-bottom: 30px;
183
+ }
184
+ .sendcloud-area .sendcloud-map .map-block .address-selection .sendcloud-selected-address {
185
+ float: left;
186
+ font-weight: bold;
187
+ width: 30%;
188
+ }
189
+ .sendcloud-area .sendcloud-map .map-block .address-selection .choose-button .kies-send {
190
+ float: left;
191
+ background: #F45E01;
192
+ border: medium none;
193
+ color: #fff !important;
194
+ font-weight: bold !important;
195
+ padding: 10px;
196
+ width: 150px;
197
+ text-align: center;
198
+ }
199
+ .sendcloud-area .sendcloud-map .map-block .address-selection .choose-button .kies-send:hover {
200
+ background: #000;
201
+ }
202
+ .sendcloud-area .location_picker_name {
203
+ width: 100%;
204
+ border-style: none;
205
+ }
206
+ .sendcloud-area .open-map {
207
+ margin-bottom: 10px;
208
+ }
skin/frontend/base/default/japi/css/style.css CHANGED
@@ -1,725 +1,747 @@
1
- /**
2
- * Copyright 2015 JMango360
3
- */
4
- table {
5
- width: 100%;
6
- }
7
- ul,
8
- ol {
9
- margin: 0;
10
- padding: 0;
11
- }
12
- ul li,
13
- ol li {
14
- list-style: none;
15
- }
16
- h1,
17
- h2,
18
- h3,
19
- h4,
20
- h5,
21
- h6 {
22
- font-weight: normal;
23
- margin: 0;
24
- line-height: 1em;
25
- }
26
- a,
27
- a:focus,
28
- a:hover {
29
- text-decoration: none;
30
- }
31
- .cleafix:before,
32
- .cleafix:after {
33
- display: table;
34
- content: "";
35
- }
36
- .cleafix:after {
37
- clear: both;
38
- }
39
- .page-title {
40
- padding: 0 1em;
41
- }
42
- .page-title h1 {
43
- text-transform: uppercase;
44
- font-size: 20px;
45
- font-weight: bold;
46
- line-height: 20px;
47
- padding: 1em 0;
48
- }
49
- .step-title {
50
- border-bottom: 1px solid #d9d9d9;
51
- position: relative;
52
- white-space: nowrap;
53
- overflow: hidden;
54
- }
55
- .step-title .step-number-wrapper {
56
- display: table-cell;
57
- padding-right: 0.5em;
58
- }
59
- .step-title .step-number {
60
- width: 26px;
61
- height: 26px;
62
- color: #fff;
63
- background: #333;
64
- display: inline-block;
65
- line-height: 26px;
66
- text-align: center;
67
- }
68
- .step-title h2 {
69
- color: #333;
70
- font-size: 1.2em;
71
- display: inline-block;
72
- text-transform: uppercase;
73
- line-height: 40px;
74
- display: table-cell;
75
- }
76
- .step-title .section-control {
77
- position: absolute;
78
- top: 0;
79
- right: 0;
80
- background: #fff;
81
- display: none;
82
- color: #333;
83
- width: 40px;
84
- line-height: 40px;
85
- text-align: center;
86
- font-size: 16px;
87
- }
88
- .allow .section-control {
89
- display: block;
90
- }
91
- .opc {
92
- display: block;
93
- width: 100%;
94
- box-sizing: border-box;
95
- padding: 0 1em 1em 1em;
96
- }
97
- .opc .section {
98
- border-radius: 0;
99
- -webkit-box-shadow: none;
100
- box-shadow: none;
101
- padding: 0;
102
- margin: 0;
103
- }
104
- .opc .section:first-child .step-title {
105
- border-top: 1px solid #d9d9d9;
106
- }
107
- .opc .step > form,
108
- .opc .step > .order-review {
109
- padding: 1em 0 0 0;
110
- }
111
- .opc .step .buttons-set {
112
- margin-top: 1em;
113
- }
114
- .sp-methods {
115
- box-shadow: 0 0 0 1px #d9d9d9;
116
- margin-bottom: 0;
117
- }
118
- .sp-methods dt {
119
- display: table;
120
- width: 100%;
121
- padding: 1em;
122
- font-weight: normal;
123
- border-top: 1px solid #d9d9d9;
124
- border-bottom: 1px solid #d9d9d9;
125
- }
126
- .sp-methods dt:first-child,
127
- .sp-methods dt + dt {
128
- border-top: 0;
129
- }
130
- .sp-methods dd {
131
- background: #fafafa;
132
- }
133
- .sp-methods dd ul li {
134
- padding: 1em;
135
- width: 100%;
136
- display: table;
137
- }
138
- .sp-methods dd ul.form-list li {
139
- display: block;
140
- }
141
- .sp-methods label {
142
- font-weight: normal;
143
- color: #737373;
144
- display: table-cell;
145
- width: 100%;
146
- padding: 0 0 0 0.5em;
147
- }
148
- .sp-methods label .price {
149
- color: #4d4d4d;
150
- float: right;
151
- }
152
- .sp-methods input[type=checkbox],
153
- .sp-methods input[type=radio] {
154
- display: table-cell;
155
- padding: 0;
156
- margin: 0;
157
- }
158
- .sp-methods .section-control {
159
- display: inline-block;
160
- float: right;
161
- font-size: 16px;
162
- color: #333;
163
- }
164
- .ladda-button {
165
- width: 100%;
166
- }
167
- .jm-item:first-child td {
168
- padding-top: 0;
169
- }
170
- .jm-item td {
171
- padding-top: 1em;
172
- padding-left: 1em;
173
- vertical-align: top;
174
- }
175
- .jm-item td:first-child {
176
- padding-left: 0;
177
- }
178
- .jm-item .jm-item-img {
179
- width: 20%;
180
- }
181
- .jm-item .jm-item-img .jm-item-img-inner {
182
- width: 100%;
183
- position: relative;
184
- }
185
- .jm-item .jm-item-img .jm-item-qty {
186
- border-radius: 2em;
187
- font-size: 0.8em;
188
- padding: 0.15em 0.5em;
189
- min-width: 1.7em;
190
- position: absolute;
191
- right: -0.75em;
192
- top: -0.75em;
193
- color: #fff;
194
- background-color: rgba(153, 153, 153, 0.9);
195
- }
196
- .jm-item .jm-item-img img {
197
- width: 100%;
198
- border-radius: 8px;
199
- }
200
- .jm-item .jm-item-detail {
201
- padding-left: 1em;
202
- }
203
- .jm-item .jm-item-detail .jm-item-desc {
204
- font-size: 0.9em;
205
- color: #969696;
206
- }
207
- .jm-item .jm-item-detail .jm-item-desc .jm-item-desc-item {
208
- display: block;
209
- }
210
- .modal-agreement .modal-dialog {
211
- margin: 0;
212
- }
213
- .modal-agreement .modal-dialog .modal-content {
214
- border-radius: 0;
215
- border: 0;
216
- box-shadow: none;
217
- }
218
- .modal-agreement .modal-dialog .close {
219
- font-size: 2em;
220
- font-weight: normal;
221
- min-width: 1em;
222
- }
223
- #checkout-review-table tfoot {
224
- border-top: solid 1px #D4D2D2;
225
- }
226
- #checkout-review-table tfoot tr td {
227
- padding: 10px 15px;
228
- }
229
- @media (min-width: 768px) {
230
- .modal-dialog {
231
- width: 100%;
232
- }
233
- }
234
- .modal-backdrop {
235
- z-index: 0;
236
- }
237
- p.required,
238
- p.back-link {
239
- display: none;
240
- }
241
- .form-list input[type="text"],
242
- .form-list input[type="password"],
243
- .form-list input.input-text,
244
- .form-list textarea {
245
- width: 100%;
246
- padding: 0.4em 0.5em;
247
- border: 1px solid #dadada;
248
- }
249
- .form-list input[type="text"].validation-failed,
250
- .form-list input[type="password"].validation-failed,
251
- .form-list input.input-text.validation-failed,
252
- .form-list textarea.validation-failed {
253
- border-color: #df280a;
254
- }
255
- .form-list textarea {
256
- min-height: 100px;
257
- padding: 0 5px;
258
- }
259
- .form-list input[type="checkbox"],
260
- .form-list input[type="radio"] {
261
- width: auto;
262
- display: inline-block;
263
- margin: 0 5px 0 0;
264
- padding: 0;
265
- vertical-align: middle;
266
- height: auto;
267
- }
268
- .form-list .control {
269
- margin: 1em 0 0 0;
270
- }
271
- .form-list .control > .input-box {
272
- display: inline-block;
273
- }
274
- .form-list .control label {
275
- padding: 0;
276
- margin: 0;
277
- height: auto;
278
- vertical-align: middle;
279
- }
280
- .form-list select {
281
- width: 100%;
282
- padding: 0.4em 0.5em;
283
- border: 1px solid #dadada;
284
- }
285
- .form-list select[multiple] {
286
- min-height: 5em;
287
- }
288
- .form-list label {
289
- font-weight: normal;
290
- vertical-align: middle;
291
- padding: 0;
292
- }
293
- .form-list label.required em {
294
- color: #DF280A;
295
- float: right;
296
- }
297
- .form-list .fields .customer-name .field {
298
- width: 49%;
299
- float: left;
300
- }
301
- .form-list .fields .customer-name .field:last-child {
302
- float: right;
303
- }
304
- .form-list .fields .field,
305
- .form-list .wide .field {
306
- margin-bottom: 10px;
307
- }
308
- .form-list .wide .input-box {
309
- margin-bottom: 5px;
310
- }
311
- .form-list .validation-advice {
312
- color: #df280a;
313
- margin-top: 5px;
314
- line-height: 1;
315
- font-size: 0.9em;
316
- }
317
- .form-list .validation-advice:before {
318
- content: "\e900";
319
- font-family: 'icomoon';
320
- font-style: normal;
321
- font-weight: normal;
322
- line-height: 1;
323
- padding-right: 5px;
324
- }
325
- .form-list .input-box:before,
326
- .form-list .input-box:after {
327
- display: table;
328
- content: "";
329
- }
330
- .form-list .input-box:after {
331
- clear: both;
332
- }
333
- .form-list .input-box .v-fix {
334
- width: 49%;
335
- float: left;
336
- }
337
- .form-list .input-box .v-fix:last-child {
338
- float: right;
339
- }
340
- .form-list .cvv-what-is-this {
341
- display: none;
342
- }
343
- .form-list label[for="ccsave_cc_cid"] + .input-box .v-fix {
344
- width: 100%;
345
- }
346
- .form-list + .fieldset {
347
- margin-top: 1em;
348
- }
349
- .form-list + .fieldset h2 {
350
- font-size: 1.5em;
351
- }
352
- .form-list + .fieldset > div {
353
- width: 100%;
354
- }
355
- #discount-coupon-form {
356
- padding-top: 1em;
357
- }
358
- #discount-coupon-form .sp-methods label {
359
- display: block;
360
- padding: 0;
361
- }
362
- span.price {
363
- white-space: nowrap;
364
- }
365
- #onepage-checkout-shipping-method-additional-load {
366
- margin-top: 1em;
367
- }
368
- .gift-messages h3 {
369
- font-size: 1.2em;
370
- line-height: 1.2em;
371
- }
372
- .gift-messages-form .inner-box > h4 {
373
- display: none;
374
- }
375
- .gift-messages-form .product-img-box .number {
376
- font-style: italic;
377
- }
378
- .gift-messages-form .product-name {
379
- font-weight: bold;
380
- padding: 5px 0 8px 0;
381
- }
382
- .gift-messages-form .inner-box p,
383
- .gift-messages p.control {
384
- margin: 5px 0;
385
- }
386
- .gift-messages-form .inner-box p > *,
387
- .gift-messages p.control > * {
388
- padding: 0;
389
- margin: 0;
390
- vertical-align: middle;
391
- }
392
- .gift-messages-form .inner-box p input[type="checkbox"],
393
- .gift-messages p.control input[type="checkbox"] {
394
- display: inline-block;
395
- margin: 0 5px 0 0;
396
- }
397
- .gift-messages-form .inner-box p label,
398
- .gift-messages p.control label {
399
- font-weight: normal;
400
- }
401
- .customer-dob .dob-month,
402
- .customer-dob .dob-day,
403
- .customer-dob .dob-year {
404
- width: 33%;
405
- padding-right: 1%;
406
- float: left;
407
- }
408
- .customer-dob .dob-month .validation-advice,
409
- .customer-dob .dob-day .validation-advice,
410
- .customer-dob .dob-year .validation-advice {
411
- display: none;
412
- }
413
- .messages .error-msg {
414
- color: #a94442;
415
- background-color: #f2dede;
416
- border-color: #ebccd1;
417
- padding: 1em;
418
- word-wrap: break-word;
419
- }
420
- .messages .success-msg {
421
- color: #3c763d;
422
- background-color: #dff0d8;
423
- border-color: #d6e9c6;
424
- padding: 1em;
425
- word-wrap: break-word;
426
- }
427
- .messages + .opc .section .step-title {
428
- border-top: 0;
429
- }
430
- #checkout-shipping-method-load {
431
- min-height: 1em;
432
- }
433
- .jm-spinner {
434
- margin: 1em 0;
435
- }
436
- .account-create .page-title h1,
437
- .account-address .page-title h1,
438
- .account-edit .page-title h1 {
439
- display: none;
440
- }
441
- .account-create .success-msg,
442
- .account-address .success-msg,
443
- .account-edit .success-msg {
444
- display: none;
445
- }
446
- .account-create form,
447
- .account-address form,
448
- .account-edit form {
449
- padding: 0 1em;
450
- }
451
- .account-create h2.legend,
452
- .account-address h2.legend,
453
- .account-edit h2.legend {
454
- color: #333;
455
- font-size: 1.2em;
456
- text-transform: uppercase;
457
- line-height: 40px;
458
- }
459
- .account-create .buttons-set,
460
- .account-address .buttons-set,
461
- .account-edit .buttons-set {
462
- padding: 1em 0;
463
- }
464
- .account-create .success-msg {
465
- display: block;
466
- }
467
- .account-address .success-msg {
468
- display: block;
469
- }
470
- #checkout-step-billing input[type="text"],
471
- #checkout-step-shipping input[type="text"],
472
- #checkout-step-billing input[type="password"] select,
473
- #checkout-step-shipping input[type="password"] select,
474
- #checkout-step-billing textarea,
475
- #checkout-step-shipping textarea {
476
- background: #fafafa;
477
- }
478
- /******** PostcodeNl_Api ********/
479
- #billing\:postcode_input\:wrapper .field,
480
- #shipping\:postcode_input\:wrapper .field {
481
- width: 49%;
482
- display: inline-block;
483
- }
484
- #billing\:postcode_input\:wrapper .field:last-child,
485
- #shipping\:postcode_input\:wrapper .field:last-child {
486
- float: right;
487
- }
488
- #billing\:postcode_input\:wrapper input.pcnl-input-text-half,
489
- #shipping\:postcode_input\:wrapper input.pcnl-input-text-half {
490
- width: 100%;
491
- }
492
- #billing\:postcode_input\:wrapper:before,
493
- #shipping\:postcode_input\:wrapper:before,
494
- #billing\:postcode_input\:wrapper:after,
495
- #shipping\:postcode_input\:wrapper:after {
496
- display: table;
497
- content: "";
498
- }
499
- #billing\:postcode_input\:wrapper:after,
500
- #shipping\:postcode_input\:wrapper:after {
501
- clear: both;
502
- }
503
- /******** TIG_PostNL ********/
504
- #opc_postnl_ce {
505
- float: left;
506
- margin-top: 1em;
507
- width: 100%;
508
- }
509
- #opc_postnl_ce .field {
510
- width: 100% !important;
511
- }
512
- #opc_postnl_ce .field .input-box {
513
- width: 100%;
514
- }
515
- #opc_postnl_ce .field .input-box input,
516
- #opc_postnl_ce .field .input-box select,
517
- #opc_postnl_ce .field .input-box textarea {
518
- width: 100%;
519
- }
520
- #opc_postnl_ce .postnl.validation-advice {
521
- width: 100%;
522
- }
523
- #opc_postnl_ce .postnl-loading {
524
- width: 100%;
525
- text-align: center;
526
- margin: 0.5em 0;
527
- }
528
- #s_method_postnl_tablerate,
529
- #s_method_postnl_tablerate + label {
530
- display: inline;
531
- }
532
- .postnl-container {
533
- display: block;
534
- background: transparent;
535
- border-bottom: 0;
536
- padding: 0;
537
- margin: 0;
538
- }
539
- .postnl-container #postnl_delivery_options {
540
- padding: 1em 0;
541
- width: 100%;
542
- }
543
- .postnl-container .responsive-switch-wrapper {
544
- margin-top: 0;
545
- }
546
- .postnl-container .responsive-switch-wrapper ul > li {
547
- width: 49%;
548
- padding: 0 0.5em;
549
- }
550
- .postnl-container .responsive-switch-wrapper a {
551
- border-radius: 0 !important;
552
- }
553
- .postnl-container .option-list .responsive-tooltip {
554
- padding: 0;
555
- }
556
- .postnl-container .option-list .location {
557
- margin: 0;
558
- }
559
- .postnl-container .option-list .add-location {
560
- height: auto;
561
- border-top: 0;
562
- }
563
- .postnl-container .option-list.extras .content {
564
- display: table;
565
- }
566
- .postnl-container .option-list.extras .content > input {
567
- display: table-cell;
568
- vertical-align: middle;
569
- }
570
- .postnl-container .option-list.extras .content input + label {
571
- display: table-cell;
572
- }
573
- .postnl-container .col2-set .col-1,
574
- .postnl-container .col2-set .col-2 {
575
- max-width: 0;
576
- }
577
- .postnl-container .location-filters li {
578
- height: auto;
579
- padding: 0.5em 0;
580
- }
581
- .postnl-container .location-filters li strong {
582
- font-size: 1.5em;
583
- }
584
- .postnl-container .location-filters .label {
585
- color: #333;
586
- text-align: left;
587
- }
588
- .postnl-container .location-details {
589
- padding: 0;
590
- }
591
- .postnl-container .location-details .more-info {
592
- margin: 0 1em 0 1em;
593
- padding: 1em 0;
594
- }
595
- .postnl-container .location-details .content {
596
- padding: 1em;
597
- }
598
- .postnl-container .location-details .content .location-info {
599
- width: 100%;
600
- }
601
- .postnl-container .location-details .content .location-info .radio {
602
- margin: 0;
603
- }
604
- .postnl-container .location-details .content .location-info .address {
605
- width: 100%;
606
- }
607
- .postnl-container .location-details .content .location-info .distance {
608
- right: 1em;
609
- top: 0;
610
- }
611
- /******** Afterpay_Afterpay ********/
612
- #payment-errors + .form-list .input-box input[type="radio"] {
613
- margin: 0;
614
- }
615
- #payment-errors + .form-list .input-box label {
616
- display: inline-block;
617
- width: auto;
618
- margin: 0;
619
- padding-right: 1em;
620
- }
621
- #payment-errors + .form-list ul > li {
622
- display: block;
623
- }
624
- #payment-errors + .form-list ul > li > label {
625
- float: none !important;
626
- }
627
- #payment-errors + .form-list ul > li > .field {
628
- margin-bottom: 1em;
629
- }
630
- #payment-errors + .form-list ul > li > .field:last-child {
631
- margin-bottom: 0;
632
- }
633
- /******** Afterpay_Afterpay ********/
634
- #dd_method_msp_klarna .form-list li br {
635
- display: none;
636
- }
637
- #dd_method_msp_klarna .form-list li label {
638
- margin-top: 1em;
639
- display: block;
640
- }
641
- #dd_method_msp_klarna .form-list li label:first-child {
642
- margin-top: 0;
643
- }
644
- #dd_method_msp_klarna .form-list li input {
645
- width: 100%;
646
- }
647
- #dd_method_msp_klarna .form-list li input[type="radio"],
648
- #dd_method_msp_klarna .form-list li input[type="checkbox"] {
649
- width: auto;
650
- }
651
- /******** Afterpay_Afterpay ********/
652
- .sp-methods dd .klarna_readme {
653
- padding: 0 1em;
654
- }
655
- .sp-methods dd .payment_plan_wrapper {
656
- margin: 0;
657
- }
658
- .sp-methods dd .payment_plan_wrapper .payment_plan li {
659
- padding: 1em 0;
660
- }
661
- .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper {
662
- padding: 0;
663
- }
664
- .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl {
665
- float: left;
666
- margin: 0;
667
- }
668
- .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl dt,
669
- .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl dd {
670
- border: 0;
671
- padding: 0.5em;
672
- }
673
- .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl dt {
674
- width: 70%;
675
- }
676
- .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl dt:last-child {
677
- width: 100%;
678
- }
679
- .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl dd {
680
- width: 29%;
681
- }
682
- .sp-methods dd ul.klarna-input-box {
683
- margin-top: 0;
684
- }
685
- .sp-methods dd ul.klarna-input-box > li {
686
- padding: 0;
687
- margin-bottom: 1em;
688
- }
689
- .sp-methods dd ul.klarna-input-box > li:last-child {
690
- margin-bottom: 0;
691
- }
692
- .sp-methods dd ul.klarna-input-box > li > br {
693
- display: none;
694
- }
695
- .sp-methods dd ul.klarna-input-box > li > input[type="text"] {
696
- width: 100% !important;
697
- }
698
- .sp-methods dd ul.klarna-input-box > li > button.form-button {
699
- width: 100% !important;
700
- margin: 0.5em 0 0 !important;
701
- }
702
- .sp-methods dd ul.klarna-input-box > li .update-address-indicator {
703
- text-align: center;
704
- display: block;
705
- }
706
- .sp-methods dd ul.klarna-input-box > li .klarna_msg_txt li {
707
- padding: 0;
708
- }
709
- .sp-methods dd ul.klarna-input-box .klarna_dob input[type="text"] {
710
- width: 31% !important;
711
- }
712
- .sp-methods dd ul.klarna-input-box .gender-input-box input,
713
- .sp-methods dd ul.klarna-input-box .gender-input-box label {
714
- display: inline;
715
- }
716
- .sp-methods dd ul.klarna-input-box .klarna_notification {
717
- background: #fcf8e3;
718
- border: 1px solid #faebcc;
719
- padding: 0.5em !important;
720
- color: #8a6d3b;
721
- margin: 0;
722
- }
723
- .sp-methods dd ul.klarna-input-box .klarna_notification:before {
724
- background: none;
725
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Copyright 2015 JMango360
3
+ */
4
+ table {
5
+ width: 100%;
6
+ }
7
+ ul,
8
+ ol {
9
+ margin: 0;
10
+ padding: 0;
11
+ }
12
+ ul li,
13
+ ol li {
14
+ list-style: none;
15
+ }
16
+ h1,
17
+ h2,
18
+ h3,
19
+ h4,
20
+ h5,
21
+ h6 {
22
+ font-weight: normal;
23
+ margin: 0;
24
+ line-height: 1em;
25
+ }
26
+ a,
27
+ a:focus,
28
+ a:hover {
29
+ text-decoration: none;
30
+ }
31
+ .cleafix:before,
32
+ .cleafix:after {
33
+ display: table;
34
+ content: "";
35
+ }
36
+ .cleafix:after {
37
+ clear: both;
38
+ }
39
+ .page-title {
40
+ padding: 0 1em;
41
+ }
42
+ .page-title h1 {
43
+ text-transform: uppercase;
44
+ font-size: 20px;
45
+ font-weight: bold;
46
+ line-height: 20px;
47
+ padding: 1em 0;
48
+ }
49
+ .step-title {
50
+ border-bottom: 1px solid #d9d9d9;
51
+ position: relative;
52
+ white-space: nowrap;
53
+ overflow: hidden;
54
+ }
55
+ .step-title .step-number-wrapper {
56
+ display: table-cell;
57
+ padding-right: 0.5em;
58
+ }
59
+ .step-title .step-number {
60
+ width: 26px;
61
+ height: 26px;
62
+ color: #fff;
63
+ background: #333;
64
+ display: inline-block;
65
+ line-height: 26px;
66
+ text-align: center;
67
+ }
68
+ .step-title h2 {
69
+ color: #333;
70
+ font-size: 1.2em;
71
+ display: inline-block;
72
+ text-transform: uppercase;
73
+ line-height: 40px;
74
+ display: table-cell;
75
+ }
76
+ .step-title .section-control {
77
+ position: absolute;
78
+ top: 0;
79
+ right: 0;
80
+ background: #fff;
81
+ display: none;
82
+ color: #333;
83
+ width: 40px;
84
+ line-height: 40px;
85
+ text-align: center;
86
+ font-size: 16px;
87
+ }
88
+ .allow .section-control {
89
+ display: block;
90
+ }
91
+ .opc {
92
+ display: block;
93
+ width: 100%;
94
+ box-sizing: border-box;
95
+ padding: 0 1em 1em 1em;
96
+ }
97
+ .opc .section {
98
+ border-radius: 0;
99
+ -webkit-box-shadow: none;
100
+ box-shadow: none;
101
+ padding: 0;
102
+ margin: 0;
103
+ }
104
+ .opc .section:first-child .step-title {
105
+ border-top: 1px solid #d9d9d9;
106
+ }
107
+ .opc .step > form,
108
+ .opc .step > .order-review {
109
+ padding: 1em 0 0 0;
110
+ }
111
+ .opc .step .buttons-set {
112
+ margin-top: 1em;
113
+ }
114
+ .sp-methods {
115
+ box-shadow: 0 0 0 1px #d9d9d9;
116
+ margin-bottom: 0;
117
+ }
118
+ .sp-methods dt {
119
+ display: table;
120
+ width: 100%;
121
+ padding: 1em;
122
+ font-weight: normal;
123
+ border-top: 1px solid #d9d9d9;
124
+ border-bottom: 1px solid #d9d9d9;
125
+ }
126
+ .sp-methods dt:first-child,
127
+ .sp-methods dt + dt {
128
+ border-top: 0;
129
+ }
130
+ .sp-methods dd {
131
+ background: #fafafa;
132
+ }
133
+ .sp-methods dd ul li {
134
+ padding: 1em;
135
+ width: 100%;
136
+ display: table;
137
+ }
138
+ .sp-methods dd ul.form-list li {
139
+ display: block;
140
+ }
141
+ .sp-methods label {
142
+ font-weight: normal;
143
+ color: #737373;
144
+ display: table-cell;
145
+ width: 100%;
146
+ padding: 0 0 0 0.5em;
147
+ }
148
+ .sp-methods label .price {
149
+ color: #4d4d4d;
150
+ float: right;
151
+ }
152
+ .sp-methods input[type=checkbox],
153
+ .sp-methods input[type=radio] {
154
+ display: table-cell;
155
+ padding: 0;
156
+ margin: 0;
157
+ }
158
+ .sp-methods .section-control {
159
+ display: inline-block;
160
+ float: right;
161
+ font-size: 16px;
162
+ color: #333;
163
+ }
164
+ .sp-methods.row,
165
+ .sp-methods .row {
166
+ margin: 0;
167
+ }
168
+ #co-payment-form .columns {
169
+ padding: 1em 1em 0 1em;
170
+ display: table;
171
+ }
172
+ #co-payment-form .columns #radiogroup-container label {
173
+ display: block;
174
+ margin: 0.5em;
175
+ }
176
+ .tac-accept {
177
+ margin: 1em 0 0.5em 0;
178
+ }
179
+ .ladda-button {
180
+ width: 100%;
181
+ }
182
+ .jm-item:first-child td {
183
+ padding-top: 0;
184
+ }
185
+ .jm-item td {
186
+ padding-top: 1em;
187
+ padding-left: 1em;
188
+ vertical-align: top;
189
+ }
190
+ .jm-item td:first-child {
191
+ padding-left: 0;
192
+ }
193
+ .jm-item .jm-item-img {
194
+ width: 20%;
195
+ }
196
+ .jm-item .jm-item-img .jm-item-img-inner {
197
+ width: 100%;
198
+ position: relative;
199
+ }
200
+ .jm-item .jm-item-img .jm-item-qty {
201
+ border-radius: 2em;
202
+ font-size: 0.8em;
203
+ padding: 0.15em 0.5em;
204
+ min-width: 1.7em;
205
+ position: absolute;
206
+ right: -0.75em;
207
+ top: -0.75em;
208
+ color: #fff;
209
+ background-color: rgba(153, 153, 153, 0.9);
210
+ }
211
+ .jm-item .jm-item-img img {
212
+ width: 100%;
213
+ border-radius: 8px;
214
+ }
215
+ .jm-item .jm-item-detail {
216
+ padding-left: 1em;
217
+ }
218
+ .jm-item .jm-item-detail .jm-item-desc {
219
+ font-size: 0.9em;
220
+ color: #969696;
221
+ }
222
+ .jm-item .jm-item-detail .jm-item-desc .jm-item-desc-item {
223
+ display: block;
224
+ }
225
+ .modal-agreement .modal-dialog {
226
+ margin: 0;
227
+ }
228
+ .modal-agreement .modal-dialog .modal-content {
229
+ border-radius: 0;
230
+ border: 0;
231
+ box-shadow: none;
232
+ }
233
+ .modal-agreement .modal-dialog .close {
234
+ font-size: 2em;
235
+ font-weight: normal;
236
+ min-width: 1em;
237
+ }
238
+ #checkout-review-table tfoot {
239
+ border-top: solid 1px #D4D2D2;
240
+ }
241
+ #checkout-review-table tfoot tr td {
242
+ padding: 10px 15px;
243
+ }
244
+ @media (min-width: 768px) {
245
+ .modal-dialog {
246
+ width: 100%;
247
+ }
248
+ }
249
+ .modal-backdrop {
250
+ z-index: 0;
251
+ }
252
+ p.required,
253
+ p.back-link {
254
+ display: none;
255
+ }
256
+ .form-list input[type="text"],
257
+ .form-list input[type="password"],
258
+ .form-list input.input-text,
259
+ .form-list textarea {
260
+ width: 100%;
261
+ padding: 0.4em 0.5em;
262
+ border: 1px solid #dadada;
263
+ }
264
+ .form-list input[type="text"].validation-failed,
265
+ .form-list input[type="password"].validation-failed,
266
+ .form-list input.input-text.validation-failed,
267
+ .form-list textarea.validation-failed {
268
+ border-color: #df280a;
269
+ }
270
+ .form-list textarea {
271
+ min-height: 100px;
272
+ padding: 0 5px;
273
+ }
274
+ .form-list input[type="checkbox"],
275
+ .form-list input[type="radio"] {
276
+ width: auto;
277
+ display: inline-block;
278
+ margin: 0 5px 0 0;
279
+ padding: 0;
280
+ vertical-align: middle;
281
+ height: auto;
282
+ }
283
+ .form-list .control {
284
+ margin: 1em 0 0 0;
285
+ }
286
+ .form-list .control > .input-box {
287
+ display: inline-block;
288
+ }
289
+ .form-list .control label {
290
+ padding: 0;
291
+ margin: 0;
292
+ height: auto;
293
+ vertical-align: middle;
294
+ }
295
+ .form-list select {
296
+ width: 100%;
297
+ padding: 0.4em 0.5em;
298
+ border: 1px solid #dadada;
299
+ }
300
+ .form-list select[multiple] {
301
+ min-height: 5em;
302
+ }
303
+ .form-list label {
304
+ font-weight: normal;
305
+ vertical-align: middle;
306
+ padding: 0;
307
+ }
308
+ .form-list label.required em {
309
+ color: #DF280A;
310
+ float: right;
311
+ }
312
+ .form-list .fields .customer-name .field,
313
+ .form-list .fields.cols-2 .field {
314
+ width: 49%;
315
+ float: left;
316
+ }
317
+ .form-list .fields .customer-name .field:last-child,
318
+ .form-list .fields.cols-2 .field:last-child {
319
+ float: right;
320
+ }
321
+ .form-list .fields .field,
322
+ .form-list .wide .field {
323
+ margin-bottom: 10px;
324
+ }
325
+ .form-list .wide .input-box {
326
+ margin-bottom: 5px;
327
+ }
328
+ .form-list .validation-advice {
329
+ color: #df280a;
330
+ margin-top: 5px;
331
+ line-height: 1;
332
+ font-size: 0.9em;
333
+ }
334
+ .form-list .validation-advice:before {
335
+ content: "\e900";
336
+ font-family: 'icomoon';
337
+ font-style: normal;
338
+ font-weight: normal;
339
+ line-height: 1;
340
+ padding-right: 5px;
341
+ }
342
+ .form-list .input-box:before,
343
+ .form-list .input-box:after {
344
+ display: table;
345
+ content: "";
346
+ }
347
+ .form-list .input-box:after {
348
+ clear: both;
349
+ }
350
+ .form-list .input-box .v-fix {
351
+ width: 49%;
352
+ float: left;
353
+ }
354
+ .form-list .input-box .v-fix:last-child {
355
+ float: right;
356
+ }
357
+ .form-list .cvv-what-is-this {
358
+ display: none;
359
+ }
360
+ .form-list label[for="ccsave_cc_cid"] + .input-box .v-fix {
361
+ width: 100%;
362
+ }
363
+ .form-list + .fieldset {
364
+ margin-top: 1em;
365
+ }
366
+ .form-list + .fieldset h2 {
367
+ font-size: 1.5em;
368
+ }
369
+ .form-list + .fieldset > div {
370
+ width: 100%;
371
+ }
372
+ .form-list .fields .row {
373
+ margin: 0;
374
+ }
375
+ #discount-coupon-form {
376
+ padding-top: 1em;
377
+ }
378
+ #discount-coupon-form .sp-methods label {
379
+ display: block;
380
+ padding: 0;
381
+ }
382
+ span.price {
383
+ white-space: nowrap;
384
+ }
385
+ #onepage-checkout-shipping-method-additional-load {
386
+ margin-top: 1em;
387
+ }
388
+ .gift-messages h3 {
389
+ font-size: 1.2em;
390
+ line-height: 1.2em;
391
+ }
392
+ .gift-messages-form .inner-box > h4 {
393
+ display: none;
394
+ }
395
+ .gift-messages-form .product-img-box .number {
396
+ font-style: italic;
397
+ }
398
+ .gift-messages-form .product-name {
399
+ font-weight: bold;
400
+ padding: 5px 0 8px 0;
401
+ }
402
+ .gift-messages-form .inner-box p,
403
+ .gift-messages p.control {
404
+ margin: 5px 0;
405
+ }
406
+ .gift-messages-form .inner-box p > *,
407
+ .gift-messages p.control > * {
408
+ padding: 0;
409
+ margin: 0;
410
+ vertical-align: middle;
411
+ }
412
+ .gift-messages-form .inner-box p input[type="checkbox"],
413
+ .gift-messages p.control input[type="checkbox"] {
414
+ display: inline-block;
415
+ margin: 0 5px 0 0;
416
+ }
417
+ .gift-messages-form .inner-box p label,
418
+ .gift-messages p.control label {
419
+ font-weight: normal;
420
+ }
421
+ .customer-dob .dob-month,
422
+ .customer-dob .dob-day,
423
+ .customer-dob .dob-year {
424
+ width: 33%;
425
+ padding-right: 1%;
426
+ float: left;
427
+ }
428
+ .customer-dob .dob-month .validation-advice,
429
+ .customer-dob .dob-day .validation-advice,
430
+ .customer-dob .dob-year .validation-advice {
431
+ display: none;
432
+ }
433
+ .messages .error-msg {
434
+ color: #a94442;
435
+ background-color: #f2dede;
436
+ border-color: #ebccd1;
437
+ padding: 1em;
438
+ word-wrap: break-word;
439
+ }
440
+ .messages .success-msg {
441
+ color: #3c763d;
442
+ background-color: #dff0d8;
443
+ border-color: #d6e9c6;
444
+ padding: 1em;
445
+ word-wrap: break-word;
446
+ }
447
+ .messages + .opc .section .step-title {
448
+ border-top: 0;
449
+ }
450
+ #checkout-shipping-method-load {
451
+ min-height: 1em;
452
+ }
453
+ .jm-spinner {
454
+ margin: 1em 0;
455
+ }
456
+ .account-create .page-title h1,
457
+ .account-address .page-title h1,
458
+ .account-edit .page-title h1 {
459
+ display: none;
460
+ }
461
+ .account-create .success-msg,
462
+ .account-address .success-msg,
463
+ .account-edit .success-msg {
464
+ display: none;
465
+ }
466
+ .account-create form,
467
+ .account-address form,
468
+ .account-edit form {
469
+ padding: 0 1em;
470
+ }
471
+ .account-create h2.legend,
472
+ .account-address h2.legend,
473
+ .account-edit h2.legend {
474
+ color: #333;
475
+ font-size: 1.2em;
476
+ text-transform: uppercase;
477
+ line-height: 40px;
478
+ }
479
+ .account-create .buttons-set,
480
+ .account-address .buttons-set,
481
+ .account-edit .buttons-set {
482
+ padding: 1em 0;
483
+ }
484
+ .account-create .success-msg {
485
+ display: block;
486
+ }
487
+ .account-address .success-msg {
488
+ display: block;
489
+ }
490
+ #checkout-step-billing input[type="text"],
491
+ #checkout-step-shipping input[type="text"],
492
+ #checkout-step-billing input[type="password"] select,
493
+ #checkout-step-shipping input[type="password"] select,
494
+ #checkout-step-billing textarea,
495
+ #checkout-step-shipping textarea {
496
+ background: #fafafa;
497
+ }
498
+ /******** PostcodeNl_Api ********/
499
+ #billing\:postcode_input\:wrapper .field,
500
+ #shipping\:postcode_input\:wrapper .field {
501
+ width: 49%;
502
+ display: inline-block;
503
+ }
504
+ #billing\:postcode_input\:wrapper .field:last-child,
505
+ #shipping\:postcode_input\:wrapper .field:last-child {
506
+ float: right;
507
+ }
508
+ #billing\:postcode_input\:wrapper input.pcnl-input-text-half,
509
+ #shipping\:postcode_input\:wrapper input.pcnl-input-text-half {
510
+ width: 100%;
511
+ }
512
+ #billing\:postcode_input\:wrapper:before,
513
+ #shipping\:postcode_input\:wrapper:before,
514
+ #billing\:postcode_input\:wrapper:after,
515
+ #shipping\:postcode_input\:wrapper:after {
516
+ display: table;
517
+ content: "";
518
+ }
519
+ #billing\:postcode_input\:wrapper:after,
520
+ #shipping\:postcode_input\:wrapper:after {
521
+ clear: both;
522
+ }
523
+ /******** TIG_PostNL ********/
524
+ #opc_postnl_ce {
525
+ float: left;
526
+ margin-top: 1em;
527
+ width: 100%;
528
+ }
529
+ #opc_postnl_ce .field {
530
+ width: 100% !important;
531
+ }
532
+ #opc_postnl_ce .field .input-box {
533
+ width: 100%;
534
+ }
535
+ #opc_postnl_ce .field .input-box input,
536
+ #opc_postnl_ce .field .input-box select,
537
+ #opc_postnl_ce .field .input-box textarea {
538
+ width: 100%;
539
+ }
540
+ #opc_postnl_ce .postnl.validation-advice {
541
+ width: 100%;
542
+ }
543
+ #opc_postnl_ce .postnl-loading {
544
+ width: 100%;
545
+ text-align: center;
546
+ margin: 0.5em 0;
547
+ }
548
+ #s_method_postnl_tablerate,
549
+ #s_method_postnl_tablerate + label,
550
+ #s_method_postnl_flatrate,
551
+ #s_method_postnl_flatrate + label {
552
+ display: inline;
553
+ }
554
+ .postnl-container {
555
+ display: block;
556
+ background: transparent;
557
+ border-bottom: 0;
558
+ padding: 0;
559
+ margin: 0;
560
+ }
561
+ .postnl-container #postnl_delivery_options {
562
+ padding: 1em 0;
563
+ width: 100%;
564
+ }
565
+ .postnl-container .responsive-switch-wrapper {
566
+ margin-top: 0;
567
+ }
568
+ .postnl-container .responsive-switch-wrapper ul > li {
569
+ width: 49%;
570
+ padding: 0 0.5em;
571
+ }
572
+ .postnl-container .responsive-switch-wrapper a {
573
+ border-radius: 0 !important;
574
+ }
575
+ .postnl-container .option-list .responsive-tooltip {
576
+ padding: 0;
577
+ }
578
+ .postnl-container .option-list .location {
579
+ margin: 0;
580
+ }
581
+ .postnl-container .option-list .add-location {
582
+ height: auto;
583
+ border-top: 0;
584
+ }
585
+ .postnl-container .option-list.extras .content {
586
+ display: table;
587
+ }
588
+ .postnl-container .option-list.extras .content > input {
589
+ display: table-cell;
590
+ vertical-align: middle;
591
+ }
592
+ .postnl-container .option-list.extras .content input + label {
593
+ display: table-cell;
594
+ }
595
+ .postnl-container .col2-set .col-1,
596
+ .postnl-container .col2-set .col-2 {
597
+ max-width: 0;
598
+ }
599
+ .postnl-container .location-filters li {
600
+ height: auto;
601
+ padding: 0.5em 0;
602
+ }
603
+ .postnl-container .location-filters li strong {
604
+ font-size: 1.5em;
605
+ }
606
+ .postnl-container .location-filters .label {
607
+ color: #333;
608
+ text-align: left;
609
+ }
610
+ .postnl-container .location-details {
611
+ padding: 0;
612
+ }
613
+ .postnl-container .location-details .more-info {
614
+ margin: 0 1em 0 1em;
615
+ padding: 1em 0;
616
+ }
617
+ .postnl-container .location-details .content {
618
+ padding: 1em;
619
+ }
620
+ .postnl-container .location-details .content .location-info {
621
+ width: 100%;
622
+ }
623
+ .postnl-container .location-details .content .location-info .radio {
624
+ margin: 0;
625
+ }
626
+ .postnl-container .location-details .content .location-info .address {
627
+ width: 100%;
628
+ }
629
+ .postnl-container .location-details .content .location-info .distance {
630
+ right: 1em;
631
+ top: 0;
632
+ }
633
+ /******** Afterpay_Afterpay ********/
634
+ #payment-errors + .form-list .input-box input[type="radio"] {
635
+ margin: 0;
636
+ }
637
+ #payment-errors + .form-list .input-box label {
638
+ display: inline-block;
639
+ width: auto;
640
+ margin: 0;
641
+ padding-right: 1em;
642
+ }
643
+ #payment-errors + .form-list ul > li {
644
+ display: block;
645
+ }
646
+ #payment-errors + .form-list ul > li > label {
647
+ float: none !important;
648
+ }
649
+ #payment-errors + .form-list ul > li > .field {
650
+ margin-bottom: 1em;
651
+ }
652
+ #payment-errors + .form-list ul > li > .field:last-child {
653
+ margin-bottom: 0;
654
+ }
655
+ /******** Afterpay_Afterpay ********/
656
+ #dd_method_msp_klarna .form-list li br {
657
+ display: none;
658
+ }
659
+ #dd_method_msp_klarna .form-list li label {
660
+ margin-top: 1em;
661
+ display: block;
662
+ }
663
+ #dd_method_msp_klarna .form-list li label:first-child {
664
+ margin-top: 0;
665
+ }
666
+ #dd_method_msp_klarna .form-list li input {
667
+ width: 100%;
668
+ }
669
+ #dd_method_msp_klarna .form-list li input[type="radio"],
670
+ #dd_method_msp_klarna .form-list li input[type="checkbox"] {
671
+ width: auto;
672
+ }
673
+ /******** Afterpay_Afterpay ********/
674
+ .sp-methods dd .klarna_readme {
675
+ padding: 0 1em;
676
+ }
677
+ .sp-methods dd .payment_plan_wrapper {
678
+ margin: 0;
679
+ }
680
+ .sp-methods dd .payment_plan_wrapper .payment_plan li {
681
+ padding: 1em 0;
682
+ }
683
+ .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper {
684
+ padding: 0;
685
+ }
686
+ .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl {
687
+ float: left;
688
+ margin: 0;
689
+ }
690
+ .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl dt,
691
+ .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl dd {
692
+ border: 0;
693
+ padding: 0.5em;
694
+ }
695
+ .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl dt {
696
+ width: 70%;
697
+ }
698
+ .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl dt:last-child {
699
+ width: 100%;
700
+ }
701
+ .sp-methods dd .payment_plan_wrapper .payment_plan .payment_plan_info_wrapper dl dd {
702
+ width: 29%;
703
+ }
704
+ .sp-methods dd ul.klarna-input-box {
705
+ margin-top: 0;
706
+ }
707
+ .sp-methods dd ul.klarna-input-box > li {
708
+ padding: 0;
709
+ margin-bottom: 1em;
710
+ }
711
+ .sp-methods dd ul.klarna-input-box > li:last-child {
712
+ margin-bottom: 0;
713
+ }
714
+ .sp-methods dd ul.klarna-input-box > li > br {
715
+ display: none;
716
+ }
717
+ .sp-methods dd ul.klarna-input-box > li > input[type="text"] {
718
+ width: 100% !important;
719
+ }
720
+ .sp-methods dd ul.klarna-input-box > li > button.form-button {
721
+ width: 100% !important;
722
+ margin: 0.5em 0 0 !important;
723
+ }
724
+ .sp-methods dd ul.klarna-input-box > li .update-address-indicator {
725
+ text-align: center;
726
+ display: block;
727
+ }
728
+ .sp-methods dd ul.klarna-input-box > li .klarna_msg_txt li {
729
+ padding: 0;
730
+ }
731
+ .sp-methods dd ul.klarna-input-box .klarna_dob input[type="text"] {
732
+ width: 31% !important;
733
+ }
734
+ .sp-methods dd ul.klarna-input-box .gender-input-box input,
735
+ .sp-methods dd ul.klarna-input-box .gender-input-box label {
736
+ display: inline;
737
+ }
738
+ .sp-methods dd ul.klarna-input-box .klarna_notification {
739
+ background: #fcf8e3;
740
+ border: 1px solid #faebcc;
741
+ padding: 0.5em !important;
742
+ color: #8a6d3b;
743
+ margin: 0;
744
+ }
745
+ .sp-methods dd ul.klarna-input-box .klarna_notification:before {
746
+ background: none;
747
+ }
skin/frontend/base/default/japi/css/style.less CHANGED
@@ -184,6 +184,26 @@ a, a:focus, a:hover {
184
  font-size: 16px;
185
  color: #333;
186
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  }
188
 
189
  .ladda-button {
@@ -350,7 +370,7 @@ p.required, p.back-link {
350
  }
351
 
352
  .fields {
353
- .customer-name {
354
  .field {
355
  width: 49%;
356
  float: left;
@@ -429,6 +449,12 @@ p.required, p.back-link {
429
  width: 100%;
430
  }
431
  }
 
 
 
 
 
 
432
  }
433
 
434
  #discount-coupon-form {
@@ -622,7 +648,9 @@ span.price {
622
  }
623
 
624
  #s_method_postnl_tablerate,
625
- #s_method_postnl_tablerate + label {
 
 
626
  display: inline;
627
  }
628
 
184
  font-size: 16px;
185
  color: #333;
186
  }
187
+
188
+ &.row, .row {
189
+ margin: 0;
190
+ }
191
+ }
192
+
193
+ #co-payment-form {
194
+ .columns {
195
+ padding: 1em 1em 0 1em;
196
+ display: table;
197
+
198
+ #radiogroup-container label {
199
+ display: block;
200
+ margin: 0.5em;
201
+ }
202
+ }
203
+ }
204
+
205
+ .tac-accept {
206
+ margin: 1em 0 0.5em 0;
207
  }
208
 
209
  .ladda-button {
370
  }
371
 
372
  .fields {
373
+ .customer-name, &.cols-2 {
374
  .field {
375
  width: 49%;
376
  float: left;
449
  width: 100%;
450
  }
451
  }
452
+
453
+ .fields {
454
+ .row {
455
+ margin: 0;
456
+ }
457
+ }
458
  }
459
 
460
  #discount-coupon-form {
648
  }
649
 
650
  #s_method_postnl_tablerate,
651
+ #s_method_postnl_tablerate + label,
652
+ #s_method_postnl_flatrate,
653
+ #s_method_postnl_flatrate + label {
654
  display: inline;
655
  }
656
 
skin/frontend/base/default/japi/images/ajax-loader.gif ADDED
Binary file
skin/frontend/base/default/japi/images/glc_sprite.png ADDED
Binary file
skin/frontend/base/default/japi/js/checkout.js CHANGED
@@ -2,6 +2,55 @@
2
  * Copyright 2015 JMango360
3
  */
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  if (typeof Checkout !== "undefined") {
6
  var JMCheckout = Class.create(Checkout, {
7
  initialize: function (accordion, urls) {
@@ -10,6 +59,7 @@ if (typeof Checkout !== "undefined") {
10
  this.reviewUrl = urls.review;
11
  this.saveMethodUrl = urls.saveMethod;
12
  this.failureUrl = urls.failure;
 
13
  this.billingForm = false;
14
  this.shippingForm = false;
15
  this.syncBillingShipping = false;
@@ -26,13 +76,13 @@ if (typeof Checkout !== "undefined") {
26
  });
27
 
28
  this.accordion.on('shown.bs.collapse', '.step', function () {
29
- var parentEl = jQuery(this).parents('.section');
30
  var top = parentEl.offset().top;
31
 
32
  if (typeof scrollTo == 'function') {
33
  scrollTo(top);
34
  } else {
35
- jQuery('html, body').animate({
36
  scrollTop: top
37
  });
38
  }
@@ -154,6 +204,22 @@ if (typeof Checkout !== "undefined") {
154
  var btn = this.getLaddaButton($(id));
155
  btn && btn.start();
156
  setLocation(url);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  }
158
  });
159
  }
@@ -166,7 +232,7 @@ var JMAgreement = Class.create({
166
 
167
  initModals: function () {
168
  this.form.select('div.modal').each(function (modal) {
169
- jQuery(modal).modal({
170
  show: false
171
  });
172
  });
@@ -345,4 +411,8 @@ if (typeof Review !== 'undefined') {
345
  onFailure: checkout.ajaxFailure.bind(checkout)
346
  });
347
  };
 
 
 
 
348
  }
2
  * Copyright 2015 JMango360
3
  */
4
 
5
+ if (!window.toogleVisibilityOnObjects) {
6
+ var toogleVisibilityOnObjects = function (source, objects) {
7
+ if ($(source) && $(source).checked) {
8
+ objects.each(function (item) {
9
+ $(item).show();
10
+ $$('#' + item + ' .input-text').each(function (item) {
11
+ item.removeClassName('validation-passed');
12
+ });
13
+ });
14
+ } else {
15
+ objects.each(function (item) {
16
+ if ($(item)) {
17
+ $(item).hide();
18
+ $$('#' + item + ' .input-text').each(function (sitem) {
19
+ sitem.addClassName('validation-passed');
20
+ });
21
+ $$('#' + item + ' .giftmessage-area').each(function (sitem) {
22
+ sitem.value = '';
23
+ });
24
+ $$('#' + item + ' .checkbox').each(function (sitem) {
25
+ sitem.checked = false;
26
+ });
27
+ $$('#' + item + ' .select').each(function (sitem) {
28
+ sitem.value = '';
29
+ });
30
+ $$('#' + item + ' .price-box').each(function (sitem) {
31
+ sitem.addClassName('no-display');
32
+ });
33
+ }
34
+ });
35
+ }
36
+ }
37
+ }
38
+
39
+ if (!window.toogleVisibility) {
40
+ var toogleVisibility = function (objects, show) {
41
+ objects.each(function (item) {
42
+ if (show) {
43
+ $(item).show();
44
+ $(item).removeClassName('no-display');
45
+ }
46
+ else {
47
+ $(item).hide();
48
+ $(item).addClassName('no-display');
49
+ }
50
+ });
51
+ }
52
+ }
53
+
54
  if (typeof Checkout !== "undefined") {
55
  var JMCheckout = Class.create(Checkout, {
56
  initialize: function (accordion, urls) {
59
  this.reviewUrl = urls.review;
60
  this.saveMethodUrl = urls.saveMethod;
61
  this.failureUrl = urls.failure;
62
+ this.shippingMethodUrl = urls.shippingMethodUrl;
63
  this.billingForm = false;
64
  this.shippingForm = false;
65
  this.syncBillingShipping = false;
76
  });
77
 
78
  this.accordion.on('shown.bs.collapse', '.step', function () {
79
+ var parentEl = JMango(this).parents('.section');
80
  var top = parentEl.offset().top;
81
 
82
  if (typeof scrollTo == 'function') {
83
  scrollTo(top);
84
  } else {
85
+ JMango('html, body').animate({
86
  scrollTop: top
87
  });
88
  }
204
  var btn = this.getLaddaButton($(id));
205
  btn && btn.start();
206
  setLocation(url);
207
+ },
208
+
209
+ gotoShippingMethodSection: function () {
210
+ if (Ajax.activeRequestCount) {
211
+ return setTimeout(function () {
212
+ this.gotoShippingMethodSection();
213
+ }.bind(this), 100);
214
+ }
215
+
216
+ if (typeof billing == 'undefined') return;
217
+ var billingValidator = new Validation(billing.form);
218
+ if (!billingValidator.validate()) return;
219
+
220
+ if (typeof shippingMethod == 'undefined') return;
221
+ checkout.gotoSection('shipping_method');
222
+ shippingMethod.load(this.shippingMethodUrl);
223
  }
224
  });
225
  }
232
 
233
  initModals: function () {
234
  this.form.select('div.modal').each(function (modal) {
235
+ JMango(modal).modal({
236
  show: false
237
  });
238
  });
411
  onFailure: checkout.ajaxFailure.bind(checkout)
412
  });
413
  };
414
+
415
+ Review.prototype.resetLoadWaiting = function (transport) {
416
+ checkout.setLoadWaiting(false, this.isSuccess);
417
+ };
418
  }