Jmango360_Japi - Version 3.3.1

Version Notes

* Bug fixes

Download this release

Release Info

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


Code changes from version 3.3.0 to 3.3.1

app/code/community/Jmango360/Japi/Helper/Data.php CHANGED
@@ -1202,6 +1202,7 @@ class Jmango360_Japi_Helper_Data extends Mage_Core_Helper_Abstract
1202
  return (
1203
  Mage::helper('core')->isModuleEnabled('Comaxx_BvConversations')
1204
  && Mage::getStoreConfigFlag('bazaarvoice/general/enable_bv')
 
1205
  )
1206
  || (Mage::helper('core')->isModuleEnabled('Bazaarvoice_Connector'));
1207
  }
1202
  return (
1203
  Mage::helper('core')->isModuleEnabled('Comaxx_BvConversations')
1204
  && Mage::getStoreConfigFlag('bazaarvoice/general/enable_bv')
1205
+ && Mage::getStoreConfigFlag('bazaarvoice/rr/enable_rr')
1206
  )
1207
  || (Mage::helper('core')->isModuleEnabled('Bazaarvoice_Connector'));
1208
  }
app/code/community/Jmango360/Japi/Helper/Product.php CHANGED
@@ -693,9 +693,7 @@ class Jmango360_Japi_Helper_Product extends Mage_Core_Helper_Abstract
693
  'image' => $this->_getProductImage($product, $details)
694
  );
695
 
696
- /* @var $reviewHelper Jmango360_Japi_Helper_Product_Review */
697
- $reviewHelper = Mage::helper('japi/product_review');
698
- $result['review_enable'] = $reviewHelper->isReviewEnable();
699
  $this->_addProductReviewSummary($product, $result);
700
 
701
  if ($details) {
@@ -851,6 +849,19 @@ class Jmango360_Japi_Helper_Product extends Mage_Core_Helper_Abstract
851
  return $result;
852
  }
853
 
 
 
 
 
 
 
 
 
 
 
 
 
 
854
  /**
855
  * Prepares Product info for api response
856
  *
@@ -1434,20 +1445,22 @@ class Jmango360_Japi_Helper_Product extends Mage_Core_Helper_Abstract
1434
  /**
1435
  * MPLUGIN-1742: Fix duplicate review summary data
1436
  */
1437
- if (strpos(Mage::getBaseUrl(), 'ekonoom') !== false) {
 
 
1438
  Mage::getModel('review/review')->getEntitySummary($product, Mage::app()->getStore()->getId());
1439
  }
1440
 
1441
  /* @var $helper Jmango360_Japi_Helper_Product_Review */
1442
  $helper = Mage::helper('japi/product_review');
1443
- $reviewSummary = $helper->getProductReviewSummary($product);
1444
- if ($reviewSummary) {
1445
  $result['review'] = array(
1446
  'type' => 'overview',
1447
  'code' => 'overview',
1448
  'values' => array('1', '2', '3', '4', '5'),
1449
  'review_counter' => $helper->getProductReviewCount($product),
1450
- 'percent' => $reviewSummary
1451
  );
1452
  } else {
1453
  $result['review'] = null;
693
  'image' => $this->_getProductImage($product, $details)
694
  );
695
 
696
+ $result['review_enable'] = $this->_isReviewEnable();
 
 
697
  $this->_addProductReviewSummary($product, $result);
698
 
699
  if ($details) {
849
  return $result;
850
  }
851
 
852
+ protected function _isReviewEnable()
853
+ {
854
+ /** @var $japiHelper Jmango360_Japi_Helper_Data */
855
+ $japiHelper = Mage::helper('japi');
856
+ if ($japiHelper->isBazaarvoiceEnabled()) {
857
+ return true;
858
+ } else {
859
+ /* @var $reviewHelper Jmango360_Japi_Helper_Product_Review */
860
+ $reviewHelper = Mage::helper('japi/product_review');
861
+ return $reviewHelper->isReviewEnable();
862
+ }
863
+ }
864
+
865
  /**
866
  * Prepares Product info for api response
867
  *
1445
  /**
1446
  * MPLUGIN-1742: Fix duplicate review summary data
1447
  */
1448
+ if (!$product->getRatingSummary()
1449
+ || strpos(Mage::getBaseUrl(), 'ekonoom') !== false
1450
+ ) {
1451
  Mage::getModel('review/review')->getEntitySummary($product, Mage::app()->getStore()->getId());
1452
  }
1453
 
1454
  /* @var $helper Jmango360_Japi_Helper_Product_Review */
1455
  $helper = Mage::helper('japi/product_review');
1456
+ $reviewCount = $helper->getProductReviewCount($product);
1457
+ if ($reviewCount) {
1458
  $result['review'] = array(
1459
  'type' => 'overview',
1460
  'code' => 'overview',
1461
  'values' => array('1', '2', '3', '4', '5'),
1462
  'review_counter' => $helper->getProductReviewCount($product),
1463
+ 'percent' => $helper->getProductReviewSummary($product)
1464
  );
1465
  } else {
1466
  $result['review'] = null;
app/code/community/Jmango360/Japi/Helper/Review/Bazaarvoice.php CHANGED
@@ -10,10 +10,13 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
10
  {
11
  const URL_STAGING = 'https://stg.api.bazaarvoice.com/';
12
  const URL_PRODUCTION = 'https://api.bazaarvoice.com/';
 
13
  const DEFAULT_LIMIT = 99;
14
  const DEFAULT_SORT = 'SubmissionTime';
15
  const DEFAULT_DIR = 'desc';
 
16
  const CACHE_KEY_REVIEW_FORM = 'BV_REVIEW_FORM';
 
17
  protected $FORM_FIELDS = array(
18
  'rating' => 'Overall Rating',
19
  'title' => 'Review Title',
@@ -22,12 +25,10 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
22
  'useremail' => 'Email',
23
  'rating_' => null,
24
  'contextdatavalue_' => null,
25
- 'isrecommended' => 'Would you recommend Brabantia to a friend?',
26
  'agreedtotermsandconditions' => 'I agree to the terms & conditions'
27
  );
28
- protected $LOGGED_IN_EXCLUDE_FIELDS = array(
29
- 'useremail'
30
- );
31
 
32
  /**
33
  * Get product Id for Bazaarvoice
@@ -126,7 +127,7 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
126
  if (!empty($result['Errors'])) {
127
  foreach ($result['Errors'] as $error) {
128
  throw new Jmango360_Japi_Exception(
129
- sprintf('%s: %s', $error['Code'], $error['Message']),
130
  Jmango360_Japi_Model_Request::HTTP_INTERNAL_ERROR
131
  );
132
  }
@@ -144,9 +145,16 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
144
  'review_counter' => @$result['TotalResults']
145
  );
146
 
 
 
 
 
 
 
 
147
  if (is_array($result['Results'])) {
148
  foreach ($result['Results'] as $item) {
149
- if ($review = $this->_parseReview($item)) {
150
  $data['reviews'][] = $review;
151
  }
152
  }
@@ -164,30 +172,25 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
164
  */
165
  public function getForm($product = null)
166
  {
167
- $cache = Mage::app()->getCache();
168
-
169
- /* @var $session Mage_Customer_Model_Session */
170
- $session = Mage::getSingleton('customer/session');
171
- if ($session->isLoggedIn()) {
172
- $cacheKey = self::CACHE_KEY_REVIEW_FORM . '1';
173
- } else {
174
- $cacheKey = self::CACHE_KEY_REVIEW_FORM . '0';
175
  }
176
 
177
- if (!$cache->load($cacheKey)) {
178
- if (!$product) {
179
- /* @var $productCollection Mage_Catalog_Model_Resource_Product_Collection */
180
- $productCollection = Mage::getResourceModel('catalog/product_collection');
181
- $productCollection
182
- ->setStoreId(Mage::app()->getStore()->getId())
183
- ->setPage(1, 1);
184
 
185
- Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($productCollection);
186
- Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($productCollection);
 
187
 
188
- $product = $productCollection->getFirstItem();
189
- }
190
 
 
 
191
  $productId = $this->getBvProductId($product);
192
 
193
  $apiKey = $this->_getApiKey();
@@ -233,7 +236,7 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
233
  'required' => @$fieldData['Required'],
234
  'id' => ++$index . "",
235
  'bv_id' => @$fieldData['Id'],
236
- 'selected' => @$fieldData['Value'],
237
  'values' => array()
238
  );
239
 
@@ -245,9 +248,6 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
245
  'value' => @$option['Value'],
246
  'label' => @$option['Label']
247
  );
248
- if (@$option['Selected']) {
249
- $fieldTmp['selected'] = @$option['Value'];
250
- }
251
  }
252
  }
253
  break;
@@ -265,13 +265,19 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
265
  $fieldTmp['html'] = null;
266
  }
267
 
 
 
 
 
 
 
268
  $data['reviews'][] = $fieldTmp;
269
  }
270
  }
271
  }
272
  }
273
 
274
- $cache->save(Mage::helper('core')->jsonEncode($data), $cacheKey, array(Mage_Core_Model_Config::CACHE_TAG));
275
  }
276
 
277
  return Mage::helper('core')->jsonDecode($cache->load($cacheKey));
@@ -364,14 +370,14 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
364
  if (!empty($result['Errors'])) {
365
  foreach ($result['Errors'] as $error) {
366
  throw new Jmango360_Japi_Exception(
367
- sprintf('%s: %s', $error['Code'], $error['Message']),
368
  Jmango360_Japi_Model_Request::HTTP_INTERNAL_ERROR
369
  );
370
  }
371
  } elseif (!empty($result['FormErrors']['FieldErrors'])) {
372
  $messages = array();
373
  foreach ($result['FormErrors']['FieldErrors'] as $formError) {
374
- $messages[] = sprintf('%s: %s', $formError['Code'], $formError['Message']);
375
  }
376
  if (count($messages)) {
377
  throw new Jmango360_Japi_Exception(
@@ -460,7 +466,7 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
460
  return $data;
461
  }
462
 
463
- protected function _parseReview($result = array())
464
  {
465
  if (!$result || !is_array($result)) return;
466
  if (!empty($result['ModerationStatus']) && $result['ModerationStatus'] != 'APPROVED') return;
@@ -471,8 +477,19 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
471
  'review' => array()
472
  );
473
 
 
 
 
 
 
 
 
 
 
 
 
 
474
  if (!empty($result['SecondaryRatings'])) {
475
- $index = 0;
476
  foreach ($result['SecondaryRatings'] as $rating) {
477
  $data['review'][] = array(
478
  'code' => 'ratings',
@@ -482,11 +499,34 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
482
  'id' => ++$index . "",
483
  'values' => range(1, empty($rating['ValueRange']) ? 5 : $rating['ValueRange']),
484
  'selected' => @$rating['Value'],
485
- 'percent' => round(100 * @$rating['Value'] / (empty($rating['ValueRange']) ? 5 : $rating['ValueRange']))
486
  );
487
  }
488
  }
489
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
490
  if (!empty($result['Photos'])) {
491
  $photoReview = array(
492
  'code' => 'photo',
@@ -531,6 +571,24 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
531
  $data['review'][] = $videoReview;
532
  }
533
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
534
  $data['review'] = array_merge($data['review'], array(
535
  array(
536
  'code' => 'nickname',
@@ -642,7 +700,7 @@ class Jmango360_Japi_Helper_Review_Bazaarvoice extends Mage_Core_Helper_Abstract
642
  curl_close($ch);
643
 
644
  if (!$result) {
645
- $errorStr = sprintf('ERROR [%s]: %s', $errorNum, $errorMeg);
646
 
647
  $this->_log($errorStr);
648
 
10
  {
11
  const URL_STAGING = 'https://stg.api.bazaarvoice.com/';
12
  const URL_PRODUCTION = 'https://api.bazaarvoice.com/';
13
+
14
  const DEFAULT_LIMIT = 99;
15
  const DEFAULT_SORT = 'SubmissionTime';
16
  const DEFAULT_DIR = 'desc';
17
+
18
  const CACHE_KEY_REVIEW_FORM = 'BV_REVIEW_FORM';
19
+
20
  protected $FORM_FIELDS = array(
21
  'rating' => 'Overall Rating',
22
  'title' => 'Review Title',
25
  'useremail' => 'Email',
26
  'rating_' => null,
27
  'contextdatavalue_' => null,
28
+ 'isrecommended' => 'Would you recommend this product to your friends?',
29
  'agreedtotermsandconditions' => 'I agree to the terms & conditions'
30
  );
31
+ protected $LOGGED_IN_EXCLUDE_FIELDS = array();
 
 
32
 
33
  /**
34
  * Get product Id for Bazaarvoice
127
  if (!empty($result['Errors'])) {
128
  foreach ($result['Errors'] as $error) {
129
  throw new Jmango360_Japi_Exception(
130
+ sprintf('%s', $error['Message']),
131
  Jmango360_Japi_Model_Request::HTTP_INTERNAL_ERROR
132
  );
133
  }
145
  'review_counter' => @$result['TotalResults']
146
  );
147
 
148
+ $reviewForm = $this->getForm($product);
149
+ if (!empty($reviewForm['reviews'])) {
150
+ $fields = $reviewForm['reviews'];
151
+ } else {
152
+ $fields = array();
153
+ }
154
+
155
  if (is_array($result['Results'])) {
156
  foreach ($result['Results'] as $item) {
157
+ if ($review = $this->_parseReview($item, $fields)) {
158
  $data['reviews'][] = $review;
159
  }
160
  }
172
  */
173
  public function getForm($product = null)
174
  {
175
+ if (!$product || !$product->getId()) {
176
+ throw new Jmango360_Japi_Exception(
177
+ Mage::helper('japi')->__('Product not found'),
178
+ Jmango360_Japi_Model_Request::HTTP_INTERNAL_ERROR
179
+ );
 
 
 
180
  }
181
 
182
+ $cacheKeys[] = self::CACHE_KEY_REVIEW_FORM;
183
+ $cacheKeys[] = Mage::app()->getStore()->getId();
184
+ $cacheKeys[] = $product->getId();
 
 
 
 
185
 
186
+ /* @var $session Mage_Customer_Model_Session */
187
+ $session = Mage::getSingleton('customer/session');
188
+ $cacheKeys[] = $session->isLoggedIn() ? 1 : 0;
189
 
190
+ $cacheKey = implode('|', $cacheKeys);
 
191
 
192
+ $cache = Mage::app()->getCache();
193
+ if (!$cache->load($cacheKey)) {
194
  $productId = $this->getBvProductId($product);
195
 
196
  $apiKey = $this->_getApiKey();
236
  'required' => @$fieldData['Required'],
237
  'id' => ++$index . "",
238
  'bv_id' => @$fieldData['Id'],
239
+ 'selected' => null,
240
  'values' => array()
241
  );
242
 
248
  'value' => @$option['Value'],
249
  'label' => @$option['Label']
250
  );
 
 
 
251
  }
252
  }
253
  break;
265
  $fieldTmp['html'] = null;
266
  }
267
 
268
+ if (@$fieldData['Id'] == 'useremail') {
269
+ if ($session->isLoggedIn()) {
270
+ $fieldTmp['selected'] = $session->getCustomer()->getEmail();
271
+ }
272
+ }
273
+
274
  $data['reviews'][] = $fieldTmp;
275
  }
276
  }
277
  }
278
  }
279
 
280
+ $cache->save(Mage::helper('core')->jsonEncode($data), $cacheKey, array(Mage_Core_Model_Config::CACHE_TAG), 60 * 60);
281
  }
282
 
283
  return Mage::helper('core')->jsonDecode($cache->load($cacheKey));
370
  if (!empty($result['Errors'])) {
371
  foreach ($result['Errors'] as $error) {
372
  throw new Jmango360_Japi_Exception(
373
+ sprintf('%s', $error['Message']),
374
  Jmango360_Japi_Model_Request::HTTP_INTERNAL_ERROR
375
  );
376
  }
377
  } elseif (!empty($result['FormErrors']['FieldErrors'])) {
378
  $messages = array();
379
  foreach ($result['FormErrors']['FieldErrors'] as $formError) {
380
+ $messages[] = sprintf('%s', $formError['Message']);
381
  }
382
  if (count($messages)) {
383
  throw new Jmango360_Japi_Exception(
466
  return $data;
467
  }
468
 
469
+ protected function _parseReview($result = array(), $fields = array())
470
  {
471
  if (!$result || !is_array($result)) return;
472
  if (!empty($result['ModerationStatus']) && $result['ModerationStatus'] != 'APPROVED') return;
477
  'review' => array()
478
  );
479
 
480
+ $data['review'][] = array(
481
+ 'code' => 'ratings',
482
+ 'title' => $this->__($this->FORM_FIELDS['rating']),
483
+ 'type' => 'radio',
484
+ 'required' => true,
485
+ 'id' => "1",
486
+ 'values' => range(1, empty($result['RatingRange']) ? 5 : $result['RatingRange']),
487
+ 'selected' => @$result['Rating'],
488
+ 'percent' => round(100 * $result['Rating'] / (empty($result['RatingRange']) ? 5 : $result['RatingRange']))
489
+ );
490
+
491
+ $index = 1;
492
  if (!empty($result['SecondaryRatings'])) {
 
493
  foreach ($result['SecondaryRatings'] as $rating) {
494
  $data['review'][] = array(
495
  'code' => 'ratings',
499
  'id' => ++$index . "",
500
  'values' => range(1, empty($rating['ValueRange']) ? 5 : $rating['ValueRange']),
501
  'selected' => @$rating['Value'],
502
+ 'percent' => round(100 * $rating['Value'] / (empty($rating['ValueRange']) ? 5 : $rating['ValueRange']))
503
  );
504
  }
505
  }
506
 
507
+ if (!empty($result['ContextDataValues'])) {
508
+ foreach ($result['ContextDataValues'] as $key => $context) {
509
+ $dataTmp = array(
510
+ 'code' => 'ratings',
511
+ 'title' => @$context['DimensionLabel'],
512
+ 'type' => null,
513
+ 'required' => false,
514
+ 'id' => ++$index . "",
515
+ 'selected' => @$context['Value']
516
+ );
517
+ foreach ($fields as $field) {
518
+ if ($field['bv_id'] == 'contextdatavalue_' . $key) {
519
+ $dataTmp['title'] = $field['title'];
520
+ $dataTmp['type'] = $field['type'];
521
+ $dataTmp['required'] = $field['required'];
522
+ $dataTmp['values'] = $field['values'];
523
+ $dataTmp['options'] = $field['options'];
524
+ }
525
+ }
526
+ $data['review'][] = $dataTmp;
527
+ }
528
+ }
529
+
530
  if (!empty($result['Photos'])) {
531
  $photoReview = array(
532
  'code' => 'photo',
571
  $data['review'][] = $videoReview;
572
  }
573
 
574
+ if (isset($result['IsRecommended'])) {
575
+ $isRecommended = array(
576
+ 'code' => 'isrecommended',
577
+ 'title' => @$result['IsRecommended'] ? $this->__('I recommend this product') : $this->__('I do not recommend this product'),
578
+ 'type' => 'boolean',
579
+ 'required' => false,
580
+ 'selected' => @$result['IsRecommended']
581
+ );
582
+ foreach ($fields as $field) {
583
+ if ($field['bv_id'] == 'isrecommended') {
584
+ $isRecommended['type'] = $field['type'];
585
+ $isRecommended['required'] = $field['required'];
586
+ $isRecommended['values'] = $field['values'];
587
+ }
588
+ }
589
+ $data['review'][] = $isRecommended;
590
+ }
591
+
592
  $data['review'] = array_merge($data['review'], array(
593
  array(
594
  'code' => 'nickname',
700
  curl_close($ch);
701
 
702
  if (!$result) {
703
+ $errorStr = sprintf('%s', $errorMeg);
704
 
705
  $this->_log($errorStr);
706
 
app/code/community/Jmango360/Japi/Model/Observer.php CHANGED
@@ -504,7 +504,7 @@ class Jmango360_Japi_Model_Observer
504
  }
505
 
506
  /**
507
- * Inject order grid collectio to add 'japi' filter
508
  */
509
  public function coreCollectionAbstractLoadBefore($observe)
510
  {
@@ -513,8 +513,26 @@ class Jmango360_Japi_Model_Observer
513
  if (!$collection) return;
514
 
515
  switch (get_class($collection)) {
 
 
 
 
516
  case 'IWD_OrderManager_Model_Resource_Order_Grid_Collection':
517
- $collection->addFieldToSelect('japi');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
518
  break;
519
  }
520
  }
504
  }
505
 
506
  /**
507
+ * Inject order grid collection to add 'japi' filter
508
  */
509
  public function coreCollectionAbstractLoadBefore($observe)
510
  {
513
  if (!$collection) return;
514
 
515
  switch (get_class($collection)) {
516
+ /**
517
+ * MPLUGIN-1510: Support IWD_OrderManager v1.7.2.1
518
+ * MPLUGIN-1843: Support IWD_OrderManager v1.6.0.4
519
+ */
520
  case 'IWD_OrderManager_Model_Resource_Order_Grid_Collection':
521
+ try {
522
+ $columns = $collection->getSelect()->getPart('columns');
523
+ $needAddColumn = true;
524
+ if (is_array($columns)) {
525
+ foreach ($columns as $column) {
526
+ if (in_array('*', $column) || in_array('japi', $column)) {
527
+ $needAddColumn = false;
528
+ }
529
+ }
530
+ }
531
+ if ($needAddColumn) {
532
+ $collection->addFieldToSelect('japi');
533
+ }
534
+ } catch (Exception $e) {
535
+ }
536
  break;
537
  }
538
  }
app/code/community/Jmango360/Japi/Model/Observer/Controller/Front.php CHANGED
@@ -48,12 +48,19 @@ class Jmango360_Japi_Model_Observer_Controller_Front
48
 
49
  /**
50
  * What modules should bypass core session validation
 
51
  *
52
  * @return bool
53
  */
54
  protected function _getListModuleNeedToByPassSession()
55
  {
 
 
56
  $helper = Mage::helper('core');
57
- return $helper->isModuleEnabled('TIG_PostNL');
 
 
 
 
58
  }
59
  }
48
 
49
  /**
50
  * What modules should bypass core session validation
51
+ * MPLUGIN-1893: Refactor for flexible solution
52
  *
53
  * @return bool
54
  */
55
  protected function _getListModuleNeedToByPassSession()
56
  {
57
+ $modules = explode("\n", Mage::getStoreConfig('japi/jmango_rest_developer_settings/exclude_modules'));
58
+ if (!count($modules)) return false;
59
  $helper = Mage::helper('core');
60
+ foreach ($modules as $module) {
61
+ if ($helper->isModuleEnabled(trim($module))) {
62
+ return true;
63
+ }
64
+ }
65
  }
66
  }
app/code/community/Jmango360/Japi/Model/Rest/Catalog/Update.php DELETED
File without changes
app/code/community/Jmango360/Japi/Model/Rest/Mage.php CHANGED
@@ -800,6 +800,16 @@ class Jmango360_Japi_Model_Rest_Mage extends Mage_Core_Model_Abstract
800
  );
801
  }
802
 
 
 
 
 
 
 
 
 
 
 
803
  if ($customer && $customer->getId()) {
804
  foreach ($attributes as $key => $attribute) {
805
  if (!empty($attribute['key'])) {
800
  );
801
  }
802
 
803
+ if (strpos(Mage::getUrl(), 'voordeelwijnen.nl')) {
804
+ $attributes[] = array(
805
+ 'label' => Mage::helper('japi')->__('Ja, ik ben 18 jaar of ouder.'),
806
+ 'key' => '16year',
807
+ 'enable' => true,
808
+ 'required' => true,
809
+ 'display_type' => 'checkbox'
810
+ );
811
+ }
812
+
813
  if ($customer && $customer->getId()) {
814
  foreach ($attributes as $key => $attribute) {
815
  if (!empty($attribute['key'])) {
app/code/community/Jmango360/Japi/etc/config.xml CHANGED
@@ -7,7 +7,7 @@
7
  <config>
8
  <modules>
9
  <Jmango360_Japi>
10
- <version>3.3.0</version>
11
  </Jmango360_Japi>
12
  </modules>
13
 
@@ -415,6 +415,8 @@
415
  </jmango_rest_bazaarvoice_settings>
416
  <jmango_rest_developer_settings>
417
  <enable>0</enable>
 
 
418
  </jmango_rest_developer_settings>
419
  </japi>
420
  </default>
7
  <config>
8
  <modules>
9
  <Jmango360_Japi>
10
+ <version>3.3.1</version>
11
  </Jmango360_Japi>
12
  </modules>
13
 
415
  </jmango_rest_bazaarvoice_settings>
416
  <jmango_rest_developer_settings>
417
  <enable>0</enable>
418
+ <exclude_modules><![CDATA[TIG_PostNL
419
+ Chronopost_Chronorelais]]></exclude_modules>
420
  </jmango_rest_developer_settings>
421
  </japi>
422
  </default>
app/code/community/Jmango360/Japi/etc/system.xml CHANGED
@@ -768,6 +768,16 @@
768
  <show_in_store>1</show_in_store>
769
  <comment></comment>
770
  </run_sql>
 
 
 
 
 
 
 
 
 
 
771
  </fields>
772
  </jmango_rest_developer_settings>
773
  </groups>
768
  <show_in_store>1</show_in_store>
769
  <comment></comment>
770
  </run_sql>
771
+ <exclude_modules translate="label comment" module="japi">
772
+ <label>Exclude modules</label>
773
+ <frontend_type>textarea</frontend_type>
774
+ <sort_order>40</sort_order>
775
+ <show_in_default>1</show_in_default>
776
+ <show_in_website>1</show_in_website>
777
+ <show_in_store>1</show_in_store>
778
+ <can_be_empty>1</can_be_empty>
779
+ <comment>List of modules need bypass session validation. Enter each line a module name, ex "TIG_PostNL"</comment>
780
+ </exclude_modules>
781
  </fields>
782
  </jmango_rest_developer_settings>
783
  </groups>
app/design/frontend/base/default/layout/jmango360_japi.xml CHANGED
@@ -126,6 +126,7 @@
126
  <label>Items After</label>
127
  </block>
128
  <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="japi/checkout/onepage/agreements.phtml"/>
 
129
  <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon">
130
  <action method="setTemplate" ifconfig="japi/jmango_rest_checkout_settings/enable_coupon">
131
  <template>japi/checkout/onepage/coupon.phtml</template>
126
  <label>Items After</label>
127
  </block>
128
  <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="japi/checkout/onepage/agreements.phtml"/>
129
+ <block type="core/template" name="checkout.onepage.additional_agreements" as="additional_agreements" template="japi/checkout/onepage/additional_agreements.phtml"/>
130
  <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon">
131
  <action method="setTemplate" ifconfig="japi/jmango_rest_checkout_settings/enable_coupon">
132
  <template>japi/checkout/onepage/coupon.phtml</template>
app/design/frontend/base/default/template/japi/checkout/onepage/additional_agreements.phtml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if (strpos(Mage::getUrl(), 'voordeelwijnen.nl')): ?>
2
+ <form action="" method="post" id="yearCheckForm" class="form-list" style="padding-top: 1em">
3
+ <p>Om te kunnen bestellen moet u 18 jaar of ouder zijn.</p>
4
+ <input type="checkbox" name="16year" id="yearcheck" class="required-entry"/>
5
+ <label for="yearcheck">Ja, ik ben 18 jaar of ouder.</label>
6
+ </form>
7
+ <script type="text/javascript">
8
+ setTimeout(function () {
9
+ review.addMoreValidateFunction('yearcheck', function () {
10
+ var validator = new Validation('yearCheckForm');
11
+ return validator.validate();
12
+ });
13
+ });
14
+ </script>
15
+ <?php endif; ?>
app/locale/en_US/Jmango360_Japi.csv CHANGED
@@ -251,3 +251,11 @@
251
  "Re-run SQL upgrade","Re-run SQL upgrade"
252
  "Re-run successfully.","Re-run successfully."
253
  "Back to app","Back to app"
 
 
 
 
 
 
 
 
251
  "Re-run SQL upgrade","Re-run SQL upgrade"
252
  "Re-run successfully.","Re-run successfully."
253
  "Back to app","Back to app"
254
+ "Overall Rating","Overall Rating"
255
+ "Review Title","Review Title"
256
+ "Review","Review"
257
+ "Nickname","Nickname"
258
+ "I agree to the terms & conditions","I agree to the terms & conditions"
259
+ "Would you recommend this product to your friends?","Would you recommend this product to your friends?"
260
+ "I recommend this product","I recommend this product"
261
+ "I do not recommend this product","I do not recommend this product"
app/locale/it_IT/Jmango360_Japi.csv CHANGED
@@ -226,3 +226,9 @@
226
  "Show image of child product in Grouped Product Detail on mobile","Show image of child product in Grouped Product Detail on mobile"
227
  "Please close this form and login with your new account.", "Chiudi questo modulo ed effettua il login con il tuo nuovo account."
228
  "Back to app","Torna nell'app"
 
 
 
 
 
 
226
  "Show image of child product in Grouped Product Detail on mobile","Show image of child product in Grouped Product Detail on mobile"
227
  "Please close this form and login with your new account.", "Chiudi questo modulo ed effettua il login con il tuo nuovo account."
228
  "Back to app","Torna nell'app"
229
+ "Overall Rating","Punteggio generale"
230
+ "Review Title","Titolo della recensione"
231
+ "Review","Recensione"
232
+ "Nickname","Nickname"
233
+ "I agree to the terms & conditions","Acconsento ai termini e condizioni"
234
+ "Would you recommend this product to your friends?","Consiglieresti questo prodotto ai tuoi amici?"
app/locale/nl_NL/Jmango360_Japi.csv CHANGED
@@ -172,3 +172,11 @@
172
  "House Number","Huisnummer"
173
  "Catalogue Settings", "Instellingen catalogus"
174
  "Back to app","Terug naar de app"
 
 
 
 
 
 
 
 
172
  "House Number","Huisnummer"
173
  "Catalogue Settings", "Instellingen catalogus"
174
  "Back to app","Terug naar de app"
175
+ "Overall Rating","Algemene Score"
176
+ "Review Title","Titel van beoordeling"
177
+ "Review","Beoordeling"
178
+ "Nickname","Gebruikersnaam"
179
+ "I agree to the terms & conditions","Ik ga akkoord met de voorwaarden en bepalingen"
180
+ "Would you recommend this product to your friends?","Zou jij dit product aan je vrienden aanbevelen?"
181
+ "I recommend this product","Ik beveel dit product aan"
182
+ "I do not recommend this product","Ik beveel dit product niet aan"
app/locale/pt_BR/Jmango360_Japi.csv CHANGED
@@ -232,3 +232,9 @@
232
  "Account is created. Please check email to confirm.", "Sua conta foi criada. Por favor, verifique o email de confirmação"
233
  "Please close this form and login with your new account.", "Por favor cierra esta pagina y accede a tu cuenta."
234
  "Back to app","Vuelva a la app"
 
 
 
 
 
 
232
  "Account is created. Please check email to confirm.", "Sua conta foi criada. Por favor, verifique o email de confirmação"
233
  "Please close this form and login with your new account.", "Por favor cierra esta pagina y accede a tu cuenta."
234
  "Back to app","Vuelva a la app"
235
+ "Overall Rating","Puntaje general"
236
+ "Review Title","Título del comentario"
237
+ "Review","Comentario"
238
+ "Nickname","Nickname"
239
+ "I agree to the terms & conditions","Estoy de acuerdo con los términos y condiciones"
240
+ "Would you recommend this product to your friends?","¿Recomendaría usted este producto a sus amigos?"
app/locale/pt_PT/Jmango360_Japi.csv CHANGED
@@ -232,3 +232,9 @@
232
  "Account is created. Please check email to confirm.", "Sua conta foi criada. Por favor, verifique o email de confirmação"
233
  "Please close this form and login with your new account.", "Por favor cierra esta pagina y accede a tu cuenta."
234
  "Back to app","Vuelva a la app"
 
 
 
 
 
 
232
  "Account is created. Please check email to confirm.", "Sua conta foi criada. Por favor, verifique o email de confirmação"
233
  "Please close this form and login with your new account.", "Por favor cierra esta pagina y accede a tu cuenta."
234
  "Back to app","Vuelva a la app"
235
+ "Overall Rating","Puntaje general"
236
+ "Review Title","Título del comentario"
237
+ "Review","Comentario"
238
+ "Nickname","Nickname"
239
+ "I agree to the terms & conditions","Estoy de acuerdo con los términos y condiciones"
240
+ "Would you recommend this product to your friends?","¿Recomendaría usted este producto a sus amigos?"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Jmango360_Japi</name>
4
- <version>3.3.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
7
  <channel>community</channel>
@@ -31,9 +31,9 @@ Other generic mobile apps that you can add and configure:&#xD;
31
  For more details on JMango360 please visit our website http://www.jmango360.com or out knowledge site http://support.jmango360.com</description>
32
  <notes>* Bug fixes</notes>
33
  <authors><author><name>Duc Ngo</name><user>jmango360</user><email>duc@jmango360.com</email></author></authors>
34
- <date>2017-04-10</date>
35
- <time>02:47:16</time>
36
- <contents><target name="magecommunity"><dir name="Jmango360"><dir name="Japi"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Hide.php" hash="2e9fb95869151bb2a2c7cf7fca6f998f"/></dir></dir></dir></dir></dir><dir name="Order"><file name="Grid.php" hash="22273d3d0acaf1b0a093e524f87c6aff"/></dir><file name="Order.php" hash="04e94160608b989286aebeb190299565"/><dir name="Report"><dir name="Chart"><file name="Customers.php" hash="9a4c7c4af19c584aeb2dd5bc0f6d4735"/><file name="Orders.php" hash="ae5f516c56c5c8c72c14a7b0aa275ac6"/><file name="Sales.php" hash="7d5db491deeaa90571e965bbc2c07e23"/></dir><dir name="Customers"><file name="Chart.php" hash="69f2a7121d61f24d9b75de7281def8e5"/><file name="Grid.php" hash="f1adb7504646338330b7e7ef64a4fc5c"/></dir><file name="Customers.php" hash="6ffd72b1280b6cce39665fd35b5c4a78"/><dir name="Filter"><dir name="Form"><file name="Orders.php" hash="92574de82aa73cdd9de0cc59e20dadc4"/></dir><file name="Form.php" hash="7bf3f161f66abf97fc7db57e0acd59cf"/></dir><dir name="Orders"><file name="Chart.php" hash="75bd0bbe8649f423918dec555d3e9592"/><file name="Grid.php" hash="35590c1a54c8490c3982f0df038b8328"/></dir><file name="Orders.php" hash="6416ac5f6889d5a06f2a32f5ff00cbe2"/><dir name="Sales"><file name="Chart.php" hash="416f4ff4cdaa7f8f099dad3ffccacd68"/><file name="Grid.php" hash="baa9caa57906627ed3f31ec4fd87a500"/></dir><file name="Sales.php" hash="c1d1df3e7b90451e42142bb414a28d6b"/></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="2b02a6c90256c9bcc6d99d2d9301413e"/><file name="Log.php" hash="d92a34eab2fbac5dc45ad12fc7df11ed"/><file name="User.php" hash="cb7dfc72c7acde78efbabc49617cba3c"/><file name="Version.php" hash="b9802c302ef7ecacf106993e8506d314"/></dir></dir></dir><dir name="Widget"><dir name="Form"><dir name="Renderer"><dir name="Element"><file name="Chart.php" hash="f6f4c2ff80cb71f3e0758809b8ad480d"/></dir></dir></dir></dir></dir><file name="Banner.php" hash="0cafa22b3012e1a3b39f0e72a03534fa"/><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="43581de27feb1a0187bb0aee68bab0e9"/><file name="Category.php" hash="5d01fc7d90af7eccd412ef61056b825b"/><file name="Decimal.php" hash="d40a09709bda7b1011e4d2c970308638"/><file name="Price.php" hash="02dfe6d9429f0190ecf9a41f73653330"/></dir><file name="View.php" hash="e217dfaf2a2ee6c2fa59ba9db0244eb9"/></dir><dir name="Product"><file name="List.php" hash="e1336372e4aa63e0e35c7e9ea1bd3852"/></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="4ba3d242a3343b1786cf081047650bb9"/></dir></dir><file name="Layer.php" hash="4d48db1a2b35151c363ed045646199a9"/></dir><dir name="Checkout"><dir name="Cart"><file name="Totals.php" hash="7aced913b0e0cd1622dd8d03b376327d"/></dir><dir name="Onepage"><file name="Addjs.php" hash="077d09b15ec8823c76854a575359cb1a"/><file name="Address.php" hash="bf596c77e982d4350fc532a3deb79e47"/><file name="Billing.php" hash="afc74029a0b8d571e440f50a04ab4340"/><file name="Button.php" hash="039d56b9b7982d5e32433d71f4b53959"/><file name="Shipping.php" hash="aaa1b70ecc095d297d6ab0a90f441c70"/></dir><file name="Onepage.php" hash="b02fe40ae9c73c0d1248c178a4f2d133"/></dir><file name="Form.php" hash="e16eaa258cf650bd2106372fcf43ae9b"/><dir name="GiftMessage"><dir name="Message"><file name="Inline.php" hash="8f20e9383634f46b624f15d77b616380"/></dir></dir><file name="Js.php" hash="8e8091283a5a3142fec7486077a9586e"/></dir><dir name="Controller"><file name="Abstract.php" hash="ccb6cc7460e7bbf30293983bbe61a07d"/></dir><file name="Exception.php" hash="bd30a2efecdf9a8197f066d9574cd1ab"/><dir name="Helper"><dir name="Adminhtml"><dir name="Report"><file name="Order.php" hash="9f7a02c48f3f8e0545488375b03d7333"/></dir></dir><file name="Data.php" hash="0e627bc132f53cdd7d07753ee72ada86"/><file name="Debug.php" hash="1002a59a5dee41f34da875979e907cbf"/><dir name="GiftMessage"><file name="Message.php" hash="5d1df4710b0aa3154ce0fa744b0244f3"/></dir><file name="Js.php" hash="55565b7d668b993fae6c180b30766d17"/><dir name="Product"><file name="Bundle.php" hash="c89baf5638e81d030f5a72b011af7cfd"/><file name="Configurable.php" hash="58c1e0b70c30346839e236e7346a24bd"/><file name="Downloadable.php" hash="db531632adda525a91625da8d13296d6"/><file name="File.php" hash="0968c5688015b9c7a002457428607f80"/><file name="Grouped.php" hash="82db4c3d5b6ba987004a653729013149"/><file name="Media.php" hash="291003011bdca7299280ef0136089edf"/><file name="Options.php" hash="1bc8973b5a9227b0b7de93f2307c7fb9"/><file name="Review.php" hash="e415a0215a8dfbdac5ed76e6c065c705"/><file name="TierPrice.php" hash="4a7e94d83eed9e7ba47ee196b4ae15d9"/></dir><file name="Product.php" hash="6ab5d33dac88bdbe7c1a2b9d1720a10f"/><dir name="Review"><file name="Bazaarvoice.php" hash="36e4963ea8ba81e1fbc53c5c7eb5330c"/></dir><file name="Tax.php" hash="05c99785012d55fce12c4f094385e25c"/></dir><dir name="Model"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="f058e0ced4579a556cbb969a98c7fc66"/><file name="Decimal.php" hash="849e1dbc11c99fb8f7a1f9d33e0d7908"/><file name="Price.php" hash="2bdc6f1ff06ad5aa736972c72558fd25"/></dir></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="81b287f96c40094c2a3743ddc6f6c6cb"/></dir></dir></dir><dir name="Core"><file name="Session.php" hash="7c5531af03c6a98e14dda3d358270938"/></dir><file name="Dispatcher.php" hash="81004902926427ba06a1a90d6e799554"/><dir name="Magpleasure"><dir name="Tierprices"><file name="Price.php" hash="1bfd6ed086649f518b3e98436513a491"/></dir></dir><dir name="Observer"><dir name="Controller"><file name="Front.php" hash="fde8cef91eba644b366f238bf2a75194"/></dir></dir><file name="Observer.php" hash="02518de89e1fe55a77e7c15e5cf72af9"/><dir name="Renderer"><file name="Json.php" hash="b7c471548eecae7c9d05072aa6695cbb"/></dir><file name="Renderer.php" hash="47c320f795f1328a8df37d4b9af56abc"/><file name="Request.php" hash="ece58a0074c2ba238c102983e05d15a8"/><dir name="Resource"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="5bd13fbb5e8012ad24dc7908bc5ea755"/><file name="Decimal.php" hash="551120b728226ed408292fac732a05d7"/><file name="Price.php" hash="321f70b515b4d3deb9c7cc58eb803bf2"/></dir></dir></dir><dir name="Report"><dir name="Order"><file name="Collection.php" hash="1c5e69f548f2b4a0da8f789d7d03b643"/></dir></dir><dir name="Sales"><dir name="Report"><dir name="Order"><dir name="Collection"><file name="Aggregated.php" hash="61848c0b80699acbf478f279231c161d"/><file name="Live.php" hash="ea323ca0eec324ece97f08ece6639fb9"/></dir></dir><file name="Order.php" hash="53641b24d23bd811c278f65b56d5765f"/></dir></dir><file name="Setup.php" hash="3a97ea2e652869965f5b47b9e3099896"/></dir><file name="Response.php" hash="7209bb2e9c5b97b2a46d10ff97aa6740"/><dir name="Rest"><dir name="Cart"><file name="Coupon.php" hash="a5be6cfe674b46b6ba290b0388edf8ad"/><file name="Update.php" hash="71dccaac258d2e9c584ac6b35c72621e"/></dir><file name="Cart.php" hash="39e0f2f2b7630e5884d907f42bc5e11a"/><dir name="Catalog"><dir name="Category"><file name="Assignedproducts.php" hash="7658ab222c320e1f86f7ce0876ed5a28"/><file name="Tree.php" hash="5dce196312e33d3f7ac4a2235312e587"/></dir><dir name="Search"><file name="Products.php" hash="8b8f43f4f563dc27002884a57d42c858"/><file name="Terms.php" hash="71cadbe1fa7b19c96f2201f087c832ff"/></dir><file name="Update.php" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><file name="Catalog.php" hash="a71eed5f39431b40a80b06f566baa653"/><dir name="Checkout"><file name="Methods.php" hash="ce5e08ab2b5cf944c5b6b9ccc25773e0"/><file name="Onepage.php" hash="e1e04e5936867fe452a08ee5774617bf"/><file name="Redirect.php" hash="19932aa45299e5ea3995f52cb9987183"/><file name="Submit.php" hash="50ac35f8218f5c3abeb0946e138db2ae"/></dir><file name="Checkout.php" hash="514f5be707f0a1a1175b825983831705"/><dir name="Cms"><file name="Page.php" hash="93bd77b2b3f2b8b1e72a3e6391553426"/></dir><file name="Cms.php" hash="a12fd4b2a437c8a6c0b2b65a1e471c23"/><dir name="Customer"><file name="Address.php" hash="cef92ca089a5cd7cd1218339104c4894"/><file name="Edit.php" hash="226f77d8cee872c4c622c062cfe1eff0"/><file name="Group.php" hash="c717d5faf52919787aa0f87270856ca3"/><file name="List.php" hash="17f0096755be01327c163a701b9f3780"/><file name="Login.php" hash="77df1e0afcf40e6129fb61397217f053"/><dir name="Order"><file name="List.php" hash="1e6ea53a87108ca487d9a58ac42f382f"/></dir><file name="Order.php" hash="da1565601bac963b72f64b0e6a147704"/><file name="Password.php" hash="6df128903742a8723f0a59c4203f8b12"/><file name="Register.php" hash="e25d0045e0d8ff650ca208b9fe75e3ae"/></dir><file name="Customer.php" hash="ecf57dcf8bbba1ebb12ed10630bd1715"/><file name="Mage.php" hash="1d3efa624b4a9459e88dbc1a65da030a"/><dir name="Product"><file name="Crosssell.php" hash="1fbc8c3886de3703a77e911ac459422c"/><file name="List.php" hash="8d84ec9326a6747de6d2ca0a5aceee6c"/><file name="Price.php" hash="d47c9903d5719b0cee73836419e27bb1"/><file name="Purchased.php" hash="feb7fd9176da74e59722984732d04a9a"/><file name="Related.php" hash="8a6b52fc39f099f4339a91ad5709537a"/><file name="Review.php" hash="549ffdfaea3d95ac1f18e9d4ef18d6eb"/><file name="Search.php" hash="9e130de2d112ee567b4756b63b050809"/><file name="Upsell.php" hash="56a4075e88a75d1cfa89e7da1130a2b4"/><file name="Url.php" hash="4b920cc4913b77b1e463afad27ad5b78"/><file name="Viewed.php" hash="c2a9c99a56b57d8288eec75657f9bd47"/></dir><file name="Product.php" hash="33f395e10d5578d948bf32a7bd5388fd"/><file name="Wishlist.php" hash="ee26b4efcbf3b2c39aec2c1e3402c35b"/></dir><file name="Server.php" hash="1f51d81e323af28fd78618e62db11d82"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Icon.php" hash="242de9b094f94e397dc606dc926cc33f"/><file name="Payment.php" hash="5964322419785004a6c3f84a940d8d13"/><file name="Shipping.php" hash="016f22646fbac10cd81c6b7904c9abde"/></dir><dir name="Source"><dir name="Address"><file name="Attributes.php" hash="1a29b64d271693fba3ea76599d3408e2"/><file name="Validatetype.php" hash="6f4d9767ac0e476ec6a6cd3964882721"/></dir><file name="Attributes.php" hash="4b4de29e00623c971038d6fe895e5e76"/><dir name="Bazaarvoice"><file name="Env.php" hash="bc619503d1b175e74f7eaf2ba15ae8b4"/></dir><dir name="Catalog"><file name="Direction.php" hash="68cd86444037506ec39de8eba3c07d8b"/><file name="Sortby.php" hash="d2aba9a3798b8e2eee8c275fbbd202e1"/></dir><file name="Catalogimage.php" hash="500f9994ea13e463a5e5e5d3963cfbd1"/><dir name="Customer"><file name="Attributes.php" hash="8963356aabf88647ab5ecbbbe8cfb9f1"/></dir><file name="Defaultimage.php" hash="04c896116c01b16e2ac8d7f23bbc29d6"/><file name="Payment.php" hash="70e82f4887eb297d6a58160f64bfd204"/><file name="Shipping.php" hash="7d8e5a2dc8a57099d908bef2403aad46"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Japi"><file name="LogController.php" hash="b17e024285aea7b6834cf5bc9b868916"/><file name="OrderController.php" hash="e6b7c1f5a7156a06fa3f51c32e6bbba9"/><file name="ReportController.php" hash="e88b2425e0a39f7f2b0c2902a6d2d5e9"/><file name="TroubleshootingController.php" hash="bb8951d1523a56a0f55e827614a38d66"/></dir></dir><file name="CheckoutController.php" hash="8353c64f00e22143bfc5264bcdc07998"/><dir name="Customer"><file name="AccountController.php" hash="2e055c5b22a2414263a1b7d3fd0607f9"/></dir><file name="CustomerController.php" hash="1336f9ccebf73e6e8f69d33503cd2bd7"/><file name="ImageController.php" hash="a5b48d4e075faf989c908bd0954d3878"/><file name="KcoController.php" hash="38e15112f3438edd6723478cf18c6cab"/><file name="KlarnaController.php" hash="fafb22cc7b5e2f69ee3dfb9094a04dcd"/><dir name="Rest"><file name="CartController.php" hash="3994aafe8e31094b765fc0120c888fa3"/><file name="CatalogController.php" hash="8df5b798bb0330f5e3182717e1e15bf7"/><file name="CheckoutController.php" hash="2fd4a4bca1a37788616645f50392a701"/><file name="CmsController.php" hash="cb1bc3f67136434c4d8af1b5660eab1e"/><file name="CustomerController.php" hash="ca2b76f8f4e8a84d81749b37910287bd"/><file name="MageController.php" hash="e267156b2acf82d309b6c8c4680a7371"/><file name="ProductController.php" hash="81c0a0b0afcdfe99d6c651244baa075c"/><file name="WishlistController.php" hash="d7b0c8ff628b4244d120843d54a41248"/></dir><file name="TestController.php" hash="ffb60653808c0e0af00cc73d4755ef99"/></dir><dir name="data"><dir name="japi_setup"><file name="data-install-2.0.0.php" hash="bcf6de66f6b296182268b11b3e80bbeb"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="9d1888abb4ed93ec7b3e1fa678fb1411"/><file name="config.xml" hash="e51f4bf105199e286ce4c7364713aaa5"/><file name="system.xml" hash="bd364c37de5d5b2e04cab5875b66d583"/></dir><dir name="sql"><dir name="japi_setup"><file name="install-1.0.0.php" hash="ce407ff5715c837d02b1aba7975bf512"/><file name="upgrade-2.0.1.2-2.0.2.php" hash="6fc0e0306b685279fc60f298643d181a"/><file name="upgrade-2.1.6-2.2.0.php" hash="947afcf7e20dfc2c3a3e45d8e5c316cd"/><file name="upgrade-2.2.0-2.2.1.php" hash="12a28845acf823eefc5f613b048efe52"/><file name="upgrade-2.8.2-2.9.0.php" hash="2761423f65920af0f8ba05d438710869"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Jmango360_Japi.xml" hash="b60701b3a14084fa1a440ca5fe5bf47b"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="jmango360_japi.xml" hash="d6e1656e4a8e79dd9e37e0b09a5f57a6"/></dir><dir name="template"><dir name="japi"><dir name="report"><file name="chart.phtml" hash="102704d97cf69793a50fa96538bd767f"/><dir name="grid"><file name="container.phtml" hash="79050f4e2bc7b70ae452e850fc27e0b7"/></dir></dir><dir name="widget"><dir name="form"><dir name="renderer"><dir name="element"><file name="chart.phtml" hash="fb14be221a9ec0faad4ace8579c5dddc"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="jmango360_japi.xml" hash="2c7af0b793b38a7b61fcdb50b7757018"/></dir><dir name="template"><dir name="japi"><dir name="TIG"><dir name="PostNL"><dir name="av"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="0cb781955d33fae46da09d62bd6fdaf3"/><file name="shipping.phtml" hash="cb72f56f0d26171c429d7a70701e0913"/></dir></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="9a623e8c2184d08c2b288456ba50aef4"/><file name="postcode_check.phtml" hash="cbb8bfd76db65041cafacf976312ceb7"/></dir></dir></dir><dir name="do"><dir name="onepage"><file name="available.phtml" hash="8fce41a1696540a4546b52c025f3dde7"/></dir></dir></dir></dir><dir name="checkout"><dir name="onepage"><file name="address.phtml" hash="3164ff4fc2d5f798e591a168d9d937d1"/><file name="agreements.phtml" hash="ae43c3b670b0d11a1217ca927a184ff7"/><file name="billing.phtml" hash="d5491399cbce3e565757023dc3e594ed"/><file name="coupon.phtml" hash="a27beeba5f8b2160dccc6d4198c6517d"/><file name="js.phtml" hash="ac1740fe3e829d228a57b1e1a9dda58b"/><dir name="payment"><file name="info.phtml" hash="26bb640843ee3fb6e72b4f2739f0a111"/><file name="methods.phtml" hash="1680b5e33d8123fdb58ecbd353ff1ba7"/></dir><file name="payment.phtml" hash="cc3bfd21f2a141ea403db094e1264781"/><dir name="review"><file name="button.phtml" hash="e2089ae34e409df2fa13977a55db5f04"/><file name="info.phtml" hash="54ea567e7273a0942fcdddfb95340e8e"/><file name="item.phtml" hash="244bba60d9151be71777e80e138b6ee7"/><file name="totals.phtml" hash="0decbe242701193fee270e1f0f520a93"/></dir><file name="review.phtml" hash="d2494b8faac5833e747a5d329ee4fab7"/><file name="shipping.phtml" hash="d0aba8dade93f6798285f7163ec65e58"/><dir name="shipping_method"><file name="additional.phtml" hash="78c6dab72fefb888f587221639bf9177"/><file name="available.phtml" hash="4feca53deabec45bc3b223e64e32c4f0"/></dir><file name="shipping_method.phtml" hash="edc75d0aecc103ed69b216ef76bc6af2"/><file name="style.phtml" hash="3a5e56f8a42b81291ae25beb36a0994a"/></dir><file name="onepage.phtml" hash="733ad23bfa6442a5fcab8c9a6bbf1b88"/></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="900db1b8385f75e448f7ca42c8d113da"/></dir><dir name="form"><file name="edit.phtml" hash="484b2b56cbf34dba73c78dc97552c024"/><file name="register.phtml" hash="978dc0d67f796c90e8675cbaec1a06ba"/></dir></dir><dir name="fatturazione"><dir name="customer"><dir name="address"><file name="edit.phtml" hash="e7f27a8a61d9554bfbc4f36dfff60e4d"/></dir></dir></dir><file name="form.phtml" hash="eec0416c8830c4ebe004256d86c7ea59"/><dir name="giftmessage"><file name="inline.phtml" hash="78814da47aed68315b7d1d6b2e64c4c7"/></dir><file name="js.phtml" hash="9af5ac67d9b1a4fc689084e135215f99"/><dir name="kega_checkout"><dir name="onepage"><file name="payment.phtml" hash="36ceb7a03629f08c789f42e98b1c1535"/></dir></dir><dir name="nwt"><dir name="kco"><dir name="cart"><dir name="item"><file name="default.phtml" hash="212018e8f0c4472a07fc81633d27c550"/></dir></dir><file name="checkout.phtml" hash="c7781347405e7e59322d9fc3b2f42b3c"/></dir></dir><dir name="page"><dir name="html"><file name="head.phtml" hash="b6a8cc30cd31bf642c2f885ed1fda855"/><file name="smart-app-banner.phtml" hash="8423731f246db33efb61026dd9ef5ddc"/></dir><file name="rwd.phtml" hash="06c53b02ad843574b22a803a709988f6"/></dir><dir name="symfony"><dir name="postcode"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="65181e0ab40a40671f35c54bc25b99af"/><file name="shipping.phtml" hash="a6e2a192b9998889e5d113a92df62623"/></dir></dir></dir></dir><dir name="vaimo"><dir name="klarna"><dir name="klarnacheckout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="f9f469de9cd1243cab176fc56071db64"/></dir></dir><file name="cart.phtml" hash="b40f17348beb248c4f1ff22374a1a05d"/><dir name="customer"><file name="balance.phtml" hash="198809cb8ebf8a468b89497c9abba07c"/></dir><dir name="discount"><file name="coupon.phtml" hash="1f3686b00a610d3f038c84e3621ef913"/></dir><file name="header.phtml" hash="fed93df0c84265a0f980b0de103945b8"/><file name="main.phtml" hash="94ad4f3aa30ae7db1131a1fe48ea2a99"/><file name="newsletter.phtml" hash="3a2251b9559e8b87b46ddf08b7cd27e2"/><file name="reward.phtml" hash="38c218d3777f11b03c3686067a706d00"/><file name="shipping_method.phtml" hash="44bb3c6efaab76641e02a07c2007a090"/><file name="sidebar.phtml" hash="410508fd9089e0be030915836abb42e2"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="japi"><dir name="css"><dir name="TIG"><dir name="Buckaroo3Extended"><file name="styles_opc.css" hash="9b0ecbbeb22655e2e896ec8134fa8188"/></dir></dir><file name="gomage-checkout.css" hash="223657dbb0aba2783bb9e8de4b633d93"/><dir name="icomoon"><dir name="fonts"><file name="icomoon.eot" hash="842065e274d718c38968a81a721d49f4"/><file name="icomoon.svg" hash="2deea3fcd9ecc464a422aa37943b5848"/><file name="icomoon.ttf" hash="8ffbfccd78de7c37eadeca837ee40344"/><file name="icomoon.woff" hash="32df67c3aed8769c316b3e7ff1bb637c"/></dir><file name="style.css" hash="178c956df2a327dc88e4ef8069caa9bc"/></dir><file name="send-cloud.css" hash="77f77fa89359fe508708ec522a5e76d8"/><file name="style.css" hash="352295713663485a3c816fe968cd6776"/><file name="style.less" hash="86c48a0573409f7d0431724421120cc0"/></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="95784759f7fa39bbac4dc1b10347585e"/><dir name="vaimo"><dir name="klarna"><file name="klarnautils.js" hash="e29553aa8446af7672c9ba1814fac3a5"/></dir></dir><dir name="varien"><file name="form.js" hash="9abc0bb4419828513b5c6e904a041616"/></dir></dir><dir name="lib"><dir name="bootstrap"><dir name="css"><file name="bootstrap.min.css" hash="5d5357cb3704e1f43a1f5bfed2aebf42"/></dir><dir name="fonts"><file name="glyphicons-halflings-regular.eot" hash="f4769f9bdb7466be65088239c12046d1"/><file name="glyphicons-halflings-regular.svg" hash="89889688147bd7575d6327160d64e760"/><file name="glyphicons-halflings-regular.ttf" hash="e18bbf611f2a2e43afc071aa2f4e1512"/><file name="glyphicons-halflings-regular.woff" hash="fa2772327f55d8198301fdb8bcfc8158"/><file name="glyphicons-halflings-regular.woff2" hash="448c34a56d699c29117adc64c43affeb"/></dir><dir name="js"><file name="collapse.js" hash="2bc99ca6c9b060ba5616f41ddd5e2703"/><file name="modal.js" hash="b7d8f688e67e78c07ffde44ec4248fd9"/><file name="transition.js" hash="3cb001675410903ecaadcfeb7c296965"/></dir></dir><dir name="jquery"><file name="jquery-1.11.2.min.js" hash="5790ead7ad3ba27397aedfa3d263b867"/><file name="jquery-noconflict.js" hash="32eb0a33820167f328a227e11210d32a"/></dir><dir name="ladda"><file name="ladda.min.css" hash="614e769024385cf21879d6a238b682e1"/><file name="ladda.min.js" hash="a34bcf417de7fc290ac5b034caca2371"/></dir><dir name="scrollto"><file name="scrollTo.js" hash="5c86793da8a4bfec6338bec965d35f6b"/></dir><dir name="smart-app-banner"><file name="smart-app-banner.css" hash="64c15053dbd22b44a519f55e75f6c2ca"/><file name="smart-app-banner.js" hash="4162cb20424080964b5d886125b73b47"/></dir><dir name="spin"><file name="spin.min.js" hash="1d06ceb800acbeae82d1fa2ad5b571de"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Jmango360_Japi.csv" hash="f6bcc8de631311da22d0097b4508d420"/></dir><dir name="fr_FR"><file name="Jmango360_Japi.csv" hash="18a1f2a8dfca8ba4a2cb98d2e7deb0a1"/></dir><dir name="it_IT"><file name="Jmango360_Japi.csv" hash="1c43aa2f566cd1b2edeaa1e544d1133f"/></dir><dir name="pt_PT"><file name="Jmango360_Japi.csv" hash="31398310d2400a9a1abc548345831778"/></dir><dir name="pt_BR"><file name="Jmango360_Japi.csv" hash="31398310d2400a9a1abc548345831778"/></dir><dir name="ar_SA"><file name="Jmango360_Japi.csv" hash="25b829fa5515c567af7ed8e5e4a2690a"/></dir><dir name="nl_NL"><file name="Jmango360_Japi.csv" hash="0d7d58f3ece899e82406432c4d50a74e"/></dir><dir name="sv_SE"><file name="Jmango360_Japi.csv" hash="3414d54579206e71cabaaea3153bc266"/></dir><dir name="da_DK"><file name="Jmango360_Japi.csv" hash="a8f243d230a312f4d5cee8c99a275ee7"/></dir><dir name="es_ES"><file name="Jmango360_Japi.csv" hash="0f763b984f64e095f863c2e66335c791"/></dir><dir name="de_DE"><file name="Jmango360_Japi.csv" hash="d97408dc0ece1a193669bc491798355a"/></dir></target></contents>
37
  <compatible/>
38
  <dependencies><required><php><min>5.2.0</min><max>7.1.0</max></php></required></dependencies>
39
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Jmango360_Japi</name>
4
+ <version>3.3.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
  For more details on JMango360 please visit our website http://www.jmango360.com or out knowledge site http://support.jmango360.com</description>
32
  <notes>* Bug fixes</notes>
33
  <authors><author><name>Duc Ngo</name><user>jmango360</user><email>duc@jmango360.com</email></author></authors>
34
+ <date>2017-04-14</date>
35
+ <time>09:55:22</time>
36
+ <contents><target name="magecommunity"><dir name="Jmango360"><dir name="Japi"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Hide.php" hash="2e9fb95869151bb2a2c7cf7fca6f998f"/></dir></dir></dir></dir></dir><dir name="Order"><file name="Grid.php" hash="22273d3d0acaf1b0a093e524f87c6aff"/></dir><file name="Order.php" hash="04e94160608b989286aebeb190299565"/><dir name="Report"><dir name="Chart"><file name="Customers.php" hash="9a4c7c4af19c584aeb2dd5bc0f6d4735"/><file name="Orders.php" hash="ae5f516c56c5c8c72c14a7b0aa275ac6"/><file name="Sales.php" hash="7d5db491deeaa90571e965bbc2c07e23"/></dir><dir name="Customers"><file name="Chart.php" hash="69f2a7121d61f24d9b75de7281def8e5"/><file name="Grid.php" hash="f1adb7504646338330b7e7ef64a4fc5c"/></dir><file name="Customers.php" hash="6ffd72b1280b6cce39665fd35b5c4a78"/><dir name="Filter"><dir name="Form"><file name="Orders.php" hash="92574de82aa73cdd9de0cc59e20dadc4"/></dir><file name="Form.php" hash="7bf3f161f66abf97fc7db57e0acd59cf"/></dir><dir name="Orders"><file name="Chart.php" hash="75bd0bbe8649f423918dec555d3e9592"/><file name="Grid.php" hash="35590c1a54c8490c3982f0df038b8328"/></dir><file name="Orders.php" hash="6416ac5f6889d5a06f2a32f5ff00cbe2"/><dir name="Sales"><file name="Chart.php" hash="416f4ff4cdaa7f8f099dad3ffccacd68"/><file name="Grid.php" hash="baa9caa57906627ed3f31ec4fd87a500"/></dir><file name="Sales.php" hash="c1d1df3e7b90451e42142bb414a28d6b"/></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="2b02a6c90256c9bcc6d99d2d9301413e"/><file name="Log.php" hash="d92a34eab2fbac5dc45ad12fc7df11ed"/><file name="User.php" hash="cb7dfc72c7acde78efbabc49617cba3c"/><file name="Version.php" hash="b9802c302ef7ecacf106993e8506d314"/></dir></dir></dir><dir name="Widget"><dir name="Form"><dir name="Renderer"><dir name="Element"><file name="Chart.php" hash="f6f4c2ff80cb71f3e0758809b8ad480d"/></dir></dir></dir></dir></dir><file name="Banner.php" hash="0cafa22b3012e1a3b39f0e72a03534fa"/><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="43581de27feb1a0187bb0aee68bab0e9"/><file name="Category.php" hash="5d01fc7d90af7eccd412ef61056b825b"/><file name="Decimal.php" hash="d40a09709bda7b1011e4d2c970308638"/><file name="Price.php" hash="02dfe6d9429f0190ecf9a41f73653330"/></dir><file name="View.php" hash="e217dfaf2a2ee6c2fa59ba9db0244eb9"/></dir><dir name="Product"><file name="List.php" hash="e1336372e4aa63e0e35c7e9ea1bd3852"/></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="4ba3d242a3343b1786cf081047650bb9"/></dir></dir><file name="Layer.php" hash="4d48db1a2b35151c363ed045646199a9"/></dir><dir name="Checkout"><dir name="Cart"><file name="Totals.php" hash="7aced913b0e0cd1622dd8d03b376327d"/></dir><dir name="Onepage"><file name="Addjs.php" hash="077d09b15ec8823c76854a575359cb1a"/><file name="Address.php" hash="bf596c77e982d4350fc532a3deb79e47"/><file name="Billing.php" hash="afc74029a0b8d571e440f50a04ab4340"/><file name="Button.php" hash="039d56b9b7982d5e32433d71f4b53959"/><file name="Shipping.php" hash="aaa1b70ecc095d297d6ab0a90f441c70"/></dir><file name="Onepage.php" hash="b02fe40ae9c73c0d1248c178a4f2d133"/></dir><file name="Form.php" hash="e16eaa258cf650bd2106372fcf43ae9b"/><dir name="GiftMessage"><dir name="Message"><file name="Inline.php" hash="8f20e9383634f46b624f15d77b616380"/></dir></dir><file name="Js.php" hash="8e8091283a5a3142fec7486077a9586e"/></dir><dir name="Controller"><file name="Abstract.php" hash="ccb6cc7460e7bbf30293983bbe61a07d"/></dir><file name="Exception.php" hash="bd30a2efecdf9a8197f066d9574cd1ab"/><dir name="Helper"><dir name="Adminhtml"><dir name="Report"><file name="Order.php" hash="9f7a02c48f3f8e0545488375b03d7333"/></dir></dir><file name="Data.php" hash="6edd0c13a0e16f60f899c8cbfe9f5df8"/><file name="Debug.php" hash="1002a59a5dee41f34da875979e907cbf"/><dir name="GiftMessage"><file name="Message.php" hash="5d1df4710b0aa3154ce0fa744b0244f3"/></dir><file name="Js.php" hash="55565b7d668b993fae6c180b30766d17"/><dir name="Product"><file name="Bundle.php" hash="c89baf5638e81d030f5a72b011af7cfd"/><file name="Configurable.php" hash="58c1e0b70c30346839e236e7346a24bd"/><file name="Downloadable.php" hash="db531632adda525a91625da8d13296d6"/><file name="File.php" hash="0968c5688015b9c7a002457428607f80"/><file name="Grouped.php" hash="82db4c3d5b6ba987004a653729013149"/><file name="Media.php" hash="291003011bdca7299280ef0136089edf"/><file name="Options.php" hash="1bc8973b5a9227b0b7de93f2307c7fb9"/><file name="Review.php" hash="e415a0215a8dfbdac5ed76e6c065c705"/><file name="TierPrice.php" hash="4a7e94d83eed9e7ba47ee196b4ae15d9"/></dir><file name="Product.php" hash="f75c5ed6faacfd3346cd4d3c1352d60f"/><dir name="Review"><file name="Bazaarvoice.php" hash="db89feba62126e98b56c2e3b68980f23"/></dir><file name="Tax.php" hash="05c99785012d55fce12c4f094385e25c"/></dir><dir name="Model"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="f058e0ced4579a556cbb969a98c7fc66"/><file name="Decimal.php" hash="849e1dbc11c99fb8f7a1f9d33e0d7908"/><file name="Price.php" hash="2bdc6f1ff06ad5aa736972c72558fd25"/></dir></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="81b287f96c40094c2a3743ddc6f6c6cb"/></dir></dir></dir><dir name="Core"><file name="Session.php" hash="7c5531af03c6a98e14dda3d358270938"/></dir><file name="Dispatcher.php" hash="81004902926427ba06a1a90d6e799554"/><dir name="Magpleasure"><dir name="Tierprices"><file name="Price.php" hash="1bfd6ed086649f518b3e98436513a491"/></dir></dir><dir name="Observer"><dir name="Controller"><file name="Front.php" hash="1098d9b5f6a214e53fb8657fe1fd250d"/></dir></dir><file name="Observer.php" hash="c19a6c0209260aad4d56b76672d70826"/><dir name="Renderer"><file name="Json.php" hash="b7c471548eecae7c9d05072aa6695cbb"/></dir><file name="Renderer.php" hash="47c320f795f1328a8df37d4b9af56abc"/><file name="Request.php" hash="ece58a0074c2ba238c102983e05d15a8"/><dir name="Resource"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="5bd13fbb5e8012ad24dc7908bc5ea755"/><file name="Decimal.php" hash="551120b728226ed408292fac732a05d7"/><file name="Price.php" hash="321f70b515b4d3deb9c7cc58eb803bf2"/></dir></dir></dir><dir name="Report"><dir name="Order"><file name="Collection.php" hash="1c5e69f548f2b4a0da8f789d7d03b643"/></dir></dir><dir name="Sales"><dir name="Report"><dir name="Order"><dir name="Collection"><file name="Aggregated.php" hash="61848c0b80699acbf478f279231c161d"/><file name="Live.php" hash="ea323ca0eec324ece97f08ece6639fb9"/></dir></dir><file name="Order.php" hash="53641b24d23bd811c278f65b56d5765f"/></dir></dir><file name="Setup.php" hash="3a97ea2e652869965f5b47b9e3099896"/></dir><file name="Response.php" hash="7209bb2e9c5b97b2a46d10ff97aa6740"/><dir name="Rest"><dir name="Cart"><file name="Coupon.php" hash="a5be6cfe674b46b6ba290b0388edf8ad"/><file name="Update.php" hash="71dccaac258d2e9c584ac6b35c72621e"/></dir><file name="Cart.php" hash="39e0f2f2b7630e5884d907f42bc5e11a"/><dir name="Catalog"><dir name="Category"><file name="Assignedproducts.php" hash="7658ab222c320e1f86f7ce0876ed5a28"/><file name="Tree.php" hash="5dce196312e33d3f7ac4a2235312e587"/></dir><dir name="Search"><file name="Products.php" hash="8b8f43f4f563dc27002884a57d42c858"/><file name="Terms.php" hash="71cadbe1fa7b19c96f2201f087c832ff"/></dir></dir><file name="Catalog.php" hash="a71eed5f39431b40a80b06f566baa653"/><dir name="Checkout"><file name="Methods.php" hash="ce5e08ab2b5cf944c5b6b9ccc25773e0"/><file name="Onepage.php" hash="e1e04e5936867fe452a08ee5774617bf"/><file name="Redirect.php" hash="19932aa45299e5ea3995f52cb9987183"/><file name="Submit.php" hash="50ac35f8218f5c3abeb0946e138db2ae"/></dir><file name="Checkout.php" hash="514f5be707f0a1a1175b825983831705"/><dir name="Cms"><file name="Page.php" hash="93bd77b2b3f2b8b1e72a3e6391553426"/></dir><file name="Cms.php" hash="a12fd4b2a437c8a6c0b2b65a1e471c23"/><dir name="Customer"><file name="Address.php" hash="cef92ca089a5cd7cd1218339104c4894"/><file name="Edit.php" hash="226f77d8cee872c4c622c062cfe1eff0"/><file name="Group.php" hash="c717d5faf52919787aa0f87270856ca3"/><file name="List.php" hash="17f0096755be01327c163a701b9f3780"/><file name="Login.php" hash="77df1e0afcf40e6129fb61397217f053"/><dir name="Order"><file name="List.php" hash="1e6ea53a87108ca487d9a58ac42f382f"/></dir><file name="Order.php" hash="da1565601bac963b72f64b0e6a147704"/><file name="Password.php" hash="6df128903742a8723f0a59c4203f8b12"/><file name="Register.php" hash="e25d0045e0d8ff650ca208b9fe75e3ae"/></dir><file name="Customer.php" hash="ecf57dcf8bbba1ebb12ed10630bd1715"/><file name="Mage.php" hash="7082fc751e2aad8ba041c92dd93fff01"/><dir name="Product"><file name="Crosssell.php" hash="1fbc8c3886de3703a77e911ac459422c"/><file name="List.php" hash="8d84ec9326a6747de6d2ca0a5aceee6c"/><file name="Price.php" hash="d47c9903d5719b0cee73836419e27bb1"/><file name="Purchased.php" hash="feb7fd9176da74e59722984732d04a9a"/><file name="Related.php" hash="8a6b52fc39f099f4339a91ad5709537a"/><file name="Review.php" hash="549ffdfaea3d95ac1f18e9d4ef18d6eb"/><file name="Search.php" hash="9e130de2d112ee567b4756b63b050809"/><file name="Upsell.php" hash="56a4075e88a75d1cfa89e7da1130a2b4"/><file name="Url.php" hash="4b920cc4913b77b1e463afad27ad5b78"/><file name="Viewed.php" hash="c2a9c99a56b57d8288eec75657f9bd47"/></dir><file name="Product.php" hash="33f395e10d5578d948bf32a7bd5388fd"/><file name="Wishlist.php" hash="ee26b4efcbf3b2c39aec2c1e3402c35b"/></dir><file name="Server.php" hash="1f51d81e323af28fd78618e62db11d82"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Icon.php" hash="242de9b094f94e397dc606dc926cc33f"/><file name="Payment.php" hash="5964322419785004a6c3f84a940d8d13"/><file name="Shipping.php" hash="016f22646fbac10cd81c6b7904c9abde"/></dir><dir name="Source"><dir name="Address"><file name="Attributes.php" hash="1a29b64d271693fba3ea76599d3408e2"/><file name="Validatetype.php" hash="6f4d9767ac0e476ec6a6cd3964882721"/></dir><file name="Attributes.php" hash="4b4de29e00623c971038d6fe895e5e76"/><dir name="Bazaarvoice"><file name="Env.php" hash="bc619503d1b175e74f7eaf2ba15ae8b4"/></dir><dir name="Catalog"><file name="Direction.php" hash="68cd86444037506ec39de8eba3c07d8b"/><file name="Sortby.php" hash="d2aba9a3798b8e2eee8c275fbbd202e1"/></dir><file name="Catalogimage.php" hash="500f9994ea13e463a5e5e5d3963cfbd1"/><dir name="Customer"><file name="Attributes.php" hash="8963356aabf88647ab5ecbbbe8cfb9f1"/></dir><file name="Defaultimage.php" hash="04c896116c01b16e2ac8d7f23bbc29d6"/><file name="Payment.php" hash="70e82f4887eb297d6a58160f64bfd204"/><file name="Shipping.php" hash="7d8e5a2dc8a57099d908bef2403aad46"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Japi"><file name="LogController.php" hash="b17e024285aea7b6834cf5bc9b868916"/><file name="OrderController.php" hash="e6b7c1f5a7156a06fa3f51c32e6bbba9"/><file name="ReportController.php" hash="e88b2425e0a39f7f2b0c2902a6d2d5e9"/><file name="TroubleshootingController.php" hash="bb8951d1523a56a0f55e827614a38d66"/></dir></dir><file name="CheckoutController.php" hash="8353c64f00e22143bfc5264bcdc07998"/><dir name="Customer"><file name="AccountController.php" hash="2e055c5b22a2414263a1b7d3fd0607f9"/></dir><file name="CustomerController.php" hash="1336f9ccebf73e6e8f69d33503cd2bd7"/><file name="ImageController.php" hash="a5b48d4e075faf989c908bd0954d3878"/><file name="KcoController.php" hash="38e15112f3438edd6723478cf18c6cab"/><file name="KlarnaController.php" hash="fafb22cc7b5e2f69ee3dfb9094a04dcd"/><dir name="Rest"><file name="CartController.php" hash="3994aafe8e31094b765fc0120c888fa3"/><file name="CatalogController.php" hash="8df5b798bb0330f5e3182717e1e15bf7"/><file name="CheckoutController.php" hash="2fd4a4bca1a37788616645f50392a701"/><file name="CmsController.php" hash="cb1bc3f67136434c4d8af1b5660eab1e"/><file name="CustomerController.php" hash="ca2b76f8f4e8a84d81749b37910287bd"/><file name="MageController.php" hash="e267156b2acf82d309b6c8c4680a7371"/><file name="ProductController.php" hash="81c0a0b0afcdfe99d6c651244baa075c"/><file name="WishlistController.php" hash="d7b0c8ff628b4244d120843d54a41248"/></dir><file name="TestController.php" hash="ffb60653808c0e0af00cc73d4755ef99"/></dir><dir name="data"><dir name="japi_setup"><file name="data-install-2.0.0.php" hash="bcf6de66f6b296182268b11b3e80bbeb"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="9d1888abb4ed93ec7b3e1fa678fb1411"/><file name="config.xml" hash="56b4184fb3b3ed8713bf1c857fdcd849"/><file name="system.xml" hash="2bc606025d6a5f2f656fbbb9da9b1b4f"/></dir><dir name="sql"><dir name="japi_setup"><file name="install-1.0.0.php" hash="ce407ff5715c837d02b1aba7975bf512"/><file name="upgrade-2.0.1.2-2.0.2.php" hash="6fc0e0306b685279fc60f298643d181a"/><file name="upgrade-2.1.6-2.2.0.php" hash="947afcf7e20dfc2c3a3e45d8e5c316cd"/><file name="upgrade-2.2.0-2.2.1.php" hash="12a28845acf823eefc5f613b048efe52"/><file name="upgrade-2.8.2-2.9.0.php" hash="2761423f65920af0f8ba05d438710869"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Jmango360_Japi.xml" hash="b60701b3a14084fa1a440ca5fe5bf47b"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="jmango360_japi.xml" hash="d6e1656e4a8e79dd9e37e0b09a5f57a6"/></dir><dir name="template"><dir name="japi"><dir name="report"><file name="chart.phtml" hash="102704d97cf69793a50fa96538bd767f"/><dir name="grid"><file name="container.phtml" hash="79050f4e2bc7b70ae452e850fc27e0b7"/></dir></dir><dir name="widget"><dir name="form"><dir name="renderer"><dir name="element"><file name="chart.phtml" hash="fb14be221a9ec0faad4ace8579c5dddc"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="jmango360_japi.xml" hash="4f560dae03a2dbcb5901395a55031c1e"/></dir><dir name="template"><dir name="japi"><dir name="TIG"><dir name="PostNL"><dir name="av"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="0cb781955d33fae46da09d62bd6fdaf3"/><file name="shipping.phtml" hash="cb72f56f0d26171c429d7a70701e0913"/></dir></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="9a623e8c2184d08c2b288456ba50aef4"/><file name="postcode_check.phtml" hash="cbb8bfd76db65041cafacf976312ceb7"/></dir></dir></dir><dir name="do"><dir name="onepage"><file name="available.phtml" hash="8fce41a1696540a4546b52c025f3dde7"/></dir></dir></dir></dir><dir name="checkout"><dir name="onepage"><file name="additional_agreements.phtml" hash="b1c6e10e1227321e38346110b37e6c57"/><file name="address.phtml" hash="3164ff4fc2d5f798e591a168d9d937d1"/><file name="agreements.phtml" hash="ae43c3b670b0d11a1217ca927a184ff7"/><file name="billing.phtml" hash="d5491399cbce3e565757023dc3e594ed"/><file name="coupon.phtml" hash="a27beeba5f8b2160dccc6d4198c6517d"/><file name="js.phtml" hash="ac1740fe3e829d228a57b1e1a9dda58b"/><dir name="payment"><file name="info.phtml" hash="26bb640843ee3fb6e72b4f2739f0a111"/><file name="methods.phtml" hash="1680b5e33d8123fdb58ecbd353ff1ba7"/></dir><file name="payment.phtml" hash="cc3bfd21f2a141ea403db094e1264781"/><dir name="review"><file name="button.phtml" hash="e2089ae34e409df2fa13977a55db5f04"/><file name="info.phtml" hash="54ea567e7273a0942fcdddfb95340e8e"/><file name="item.phtml" hash="244bba60d9151be71777e80e138b6ee7"/><file name="totals.phtml" hash="0decbe242701193fee270e1f0f520a93"/></dir><file name="review.phtml" hash="d2494b8faac5833e747a5d329ee4fab7"/><file name="shipping.phtml" hash="d0aba8dade93f6798285f7163ec65e58"/><dir name="shipping_method"><file name="additional.phtml" hash="78c6dab72fefb888f587221639bf9177"/><file name="available.phtml" hash="4feca53deabec45bc3b223e64e32c4f0"/></dir><file name="shipping_method.phtml" hash="edc75d0aecc103ed69b216ef76bc6af2"/><file name="style.phtml" hash="3a5e56f8a42b81291ae25beb36a0994a"/></dir><file name="onepage.phtml" hash="733ad23bfa6442a5fcab8c9a6bbf1b88"/></dir><dir name="customer"><dir name="address"><file name="edit.phtml" hash="900db1b8385f75e448f7ca42c8d113da"/></dir><dir name="form"><file name="edit.phtml" hash="484b2b56cbf34dba73c78dc97552c024"/><file name="register.phtml" hash="978dc0d67f796c90e8675cbaec1a06ba"/></dir></dir><dir name="fatturazione"><dir name="customer"><dir name="address"><file name="edit.phtml" hash="e7f27a8a61d9554bfbc4f36dfff60e4d"/></dir></dir></dir><file name="form.phtml" hash="eec0416c8830c4ebe004256d86c7ea59"/><dir name="giftmessage"><file name="inline.phtml" hash="78814da47aed68315b7d1d6b2e64c4c7"/></dir><file name="js.phtml" hash="9af5ac67d9b1a4fc689084e135215f99"/><dir name="kega_checkout"><dir name="onepage"><file name="payment.phtml" hash="36ceb7a03629f08c789f42e98b1c1535"/></dir></dir><dir name="nwt"><dir name="kco"><dir name="cart"><dir name="item"><file name="default.phtml" hash="212018e8f0c4472a07fc81633d27c550"/></dir></dir><file name="checkout.phtml" hash="c7781347405e7e59322d9fc3b2f42b3c"/></dir></dir><dir name="page"><dir name="html"><file name="head.phtml" hash="b6a8cc30cd31bf642c2f885ed1fda855"/><file name="smart-app-banner.phtml" hash="8423731f246db33efb61026dd9ef5ddc"/></dir><file name="rwd.phtml" hash="06c53b02ad843574b22a803a709988f6"/></dir><dir name="symfony"><dir name="postcode"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="65181e0ab40a40671f35c54bc25b99af"/><file name="shipping.phtml" hash="a6e2a192b9998889e5d113a92df62623"/></dir></dir></dir></dir><dir name="vaimo"><dir name="klarna"><dir name="klarnacheckout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="f9f469de9cd1243cab176fc56071db64"/></dir></dir><file name="cart.phtml" hash="b40f17348beb248c4f1ff22374a1a05d"/><dir name="customer"><file name="balance.phtml" hash="198809cb8ebf8a468b89497c9abba07c"/></dir><dir name="discount"><file name="coupon.phtml" hash="1f3686b00a610d3f038c84e3621ef913"/></dir><file name="header.phtml" hash="fed93df0c84265a0f980b0de103945b8"/><file name="main.phtml" hash="94ad4f3aa30ae7db1131a1fe48ea2a99"/><file name="newsletter.phtml" hash="3a2251b9559e8b87b46ddf08b7cd27e2"/><file name="reward.phtml" hash="38c218d3777f11b03c3686067a706d00"/><file name="shipping_method.phtml" hash="44bb3c6efaab76641e02a07c2007a090"/><file name="sidebar.phtml" hash="410508fd9089e0be030915836abb42e2"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="japi"><dir name="css"><dir name="TIG"><dir name="Buckaroo3Extended"><file name="styles_opc.css" hash="9b0ecbbeb22655e2e896ec8134fa8188"/></dir></dir><file name="gomage-checkout.css" hash="223657dbb0aba2783bb9e8de4b633d93"/><dir name="icomoon"><dir name="fonts"><file name="icomoon.eot" hash="842065e274d718c38968a81a721d49f4"/><file name="icomoon.svg" hash="2deea3fcd9ecc464a422aa37943b5848"/><file name="icomoon.ttf" hash="8ffbfccd78de7c37eadeca837ee40344"/><file name="icomoon.woff" hash="32df67c3aed8769c316b3e7ff1bb637c"/></dir><file name="style.css" hash="178c956df2a327dc88e4ef8069caa9bc"/></dir><file name="send-cloud.css" hash="77f77fa89359fe508708ec522a5e76d8"/><file name="style.css" hash="352295713663485a3c816fe968cd6776"/><file name="style.less" hash="86c48a0573409f7d0431724421120cc0"/></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="ea1217fcd211b050d86a58ad55e89320"/><dir name="vaimo"><dir name="klarna"><file name="klarnautils.js" hash="e29553aa8446af7672c9ba1814fac3a5"/></dir></dir><dir name="varien"><file name="form.js" hash="9abc0bb4419828513b5c6e904a041616"/></dir></dir><dir name="lib"><dir name="bootstrap"><dir name="css"><file name="bootstrap.min.css" hash="5d5357cb3704e1f43a1f5bfed2aebf42"/></dir><dir name="fonts"><file name="glyphicons-halflings-regular.eot" hash="f4769f9bdb7466be65088239c12046d1"/><file name="glyphicons-halflings-regular.svg" hash="89889688147bd7575d6327160d64e760"/><file name="glyphicons-halflings-regular.ttf" hash="e18bbf611f2a2e43afc071aa2f4e1512"/><file name="glyphicons-halflings-regular.woff" hash="fa2772327f55d8198301fdb8bcfc8158"/><file name="glyphicons-halflings-regular.woff2" hash="448c34a56d699c29117adc64c43affeb"/></dir><dir name="js"><file name="collapse.js" hash="2bc99ca6c9b060ba5616f41ddd5e2703"/><file name="modal.js" hash="b7d8f688e67e78c07ffde44ec4248fd9"/><file name="transition.js" hash="3cb001675410903ecaadcfeb7c296965"/></dir></dir><dir name="jquery"><file name="jquery-1.11.2.min.js" hash="5790ead7ad3ba27397aedfa3d263b867"/><file name="jquery-noconflict.js" hash="32eb0a33820167f328a227e11210d32a"/></dir><dir name="ladda"><file name="ladda.min.css" hash="614e769024385cf21879d6a238b682e1"/><file name="ladda.min.js" hash="a34bcf417de7fc290ac5b034caca2371"/></dir><dir name="scrollto"><file name="scrollTo.js" hash="5c86793da8a4bfec6338bec965d35f6b"/></dir><dir name="smart-app-banner"><file name="smart-app-banner.css" hash="64c15053dbd22b44a519f55e75f6c2ca"/><file name="smart-app-banner.js" hash="4162cb20424080964b5d886125b73b47"/></dir><dir name="spin"><file name="spin.min.js" hash="1d06ceb800acbeae82d1fa2ad5b571de"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Jmango360_Japi.csv" hash="3ecbadafe75c076e087389e527c2fa4e"/></dir><dir name="fr_FR"><file name="Jmango360_Japi.csv" hash="18a1f2a8dfca8ba4a2cb98d2e7deb0a1"/></dir><dir name="it_IT"><file name="Jmango360_Japi.csv" hash="2ff891468a5c5fe0bd3775cc155341cb"/></dir><dir name="pt_PT"><file name="Jmango360_Japi.csv" hash="3a70c94cf76ccf0649ab2c525f2acece"/></dir><dir name="pt_BR"><file name="Jmango360_Japi.csv" hash="3a70c94cf76ccf0649ab2c525f2acece"/></dir><dir name="ar_SA"><file name="Jmango360_Japi.csv" hash="25b829fa5515c567af7ed8e5e4a2690a"/></dir><dir name="nl_NL"><file name="Jmango360_Japi.csv" hash="f37b336b47a320803a967237a7765a2a"/></dir><dir name="sv_SE"><file name="Jmango360_Japi.csv" hash="3414d54579206e71cabaaea3153bc266"/></dir><dir name="da_DK"><file name="Jmango360_Japi.csv" hash="a8f243d230a312f4d5cee8c99a275ee7"/></dir><dir name="es_ES"><file name="Jmango360_Japi.csv" hash="0f763b984f64e095f863c2e66335c791"/></dir><dir name="de_DE"><file name="Jmango360_Japi.csv" hash="d97408dc0ece1a193669bc491798355a"/></dir></target></contents>
37
  <compatible/>
38
  <dependencies><required><php><min>5.2.0</min><max>7.1.0</max></php></required></dependencies>
39
  </package>
skin/frontend/base/default/japi/js/checkout.js CHANGED
@@ -512,6 +512,7 @@ if (typeof Payment !== 'undefined') {
512
  if (typeof Review !== 'undefined') {
513
  Review.prototype.save = function () {
514
  if (checkout.loadWaiting != false) return;
 
515
  checkout.setLoadWaiting('review');
516
  var params = Form.serialize(payment.form);
517
  if (this.agreementsForm) {
@@ -530,4 +531,20 @@ if (typeof Review !== 'undefined') {
530
  Review.prototype.resetLoadWaiting = function (transport) {
531
  checkout.setLoadWaiting(false, this.isSuccess);
532
  };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
533
  }
512
  if (typeof Review !== 'undefined') {
513
  Review.prototype.save = function () {
514
  if (checkout.loadWaiting != false) return;
515
+ if (!this.moreValidate()) return;
516
  checkout.setLoadWaiting('review');
517
  var params = Form.serialize(payment.form);
518
  if (this.agreementsForm) {
531
  Review.prototype.resetLoadWaiting = function (transport) {
532
  checkout.setLoadWaiting(false, this.isSuccess);
533
  };
534
+
535
+ Review.prototype.addMoreValidateFunction = function (code, func) {
536
+ if (!this.moreValidateFunc) this.moreValidateFunc = $H({});
537
+ this.moreValidateFunc.set(code, func);
538
+ };
539
+
540
+ Review.prototype.moreValidate = function () {
541
+ var validateResult = true;
542
+ if (!this.moreValidateFunc) this.moreValidateFunc = $H({});
543
+ (this.moreValidateFunc).each(function (validate) {
544
+ if ((validate.value)() == false) {
545
+ validateResult = false;
546
+ }
547
+ }.bind(this));
548
+ return validateResult;
549
+ };
550
  }