MVentory_API - Version 1.4.0

Version Notes

* Added use of SKU attribute when searching product by barcode

* Support for multicategories in category matching editor

* Category matching editor improvements (better help and error messages)

* Dropped functionality for sorting attributes in catalog filter, functionality for better product details on frontend

* Other small improvements and bug fixes

Download this release

Release Info

Developer Anatoly A. Kazantsev
Extension MVentory_API
Version 1.4.0
Comparing to
See all releases


Code changes from version 1.1.3 to 1.4.0

Files changed (95) hide show
  1. app/code/community/MVentory/API/Block/Carrier/Volumerate/Grid.php +7 -5
  2. app/code/community/MVentory/API/Block/Matching.php +18 -13
  3. app/code/community/MVentory/API/Block/Matching/Categories.php +7 -5
  4. app/code/community/MVentory/API/Block/Metadata.php +7 -5
  5. app/code/community/MVentory/API/Block/Setting/Buildinfo.php +7 -5
  6. app/code/community/MVentory/API/Block/Setting/Fieldset.php +7 -5
  7. app/code/community/MVentory/API/Block/System/Config/Form/Field/Exportrates.php +7 -5
  8. app/code/community/MVentory/API/Block/System/Config/Form/Field/Imgcliplog.php +7 -5
  9. app/code/community/MVentory/API/Helper/Barcode.php +7 -5
  10. app/code/community/MVentory/API/Helper/Data.php +7 -5
  11. app/code/community/MVentory/API/Helper/Image.php +7 -5
  12. app/code/community/MVentory/API/Helper/Imageclipper.php +7 -5
  13. app/code/community/MVentory/API/Helper/Mage/Sales/Data.php +7 -5
  14. app/code/community/MVentory/API/Helper/Product.php +7 -5
  15. app/code/community/MVentory/API/Helper/Product/Attribute.php +7 -5
  16. app/code/community/MVentory/API/Helper/Product/Configurable.php +7 -5
  17. app/code/community/MVentory/API/Helper/String.php +7 -5
  18. app/code/community/MVentory/API/Model/Carrier/Volumerate.php +7 -5
  19. app/code/community/MVentory/API/Model/Cart/Api.php +17 -15
  20. app/code/community/MVentory/API/Model/Cart/Item.php +7 -5
  21. app/code/community/MVentory/API/Model/Cart/Payment/Api.php +8 -6
  22. app/code/community/MVentory/API/Model/Category/Api.php +7 -5
  23. app/code/community/MVentory/API/Model/Config.php +7 -5
  24. app/code/community/MVentory/API/Model/Config/Data/Websites.php +7 -5
  25. app/code/community/MVentory/API/Model/Dataflow/Api.php +7 -5
  26. app/code/community/MVentory/API/Model/Matching.php +7 -5
  27. app/code/community/MVentory/API/Model/Method/Dummy.php +0 -32
  28. app/code/community/MVentory/API/Model/Observer.php +7 -5
  29. app/code/community/MVentory/API/Model/Order/Api.php +48 -12
  30. app/code/community/MVentory/API/Model/Order/Shipment/Api.php +102 -5
  31. app/code/community/MVentory/API/Model/Order/Transaction.php +7 -5
  32. app/code/community/MVentory/API/Model/Payment.php +33 -0
  33. app/code/community/MVentory/API/Model/Product/Action.php +7 -5
  34. app/code/community/MVentory/API/Model/Product/Api.php +56 -19
  35. app/code/community/MVentory/API/Model/Product/Attribute/Api.php +31 -7
  36. app/code/community/MVentory/API/Model/Product/Attribute/Media/Api.php +59 -8
  37. app/code/community/MVentory/API/Model/Product/Attribute/Set/Api.php +7 -5
  38. app/code/community/MVentory/API/Model/Resource/Carrier/Volumerate.php +7 -5
  39. app/code/community/MVentory/API/Model/Resource/Carrier/Volumerate/Collection.php +7 -5
  40. app/code/community/MVentory/API/Model/Resource/Cart/Item.php +7 -5
  41. app/code/community/MVentory/API/Model/Resource/Entity/Attribute.php +7 -5
  42. app/code/community/MVentory/API/Model/Resource/Matching.php +7 -5
  43. app/code/community/MVentory/API/Model/Resource/Order/Transaction.php +7 -5
  44. app/code/community/MVentory/API/Model/Resource/Product.php +7 -5
  45. app/code/community/MVentory/API/Model/Resource/Setup.php +7 -5
  46. app/code/community/MVentory/API/Model/Resource/Sku.php +7 -5
  47. app/code/community/MVentory/API/Model/Setting/Backend/Dbxpath.php +7 -5
  48. app/code/community/MVentory/API/Model/{Carrier/Dummyshipping.php → Shipping.php} +15 -13
  49. app/code/community/MVentory/API/Model/Stock/Item/Api.php +7 -5
  50. app/code/community/MVentory/API/Model/System/Config/Backend/Carrier/Volumerate.php +7 -5
  51. app/code/community/MVentory/API/Model/System/Config/Backend/Imgclip/Backupfolder.php +7 -5
  52. app/code/community/MVentory/API/Model/System/Config/Backend/Imgclip/Csvlog.php +7 -5
  53. app/code/community/MVentory/API/Model/System/Config/Source/Allowedshippingtypes.php +7 -5
  54. app/code/community/MVentory/API/Model/System/Config/Source/Contenttype.php +7 -5
  55. app/code/community/MVentory/API/Model/System/Config/Source/Customers.php +7 -5
  56. app/code/community/MVentory/API/Model/System/Config/Source/Inputmethod.php +7 -5
  57. app/code/community/MVentory/API/Model/System/Config/Source/Visibility.php +7 -5
  58. app/code/community/MVentory/API/Model/System/Config/Source/Website.php +7 -5
  59. app/code/community/MVentory/API/controllers/AppController.php +7 -5
  60. app/code/community/MVentory/API/controllers/CarriersController.php +7 -5
  61. app/code/community/MVentory/API/controllers/Catalog/ProductController.php +7 -5
  62. app/code/community/MVentory/API/controllers/CustomerController.php +7 -5
  63. app/code/community/MVentory/API/controllers/DropboxController.php +7 -5
  64. app/code/community/MVentory/API/controllers/ImageController.php +7 -5
  65. app/code/community/MVentory/API/controllers/LogsController.php +7 -5
  66. app/code/community/MVentory/API/controllers/MatchingController.php +7 -5
  67. app/code/community/MVentory/API/controllers/QrController.php +7 -5
  68. app/code/community/MVentory/API/controllers/SwitchController.php +7 -5
  69. app/code/community/MVentory/API/data/mventory_setup/data-upgrade-20-21.php +7 -5
  70. app/code/community/MVentory/API/data/mventory_setup/data-upgrade-23-24.php +7 -5
  71. app/code/community/MVentory/API/data/mventory_setup/data-upgrade-27-28.php +7 -5
  72. app/code/community/MVentory/API/data/mventory_setup/data-upgrade-28-29.php +7 -5
  73. app/code/community/MVentory/API/etc/adminhtml.xml +7 -5
  74. app/code/community/MVentory/API/etc/api.xml +716 -110
  75. app/code/community/MVentory/API/etc/config.xml +17 -15
  76. app/code/community/MVentory/API/etc/system.xml +8 -6
  77. app/code/community/MVentory/API/sql/mventory_setup/install-3.php +7 -5
  78. app/code/community/MVentory/API/sql/mventory_setup/upgrade-10-11.php +7 -5
  79. app/code/community/MVentory/API/sql/mventory_setup/upgrade-12-13.php +7 -5
  80. app/code/community/MVentory/API/sql/mventory_setup/upgrade-17-18.php +7 -5
  81. app/code/community/MVentory/API/sql/mventory_setup/upgrade-18-19.php +7 -5
  82. app/code/community/MVentory/API/sql/mventory_setup/upgrade-20-21.php +7 -5
  83. app/code/community/MVentory/API/sql/mventory_setup/upgrade-21-22.php +7 -5
  84. app/code/community/MVentory/API/sql/mventory_setup/upgrade-22-23.php +7 -5
  85. app/code/community/MVentory/API/sql/mventory_setup/upgrade-24-25.php +7 -5
  86. app/code/community/MVentory/API/sql/mventory_setup/upgrade-25-26.php +7 -5
  87. app/code/community/MVentory/API/sql/mventory_setup/upgrade-26-27.php +7 -5
  88. app/code/community/MVentory/API/sql/mventory_setup/upgrade-3-4.php +7 -5
  89. app/code/community/MVentory/API/sql/mventory_setup/upgrade-8-9.php +7 -5
  90. app/code/community/MVentory/API/sql/mventory_setup/upgrade-9-10.php +7 -5
  91. app/design/adminhtml/default/default/template/mventory/config/build-info.phtml +2 -2
  92. js/mventory/matching.js +12 -7
  93. package.xml +4 -4
  94. skin/adminhtml/default/default/mventory/css/styles.css +4 -0
  95. var/connect/MVentory_API.xml +8 -10
app/code/community/MVentory/API/Block/Carrier/Volumerate/Grid.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Block/Matching.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
@@ -71,12 +73,13 @@ class MVentory_API_Block_Matching extends Mage_Adminhtml_Block_Template {
71
 
72
  $options = Mage::getResourceModel('eav/entity_attribute_option_collection')
73
  ->setAttributeFilter(array('in' => array_keys($this->_attrs)))
74
- ->setStoreFilter($attr->getStoreId())
75
- ->setPositionOrder('asc', true);
76
 
77
  foreach ($options as $option)
78
- $this->_attrs[$option->getAttributeId()]['values'][$option->getId()]
79
- = $option->getValue();
 
 
80
 
81
  $this->_categories = Mage::getResourceModel('catalog/category_collection')
82
  ->addNameToResult()
@@ -182,11 +185,13 @@ class MVentory_API_Block_Matching extends Mage_Adminhtml_Block_Template {
182
  $values = array();
183
 
184
  foreach ($attr['value'] as $valueId)
185
- if (isset($_attr['values'][$valueId])) {
186
- $values[] = $_attr['values'][$valueId];
 
 
187
 
188
- $_attr['used_values'][$valueId] = true;
189
- }
190
 
191
  $attrs[$_attr['label']] = implode(', ', $values);
192
 
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
73
 
74
  $options = Mage::getResourceModel('eav/entity_attribute_option_collection')
75
  ->setAttributeFilter(array('in' => array_keys($this->_attrs)))
76
+ ->setStoreFilter();
 
77
 
78
  foreach ($options as $option)
79
+ $this->_attrs[$option->getAttributeId()]['values'][] = array(
80
+ 'id' => $option->getId(),
81
+ 'label' => $option->getValue()
82
+ );
83
 
84
  $this->_categories = Mage::getResourceModel('catalog/category_collection')
85
  ->addNameToResult()
185
  $values = array();
186
 
187
  foreach ($attr['value'] as $valueId)
188
+ foreach ($_attr['values'] as $option)
189
+ if ($valueId == $option['id']) {
190
+ $values[] = $option['label'];
191
+ $_attr['used_values'][$valueId] = true;
192
 
193
+ break;
194
+ }
195
 
196
  $attrs[$_attr['label']] = implode(', ', $values);
197
 
app/code/community/MVentory/API/Block/Matching/Categories.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Block/Metadata.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Block/Setting/Buildinfo.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2015 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2015 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Block/Setting/Fieldset.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Block/System/Config/Form/Field/Exportrates.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Block/System/Config/Form/Field/Imgcliplog.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Helper/Barcode.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Helper/Data.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Helper/Image.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Helper/Imageclipper.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014-2015 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014-2015 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Helper/Mage/Sales/Data.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Helper/Product.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Helper/Product/Attribute.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Helper/Product/Configurable.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Helper/String.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2015 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2015 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Carrier/Volumerate.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Cart/Api.php CHANGED
@@ -4,15 +4,17 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
- * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
16
  * @license http://creativecommons.org/licenses/by-nc-nd/4.0/
17
  */
18
 
@@ -202,16 +204,16 @@ class MVentory_API_Model_Cart_Api extends Mage_Checkout_Model_Cart_Api {
202
 
203
  $cartShipping = Mage::getModel('checkout/cart_shipping_api');
204
 
205
- $data = 'dummyshipping_dummyshipping';
206
 
207
  $result = $cartShipping->setShippingMethod($quoteId, $data, $storeId);
208
 
209
- $cartPayment = Mage::getModel('checkout/cart_payment_api');
210
 
211
  if ($price == 0)
212
  $data = array('method' => 'free', 0 => null);
213
  else
214
- $data = array('method' => 'dummy', 0 => null);
215
 
216
  $result = $cartPayment->setPaymentMethod($quoteId, $data, $storeId);
217
 
@@ -230,7 +232,7 @@ class MVentory_API_Model_Cart_Api extends Mage_Checkout_Model_Cart_Api {
230
  }
231
 
232
  //create shipment and invoice to complete order
233
- $shipment = Mage::getModel('sales/order_shipment_api');
234
  $shipment->create($orderId);
235
 
236
  $invoice = Mage::getModel('sales/order_invoice_api');
@@ -297,7 +299,7 @@ class MVentory_API_Model_Cart_Api extends Mage_Checkout_Model_Cart_Api {
297
  }
298
 
299
  } else {
300
- $this->_fault('invalid_params');
301
  }
302
 
303
  foreach ($productsToOrder as &$productData)
@@ -462,20 +464,20 @@ class MVentory_API_Model_Cart_Api extends Mage_Checkout_Model_Cart_Api {
462
 
463
  $cartShipping = Mage::getModel('checkout/cart_shipping_api');
464
 
465
- $data = 'dummyshipping_dummyshipping';
466
 
467
  $result = $cartShipping->setShippingMethod($quoteId, $data, $storeId);
468
 
469
- $cartPayment = Mage::getModel('checkout/cart_payment_api');
470
 
471
- $data = array('method' => 'dummy', 0 => null);
472
 
473
  $result = $cartPayment->setPaymentMethod($quoteId, $data, $storeId);
474
 
475
  $orderId = $this->createOrder($quoteId, $storeId);
476
 
477
  //create shipment and invoice to complete order
478
- $shipment = Mage::getModel('sales/order_shipment_api');
479
  $shipment->create($orderId);
480
 
481
  $invoice = Mage::getModel('sales/order_invoice_api');
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
+ * @copyright Copyright (c) 2014-2015 mVentory Ltd. (http://mventory.com)
18
  * @license http://creativecommons.org/licenses/by-nc-nd/4.0/
19
  */
20
 
204
 
205
  $cartShipping = Mage::getModel('checkout/cart_shipping_api');
206
 
207
+ $data = 'mventory_mventory';
208
 
209
  $result = $cartShipping->setShippingMethod($quoteId, $data, $storeId);
210
 
211
+ $cartPayment = Mage::getModel('mventory/cart_payment_api');
212
 
213
  if ($price == 0)
214
  $data = array('method' => 'free', 0 => null);
215
  else
216
+ $data = array('method' => 'mventory', 0 => null);
217
 
218
  $result = $cartPayment->setPaymentMethod($quoteId, $data, $storeId);
219
 
232
  }
233
 
234
  //create shipment and invoice to complete order
235
+ $shipment = Mage::getModel('mventory/order_shipment_api');
236
  $shipment->create($orderId);
237
 
238
  $invoice = Mage::getModel('sales/order_invoice_api');
299
  }
300
 
301
  } else {
302
+ $this->_fault('data_invalid');
303
  }
304
 
305
  foreach ($productsToOrder as &$productData)
464
 
465
  $cartShipping = Mage::getModel('checkout/cart_shipping_api');
466
 
467
+ $data = 'mventory_mventory';
468
 
469
  $result = $cartShipping->setShippingMethod($quoteId, $data, $storeId);
470
 
471
+ $cartPayment = Mage::getModel('mventory/cart_payment_api');
472
 
473
+ $data = array('method' => 'mventory', 0 => null);
474
 
475
  $result = $cartPayment->setPaymentMethod($quoteId, $data, $storeId);
476
 
477
  $orderId = $this->createOrder($quoteId, $storeId);
478
 
479
  //create shipment and invoice to complete order
480
+ $shipment = Mage::getModel('mventory/order_shipment_api');
481
  $shipment->create($orderId);
482
 
483
  $invoice = Mage::getModel('sales/order_invoice_api');
app/code/community/MVentory/API/Model/Cart/Item.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Cart/Payment/Api.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
@@ -43,7 +45,7 @@ class MVentory_API_Model_Cart_Payment_Api
43
  if ($isVirtual)
44
  $this->_fault('billing_address_is_not_set');
45
  else
46
- $this->_fault('shipping_address_is_not_set');
47
 
48
  $address->setPaymentMethod(
49
  isset($paymentData['method']) ? $paymentData['method'] : null
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
45
  if ($isVirtual)
46
  $this->_fault('billing_address_is_not_set');
47
  else
48
+ $this->_fault('payment_shipping_address_is_not_set');
49
 
50
  $address->setPaymentMethod(
51
  isset($paymentData['method']) ? $paymentData['method'] : null
app/code/community/MVentory/API/Model/Category/Api.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Config.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Config/Data/Websites.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Dataflow/Api.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Matching.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Method/Dummy.php DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial — You may not use the material for commercial purposes.
8
- * NoDerivatives — If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
11
- *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
- *
14
- * @package MVentory/API
15
- * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
16
- * @license http://creativecommons.org/licenses/by-nc-nd/4.0/
17
- */
18
-
19
- /**
20
- * Dummy payment method
21
- *
22
- * @package MVentory/API
23
- * @author Anatoly A. Kazantsev <anatoly@mventory.com>
24
- */
25
- class MVentory_API_Model_Method_Dummy
26
- extends Mage_Payment_Model_Method_Abstract {
27
-
28
- protected $_code = 'dummy';
29
-
30
- protected $_canAuthorize = true;
31
- protected $_canUseCheckout = false;
32
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/MVentory/API/Model/Observer.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Order/Api.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
@@ -94,9 +96,15 @@ class MVentory_API_Model_Order_Api extends Mage_Sales_Model_Order_Api {
94
 
95
  $creditMemos = $creditMemoApi->items(array('order_id' => $orderId));
96
 
97
- foreach ($creditMemos as $creditMemo)
98
- $order['credit_memos'][]
99
- = $creditMemoApi->info($creditMemo['increment_id']);
 
 
 
 
 
 
100
 
101
  unset($creditMemos);
102
 
@@ -108,9 +116,13 @@ class MVentory_API_Model_Order_Api extends Mage_Sales_Model_Order_Api {
108
 
109
  $invoices = $invoiceApi->items(array('order_id' => $orderId));
110
 
111
- foreach ($invoices as $invoice)
112
- $order['invoices'][]
113
- = $invoiceApi->info($invoice['increment_id']);
 
 
 
 
114
 
115
  unset($invoices);
116
 
@@ -118,7 +130,7 @@ class MVentory_API_Model_Order_Api extends Mage_Sales_Model_Order_Api {
118
 
119
  $order['shipments'] = array();
120
 
121
- $shipmentApi = Mage::getModel('sales/order_shipment_api');
122
 
123
  $shipments = $shipmentApi->items(array('order_id' => $orderId));
124
 
@@ -130,4 +142,28 @@ class MVentory_API_Model_Order_Api extends Mage_Sales_Model_Order_Api {
130
 
131
  return Mage::helper('mventory')->prepareApiResponse($order);
132
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  }
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
96
 
97
  $creditMemos = $creditMemoApi->items(array('order_id' => $orderId));
98
 
99
+ try {
100
+ foreach ($creditMemos as $creditMemo)
101
+ $order['credit_memos'][] = $creditMemoApi->info(
102
+ $creditMemo['increment_id']
103
+ );
104
+ }
105
+ catch (Mage_Api_Exception $e) {
106
+ throw new Mage_Api_Exception('creditmemo_not_exists');
107
+ }
108
 
109
  unset($creditMemos);
110
 
116
 
117
  $invoices = $invoiceApi->items(array('order_id' => $orderId));
118
 
119
+ try {
120
+ foreach ($invoices as $invoice)
121
+ $order['invoices'][] = $invoiceApi->info($invoice['increment_id']);
122
+ }
123
+ catch (Mage_Api_Exception $e) {
124
+ throw new Mage_Api_Exception('invoice_not_exists');
125
+ }
126
 
127
  unset($invoices);
128
 
130
 
131
  $order['shipments'] = array();
132
 
133
+ $shipmentApi = Mage::getModel('mventory/order_shipment_api');
134
 
135
  $shipments = $shipmentApi->items(array('order_id' => $orderId));
136
 
142
 
143
  return Mage::helper('mventory')->prepareApiResponse($order);
144
  }
145
+
146
+ /**
147
+ * Initialise basic order model
148
+ *
149
+ * This method is redefined to replace not_exists fault
150
+ * with order_not_exists to avoid conflicts with similar faults from other
151
+ * modules
152
+ *
153
+ * @param mixed $orderIncrementId
154
+ * Increment ID of an order
155
+ *
156
+ * @return Mage_Sales_Model_Order
157
+ * Instance of an order model
158
+ */
159
+ protected function _initOrder ($orderIncrementId) {
160
+ $order = Mage::getModel('sales/order')->loadByIncrementId(
161
+ $orderIncrementId
162
+ );
163
+
164
+ if (!$order->getId())
165
+ $this->_fault('order_not_exists');
166
+
167
+ return $order;
168
+ }
169
  }
app/code/community/MVentory/API/Model/Order/Shipment/Api.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
@@ -57,4 +59,99 @@ class MVentory_API_Model_Order_Shipment_Api extends Mage_Sales_Model_Order_Shipm
57
 
58
  return $orderApi->fullInfo($orderIncrementId);
59
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  }
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
59
 
60
  return $orderApi->fullInfo($orderIncrementId);
61
  }
62
+
63
+ /**
64
+ * Add tracking number to order
65
+ *
66
+ * This method is redefined to replace not_exists fault
67
+ * with shipment_not_exists to avoid conflicts with similar faults from other
68
+ * modules
69
+ *
70
+ * @param string $shipmentIncrementId
71
+ * @param string $carrier
72
+ * @param string $title
73
+ * @param string $trackNumber
74
+ * @return int
75
+ */
76
+ public function addTrack ($shipmentIncrementId,
77
+ $carrier,
78
+ $title,
79
+ $trackNumber) {
80
+
81
+ $shipment = Mage::getModel('sales/order_shipment')->loadByIncrementId(
82
+ $shipmentIncrementId
83
+ );
84
+
85
+ if (!$shipment->getId())
86
+ $this->_fault('shipment_not_exists');
87
+
88
+ $carriers = $this->_getCarriers($shipment);
89
+
90
+ if (!isset($carriers[$carrier]))
91
+ $this->_fault(
92
+ 'data_invalid',
93
+ Mage::helper('sales')->__('Invalid carrier specified.')
94
+ );
95
+
96
+ $track = Mage::getModel('sales/order_shipment_track')
97
+ ->setNumber($trackNumber)
98
+ ->setCarrierCode($carrier)
99
+ ->setTitle($title);
100
+
101
+ $shipment->addTrack($track);
102
+
103
+ try {
104
+ $shipment->save();
105
+ $track->save();
106
+ }
107
+ catch (Mage_Core_Exception $e) {
108
+ $this->_fault('data_invalid', $e->getMessage());
109
+ }
110
+
111
+ return $track->getId();
112
+ }
113
+
114
+ /**
115
+ * Retrieve shipment information
116
+ *
117
+ * This method is redefined to replace not_exists fault
118
+ * with shipment_not_exists to avoid conflicts with similar faults from other
119
+ * modules
120
+ *
121
+ * @param string $shipmentIncrementId
122
+ * Increment ID of a shipment
123
+ *
124
+ * @return array
125
+ * Shipment data
126
+ */
127
+ public function info ($shipmentIncrementId) {
128
+ $shipment = Mage::getModel('sales/order_shipment')->loadByIncrementId(
129
+ $shipmentIncrementId
130
+ );
131
+
132
+ if (!$shipment->getId())
133
+ $this->_fault('shipment_not_exists');
134
+
135
+ $result = $this->_getAttributes($shipment, 'shipment');
136
+
137
+ $result['items'] = array();
138
+
139
+ foreach ($shipment->getAllItems() as $item)
140
+ $result['items'][] = $this->_getAttributes($item, 'shipment_item');
141
+
142
+ $result['tracks'] = array();
143
+
144
+ foreach ($shipment->getAllTracks() as $track)
145
+ $result['tracks'][] = $this->_getAttributes($track, 'shipment_track');
146
+
147
+ $result['comments'] = array();
148
+
149
+ foreach ($shipment->getCommentsCollection() as $comment)
150
+ $result['comments'][] = $this->_getAttributes(
151
+ $comment,
152
+ 'shipment_comment'
153
+ );
154
+
155
+ return $result;
156
+ }
157
  }
app/code/community/MVentory/API/Model/Order/Transaction.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Payment.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
+ *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
+ *
16
+ * @package MVentory/API
17
+ * @copyright Copyright (c) 2014-2015 mVentory Ltd. (http://mventory.com)
18
+ * @license http://creativecommons.org/licenses/by-nc-nd/4.0/
19
+ */
20
+
21
+ /**
22
+ * Payment model
23
+ *
24
+ * @package MVentory/API
25
+ * @author Anatoly A. Kazantsev <anatoly@mventory.com>
26
+ */
27
+ class MVentory_API_Model_Payment extends Mage_Payment_Model_Method_Abstract
28
+ {
29
+ protected $_code = 'mventory';
30
+
31
+ protected $_canAuthorize = true;
32
+ protected $_canUseCheckout = false;
33
+ }
app/code/community/MVentory/API/Model/Product/Action.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Product/Api.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
@@ -51,6 +53,8 @@ class MVentory_API_Model_Product_Api extends Mage_Catalog_Model_Product_Api {
51
  $productId = $identifierType;
52
  $identifierType = 'sku';
53
  }
 
 
54
 
55
  $helper = Mage::helper('mventory/product_attribute');
56
 
@@ -64,11 +68,37 @@ class MVentory_API_Model_Product_Api extends Mage_Catalog_Model_Product_Api {
64
  ->getDefaultStore()
65
  ->getId();
66
 
67
- $_result = $this->info($productId, $storeId, null, 'id');
68
 
69
  //Product's ID can be changed by '_getProduct()' function if original
70
  //product is configurable one
71
- $productId = $_result['product_id'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
 
73
  $result = array_intersect_key(
74
  $_result,
@@ -98,23 +128,30 @@ class MVentory_API_Model_Product_Api extends Mage_Catalog_Model_Product_Api {
98
  $result = array_merge($result, $_result[0]);
99
 
100
  $productAttributeMedia
101
- = Mage::getModel('catalog/product_attribute_media_api');
102
 
103
  $baseUrlPath = Mage_Core_Model_Store::XML_PATH_UNSECURE_BASE_URL;
104
 
105
- $mediaPath = Mage::getStoreConfig($baseUrlPath, $storeId)
106
- . 'media/'
107
- . Mage::getSingleton('catalog/product_media_config')
108
- ->getBaseMediaUrlAddition();
 
 
109
 
110
  $images = $productAttributeMedia->items($productId, $storeId, 'id');
111
 
112
- foreach ($images as &$image)
113
- $image['url'] = $mediaPath . $image['file'];
 
 
 
 
 
114
 
115
  $result['images'] = $images;
116
 
117
- $helper = Mage::helper('mventory/product_configurable');
118
 
119
  if ($siblingIds = $helper->getSiblingsIds($productId)) {
120
  $attrs = Mage::getModel('mventory/product_attribute_api')
@@ -310,7 +347,7 @@ class MVentory_API_Model_Product_Api extends Mage_Catalog_Model_Product_Api {
310
  //Load images from the original product before duplicating
311
  //because the original one can be removed during duplication
312
  //if duplicated product is similar to it.
313
- $images = Mage::getModel('catalog/product_attribute_media_api');
314
  $oldImages = $images->items($oldId);
315
 
316
  $subtractQty = (int) $subtractQty;
@@ -359,14 +396,14 @@ class MVentory_API_Model_Product_Api extends Mage_Catalog_Model_Product_Api {
359
  $file = $new[$n]['file'];
360
 
361
  if ($mode == 'none') {
362
- $images->remove($newId, $file);
363
 
364
  continue;
365
  }
366
 
367
  if (!isset($old[$n]['types'])) {
368
  if ($mode == 'main')
369
- $images->remove($newId, $file);
370
 
371
  continue;
372
  }
@@ -374,7 +411,7 @@ class MVentory_API_Model_Product_Api extends Mage_Catalog_Model_Product_Api {
374
  $types = $old[$n]['types'];
375
 
376
  if ($mode == 'main' && !in_array('image', $types)) {
377
- $images->remove($newId, $file);
378
 
379
  continue;
380
  }
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
53
  $productId = $identifierType;
54
  $identifierType = 'sku';
55
  }
56
+ else if ($identifierType)
57
+ $identifierType = strtolower(trim($identifierType));
58
 
59
  $helper = Mage::helper('mventory/product_attribute');
60
 
68
  ->getDefaultStore()
69
  ->getId();
70
 
71
+ $product = $this->_getProduct($productId, $storeId, $identifierType);
72
 
73
  //Product's ID can be changed by '_getProduct()' function if original
74
  //product is configurable one
75
+ $productId = $product->getId();
76
+
77
+ $_result = array(
78
+ 'product_id' => $productId,
79
+ 'sku' => $product->getSku(),
80
+ 'set' => $product->getAttributeSetId(),
81
+ 'websites' => $product->getWebsiteIds(),
82
+ 'category_ids' => $product->getCategoryIds()
83
+ );
84
+
85
+ $editableAttributes = $product
86
+ ->getTypeInstance(true)
87
+ ->getEditableAttributes($product);
88
+
89
+ foreach ($editableAttributes as $attribute) {
90
+ $code = $attribute->getAttributeCode();
91
+
92
+ if (isset($_result[$code]))
93
+ continue;
94
+
95
+ if (!$this->_isAllowedAttribute($attribute))
96
+ continue;
97
+
98
+ $_result[$code] = $product->getData($code);
99
+ }
100
+
101
+ unset($editableAttributes, $attribute, $code);
102
 
103
  $result = array_intersect_key(
104
  $_result,
128
  $result = array_merge($result, $_result[0]);
129
 
130
  $productAttributeMedia
131
+ = Mage::getModel('mventory/product_attribute_media_api');
132
 
133
  $baseUrlPath = Mage_Core_Model_Store::XML_PATH_UNSECURE_BASE_URL;
134
 
135
+ $mediaConfig = Mage::getSingleton('catalog/product_media_config');
136
+
137
+ $baseMediaPath = $mediaConfig->getBaseMediaPath();
138
+ $baseMediaUrl = Mage::getStoreConfig($baseUrlPath, $storeId)
139
+ . 'media/'
140
+ . $mediaConfig->getBaseMediaUrlAddition();
141
 
142
  $images = $productAttributeMedia->items($productId, $storeId, 'id');
143
 
144
+ foreach ($images as &$image) {
145
+ $_image = new Varien_Image($baseMediaPath . $image['file']);
146
+
147
+ $image['url'] = $baseMediaUrl . $image['file'];
148
+ $image['width'] = (string) $_image->getOriginalWidth();
149
+ $image['height'] = (string) $_image->getOriginalHeight();
150
+ }
151
 
152
  $result['images'] = $images;
153
 
154
+ $helper = Mage::helper('mventory/product_configurable');
155
 
156
  if ($siblingIds = $helper->getSiblingsIds($productId)) {
157
  $attrs = Mage::getModel('mventory/product_attribute_api')
347
  //Load images from the original product before duplicating
348
  //because the original one can be removed during duplication
349
  //if duplicated product is similar to it.
350
+ $images = Mage::getModel('mventory/product_attribute_media_api');
351
  $oldImages = $images->items($oldId);
352
 
353
  $subtractQty = (int) $subtractQty;
396
  $file = $new[$n]['file'];
397
 
398
  if ($mode == 'none') {
399
+ $images->remove_($newId, $file);
400
 
401
  continue;
402
  }
403
 
404
  if (!isset($old[$n]['types'])) {
405
  if ($mode == 'main')
406
+ $images->remove_($newId, $file);
407
 
408
  continue;
409
  }
411
  $types = $old[$n]['types'];
412
 
413
  if ($mode == 'main' && !in_array('image', $types)) {
414
+ $images->remove_($newId, $file);
415
 
416
  continue;
417
  }
app/code/community/MVentory/API/Model/Product/Attribute/Api.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
@@ -118,7 +120,7 @@ class MVentory_API_Model_Product_Attribute_Api
118
  $attrs = $this->_helper->getEditables($setId);
119
 
120
  foreach ($attrs as $attr)
121
- $result[] = $this->_info($attr);
122
 
123
  return $result;
124
  }
@@ -222,7 +224,7 @@ class MVentory_API_Model_Product_Attribute_Api
222
  $attributeId = $attributeModel->getId();
223
 
224
  if (!$attributeId) {
225
- $this->_fault('not_exists');
226
  }
227
 
228
  $defaultOptionLabels = $this->getOptionLabels(0, $attributeId);
@@ -302,4 +304,26 @@ class MVentory_API_Model_Product_Attribute_Api
302
 
303
  return $metadata;
304
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
305
  }
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
120
  $attrs = $this->_helper->getEditables($setId);
121
 
122
  foreach ($attrs as $attr)
123
+ $result[] = $this->_info($attr->getAttributeId());
124
 
125
  return $result;
126
  }
224
  $attributeId = $attributeModel->getId();
225
 
226
  if (!$attributeId) {
227
+ $this->_fault('attribute_not_exists');
228
  }
229
 
230
  $defaultOptionLabels = $this->getOptionLabels(0, $attributeId);
304
 
305
  return $metadata;
306
  }
307
+
308
+ /**
309
+ * Load model by attribute ID or code
310
+ *
311
+ * This method is redefined to convert not_exists fault
312
+ * to attribute_not_exists to avoid conflictc with similar faults
313
+ * from other modules
314
+ *
315
+ * @param int|string $attribute
316
+ * Attribute ID or code
317
+ *
318
+ * @return Mage_Catalog_Model_Resource_Eav_Attribute
319
+ * Instance of attribute model
320
+ */
321
+ protected function _getAttribute ($attribute) {
322
+ try {
323
+ return parent::_getAttribute($attribute);
324
+ }
325
+ catch (Mage_Api_Exception $e) {
326
+ throw new Mage_Api_Exception('attribute_not_exists');
327
+ }
328
+ }
329
  }
app/code/community/MVentory/API/Model/Product/Attribute/Media/Api.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014-2015 mVentory Ltd. (http://mventory.com)
@@ -207,7 +209,7 @@ class MVentory_API_Model_Product_Attribute_Media_Api
207
  ->getBackend();
208
 
209
  if (!$backend->getImage($product, $file))
210
- $this->_fault('not_exists');
211
 
212
  if (isset($data['file']['mime']) && isset($data['file']['content'])) {
213
  if (!isset($this->_mimeTypes[$data['file']['mime']]))
@@ -280,7 +282,7 @@ class MVentory_API_Model_Product_Attribute_Media_Api
280
  try {
281
  $product->save();
282
  } catch (Mage_Core_Exception $e) {
283
- $this->_fault('not_updated', $e->getMessage());
284
  }
285
 
286
  return true;
@@ -289,7 +291,20 @@ class MVentory_API_Model_Product_Attribute_Media_Api
289
  public function remove_ ($productId, $file, $identifierType = null) {
290
  $image = $this->info($productId, $file, null, $identifierType);
291
 
292
- $this->remove($productId, $file, $identifierType);
 
 
 
 
 
 
 
 
 
 
 
 
 
293
  $images = $this->items($productId, null, $identifierType);
294
 
295
  $helper = Mage::helper('mventory/product_configurable');
@@ -363,6 +378,42 @@ class MVentory_API_Model_Product_Attribute_Media_Api
363
  return $productApi->fullInfo($productId, $identifierType);
364
  }
365
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
366
  /**
367
  * Retrieve product
368
  *
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014-2015 mVentory Ltd. (http://mventory.com)
209
  ->getBackend();
210
 
211
  if (!$backend->getImage($product, $file))
212
+ $this->_fault('image_not_exists');
213
 
214
  if (isset($data['file']['mime']) && isset($data['file']['content'])) {
215
  if (!isset($this->_mimeTypes[$data['file']['mime']]))
282
  try {
283
  $product->save();
284
  } catch (Mage_Core_Exception $e) {
285
+ $this->_fault('image_not_updated', $e->getMessage());
286
  }
287
 
288
  return true;
291
  public function remove_ ($productId, $file, $identifierType = null) {
292
  $image = $this->info($productId, $file, null, $identifierType);
293
 
294
+ $product = $this->_initProduct($productId, null, $identifierType);
295
+ $gallery = $this->_getGalleryAttribute($product);
296
+
297
+ if (!$gallery->getBackend()->getImage($product, $file))
298
+ $this->_fault('image_not_exists');
299
+
300
+ $gallery->getBackend()->removeImage($product, $file);
301
+
302
+ try {
303
+ $product->save();
304
+ } catch (Mage_Core_Exception $e) {
305
+ $this->_fault('not_removed', $e->getMessage());
306
+ }
307
+
308
  $images = $this->items($productId, null, $identifierType);
309
 
310
  $helper = Mage::helper('mventory/product_configurable');
378
  return $productApi->fullInfo($productId, $identifierType);
379
  }
380
 
381
+ /**
382
+ * Retrieve image data
383
+ *
384
+ * This method is redefined to replace not_exists fault
385
+ * with image_not_exists to avoid conflicts with similar faults from other
386
+ * modules
387
+ *
388
+ * @param int|string $productId
389
+ * ID or SKU of a product
390
+ *
391
+ * @param string $file
392
+ * Name of image file
393
+ *
394
+ * @param string|int $store
395
+ * ID or Code of a store
396
+ *
397
+ * @param string $identifierType
398
+ * Type of $productId parameter
399
+ *
400
+ * @return array
401
+ * Image data
402
+ */
403
+ public function info ($productId,
404
+ $file,
405
+ $store = null,
406
+ $identifierType = null) {
407
+
408
+ $product = $this->_initProduct($productId, $store, $identifierType);
409
+ $gallery = $this->_getGalleryAttribute($product);
410
+
411
+ if (!$image = $gallery->getBackend()->getImage($product, $file))
412
+ $this->_fault('image_not_exists');
413
+
414
+ return $this->_imageToArray($image, $product);
415
+ }
416
+
417
  /**
418
  * Retrieve product
419
  *
app/code/community/MVentory/API/Model/Product/Attribute/Set/Api.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Resource/Carrier/Volumerate.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Resource/Carrier/Volumerate/Collection.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Resource/Cart/Item.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Resource/Entity/Attribute.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Resource/Matching.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Resource/Order/Transaction.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Resource/Product.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Resource/Setup.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Resource/Sku.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/Setting/Backend/Dbxpath.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014-2015 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014-2015 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/{Carrier/Dummyshipping.php → Shipping.php} RENAMED
@@ -4,43 +4,45 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
- * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
16
  * @license http://creativecommons.org/licenses/by-nc-nd/4.0/
17
  */
18
 
19
  /**
20
- * Dummy shipping model
21
  *
22
  * @package MVentory/API
23
  * @author Anatoly A. Kazantsev <anatoly@mventory.com>
24
  */
25
- class MVentory_API_Model_Carrier_Dummyshipping
26
  extends Mage_Shipping_Model_Carrier_Abstract
27
  implements Mage_Shipping_Model_Carrier_Interface {
28
 
29
- protected $_code = 'dummyshipping';
30
  protected $_isFixed = true;
31
 
32
  public function collectRates (Mage_Shipping_Model_Rate_Request $request) {
33
  if (!((Mage::getSingleton('api/server')->getAdapter() != null
34
- || Mage::registry('mventory_allow_dummyshipping'))
35
  && $this->getConfigFlag('active')))
36
  return false;
37
 
38
  $method = Mage::getModel('shipping/rate_result_method');
39
 
40
- $method->setCarrier('dummyshipping');
41
  $method->setCarrierTitle($this->getConfigData('title'));
42
 
43
- $method->setMethod('dummyshipping');
44
  $method->setMethodTitle($this->getConfigData('name'));
45
 
46
  $method->setPrice('0.00');
@@ -54,7 +56,7 @@ class MVentory_API_Model_Carrier_Dummyshipping
54
  }
55
 
56
  public function getAllowedMethods () {
57
- return array('dummyshipping' => $this->getConfigData('name'));
58
  }
59
 
60
  }
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
+ * @copyright Copyright (c) 2014-2015 mVentory Ltd. (http://mventory.com)
18
  * @license http://creativecommons.org/licenses/by-nc-nd/4.0/
19
  */
20
 
21
  /**
22
+ * Shipping model
23
  *
24
  * @package MVentory/API
25
  * @author Anatoly A. Kazantsev <anatoly@mventory.com>
26
  */
27
+ class MVentory_API_Model_Shipping
28
  extends Mage_Shipping_Model_Carrier_Abstract
29
  implements Mage_Shipping_Model_Carrier_Interface {
30
 
31
+ protected $_code = 'mventory';
32
  protected $_isFixed = true;
33
 
34
  public function collectRates (Mage_Shipping_Model_Rate_Request $request) {
35
  if (!((Mage::getSingleton('api/server')->getAdapter() != null
36
+ || Mage::registry('mventory_allow_shipping'))
37
  && $this->getConfigFlag('active')))
38
  return false;
39
 
40
  $method = Mage::getModel('shipping/rate_result_method');
41
 
42
+ $method->setCarrier('mventory');
43
  $method->setCarrierTitle($this->getConfigData('title'));
44
 
45
+ $method->setMethod('mventory');
46
  $method->setMethodTitle($this->getConfigData('name'));
47
 
48
  $method->setPrice('0.00');
56
  }
57
 
58
  public function getAllowedMethods () {
59
+ return array('mventory' => $this->getConfigData('name'));
60
  }
61
 
62
  }
app/code/community/MVentory/API/Model/Stock/Item/Api.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/System/Config/Backend/Carrier/Volumerate.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/System/Config/Backend/Imgclip/Backupfolder.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/System/Config/Backend/Imgclip/Csvlog.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/System/Config/Source/Allowedshippingtypes.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/System/Config/Source/Contenttype.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/System/Config/Source/Customers.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/System/Config/Source/Inputmethod.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/System/Config/Source/Visibility.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/Model/System/Config/Source/Website.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/controllers/AppController.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/controllers/CarriersController.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/controllers/Catalog/ProductController.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/controllers/CustomerController.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/controllers/DropboxController.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/controllers/ImageController.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/controllers/LogsController.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/controllers/MatchingController.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/controllers/QrController.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/controllers/SwitchController.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/data/mventory_setup/data-upgrade-20-21.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/data/mventory_setup/data-upgrade-23-24.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/data/mventory_setup/data-upgrade-27-28.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/data/mventory_setup/data-upgrade-28-29.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/etc/adminhtml.xml CHANGED
@@ -5,12 +5,14 @@
5
  * NOTICE OF LICENSE
6
  *
7
  * This source file is subject to the Creative Commons License BY-NC-ND.
8
- * NonCommercial You may not use the material for commercial purposes.
9
- * NoDerivatives If you remix, transform, or build upon the material,
10
- * you may not distribute the modified material.
11
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
12
  *
13
- * See http://mventory.com/legal/licensing/ for other licensing options.
14
  *
15
  * @package MVentory/API
16
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
5
  * NOTICE OF LICENSE
6
  *
7
  * This source file is subject to the Creative Commons License BY-NC-ND.
8
+ * By Attribution (BY) - You can share this file unchanged, including
9
+ * this copyright statement.
10
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
11
+ * A commercial license can be purchased separately from mventory.com.
12
+ * No Derivatives (ND) - You can make changes to this file for your own use,
13
+ * but you cannot share or redistribute the changes.
14
  *
15
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
16
  *
17
  * @package MVentory/API
18
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/etc/api.xml CHANGED
@@ -3,12 +3,14 @@
3
  * NOTICE OF LICENSE
4
  *
5
  * This source file is subject to the Creative Commons License BY-NC-ND.
6
- * NonCommercial You may not use the material for commercial purposes.
7
- * NoDerivatives If you remix, transform, or build upon the material,
8
- * you may not distribute the modified material.
9
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
10
  *
11
- * See http://mventory.com/legal/licensing/ for other licensing options.
12
  *
13
  * @package MVentory/API
14
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
@@ -19,260 +21,864 @@
19
  <config>
20
  <api>
21
  <resources>
22
- <mventory_tm_dataflow translate="title" module="mventory">
23
  <title>Dataflow API</title>
24
  <model>mventory/dataflow_api</model>
25
  <acl>mventory/dataflow</acl>
26
 
27
  <methods>
28
- <getProfilesList translate="title" module="mventory">
29
  <title>Get a list of profiles</title>
30
  <acl>mventory/dataflow</acl>
31
- </getProfilesList>
 
32
 
33
- <executeProfile translate="title" module="mventory">
34
  <title>Execute a profile</title>
35
  <acl>mventory/dataflow</acl>
36
- </executeProfile>
 
37
  </methods>
38
- </mventory_tm_dataflow>
39
 
40
- <catalog_category>
41
- <model>mventory/category_api</model>
42
  <acl>mventory/catalog/category</acl>
 
43
 
44
  <methods>
45
- <treeActiveOnly translate="title" module="mventory">
46
  <title>Retrieve a tree of active categories</title>
47
  <acl>mventory/catalog/category/active_tree</acl>
48
- </treeActiveOnly>
 
49
  </methods>
50
- </catalog_category>
51
 
52
- <catalog_product>
 
 
 
 
 
 
 
 
 
 
53
  <model>mventory/product_api</model>
54
  <acl>mventory/catalog/product</acl>
55
 
56
  <methods>
57
- <fullInfo translate="title" module="catalog">
58
  <title>Retrieve product</title>
59
  <acl>mventory/catalog/product/info</acl>
60
- </fullInfo>
 
61
 
62
- <limitedList translate="title" module="mventory">
63
  <title>Retrieve limited list of products</title>
64
- <method>limitedList</method>
65
  <acl>mventory/catalog/product/info</acl>
66
- </limitedList>
 
67
 
68
- <createAndReturnInfo translate="title" module="catalog">
69
  <title>Create new product</title>
70
  <acl>mventory/catalog/product/create</acl>
71
- </createAndReturnInfo>
 
72
 
73
- <duplicateAndReturnInfo translate="title" module="mventory">
74
  <title>Duplicate product</title>
75
  <acl>mventory/catalog/product/create</acl>
76
- </duplicateAndReturnInfo>
 
77
 
78
  <statistics translate="title" module="mventory">
79
  <title>Get info about new products, sales and stock</title>
80
  <acl>mventory/statistics</acl>
81
  </statistics>
82
 
83
- <update>
 
84
  <acl>mventory/catalog/product/update</acl>
85
  </update>
86
 
87
- <delete>
 
88
  <acl>mventory/catalog/product/delete</acl>
89
  </delete>
90
  </methods>
91
 
92
  <faults module="mventory">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  <linking_problems>
94
- <code>1000</code>
95
  <message>Can't link or update linked products.</message>
96
  </linking_problems>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  </faults>
98
- </catalog_product>
99
 
100
- <catalog_product_attribute>
101
  <model>mventory/product_attribute_api</model>
102
  <acl>mventory/catalog/product/attribute</acl>
103
 
104
  <methods>
105
- <fullInfoList translate="title" module="mventory">
106
  <title>Retrieve attribute list with full info</title>
107
- <method>fullInfoList</method>
108
  <acl>mventory/catalog/product/attribute/read</acl>
109
- </fullInfoList>
 
110
 
111
- <addOptionAndReturnInfo translate="title" module="mventory">
112
  <title>Add option and return full info</title>
113
  <acl>mventory/catalog/product/attribute/option/add</acl>
114
- </addOptionAndReturnInfo>
 
115
  </methods>
116
- </catalog_product_attribute>
117
 
118
- <catalog_product_attribute_set>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  <model>mventory/product_attribute_set_api</model>
120
  <acl>mventory/catalog/product/attribute/set</acl>
121
 
122
  <methods>
123
- <fullInfoList translate="title" module="mventory">
124
  <title>Retrieve product attribute sets with full info</title>
125
- <method>fullInfoList</method>
126
  <acl>mventory/catalog/product/attribute/set/list</acl>
127
- </fullInfoList>
 
128
  </methods>
129
- </catalog_product_attribute_set>
130
 
131
- <catalog_product_attribute_media>
 
 
 
 
 
 
 
 
 
 
132
  <model>mventory/product_attribute_media_api</model>
133
  <acl>mventory/catalog/product/media</acl>
134
 
135
  <methods>
136
- <createAndReturnInfo translate="title" module="mventory">
137
  <title>Upload new product image and return full info</title>
138
  <acl>mventory/catalog/product/media/create</acl>
139
- </createAndReturnInfo>
 
140
 
141
- <update>
 
142
  <acl>mventory/catalog/product/media/update</acl>
143
  </update>
144
 
145
- <!--
146
- DEPRECATED
147
-
148
- Original remove method for the old app versions.
149
- Remove it after all customers will have updated their apps
150
- -->
151
- <remove>
152
- <acl>mventory/catalog/product/media/remove</acl>
153
- </remove>
154
-
155
- <!--
156
- Rename back to 'remove' when the app will be updated to support it
157
- and after all customers will have updated their apps
158
- -->
159
- <removeAndReturnInfo translate="title" module="mventory">
160
  <title>Upload new product image and return full info</title>
161
- <method>remove_</method>
162
  <acl>mventory/catalog/product/media/remove</acl>
163
- </removeAndReturnInfo>
 
164
  </methods>
165
- </catalog_product_attribute_media>
166
 
167
- <cart>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  <model>mventory/cart_api</model>
169
  <acl>mventory/cart</acl>
170
 
171
  <methods>
172
  <createOrderForProduct translate="title" module="mventory">
173
  <title>Create order for specified SKU</title>
174
- <method>createOrderForProduct</method>
175
  <acl>mventory/cart/order</acl>
176
  </createOrderForProduct>
177
 
178
  <createOrderForMultipleProducts translate="title" module="mventory">
179
  <title>Create order for multiple products</title>
180
- <method>createOrderForMultipleProducts</method>
181
  <acl>mventory/cart/order</acl>
182
  </createOrderForMultipleProducts>
183
 
184
- <addToCart translate="title" module="mventory">
185
  <title>Add an item to cart</title>
186
- <method>addToCart</method>
187
  <acl>mventory/cart</acl>
188
- </addToCart>
 
189
 
190
- <getCart translate="title" module="mventory">
191
  <title>Get contents of the whole cart</title>
192
- <method>getCart</method>
193
  <acl>mventory/cart</acl>
194
- </getCart>
 
195
  </methods>
196
 
197
- <faults module="checkout">
198
- <!-- Checkout Cart Customer Api faults -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
199
  <customer_not_set>
200
- <code>1041</code>
201
  <message>Customer is not set. </message>
202
  </customer_not_set>
203
-
 
 
 
 
 
 
 
204
  <customer_data_invalid>
205
- <code>1044</code>
206
  <message>Customer data is not valid. </message>
207
  </customer_data_invalid>
208
-
209
  <customer_mode_is_unknown>
210
- <code>1045</code>
211
  <message>Customer's mode is unknown</message>
212
  </customer_mode_is_unknown>
213
-
214
- <!-- Checkout Cart Product Api faults -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  <invalid_product_data>
216
- <code>1021</code>
217
  <message>Product's data is not valid.</message>
218
  </invalid_product_data>
219
-
220
  <add_product_fault>
221
- <code>1022</code>
222
  <message>Product(s) could not be added. </message>
223
  </add_product_fault>
224
-
225
  <add_product_quote_save_fault>
226
- <code>1023</code>
227
  <message>Quote could not be saved during adding product(s) operation.</message>
228
  </add_product_quote_save_fault>
229
-
230
- <!-- createOrderForMultipleProducts faults -->
231
- <product_not_exists>
232
- <code>10001</code>
233
- <message>Product doesn't exist</message>
234
- </product_not_exists>
235
-
236
- <invalid_params>
237
- <code>10002</code>
238
- <message>Invalid parameters</message>
239
- </invalid_params>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
 
241
  <transaction_not_exists>
242
- <code>10003</code>
243
  <message>No such transaction ID</message>
244
  </transaction_not_exists>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  </faults>
246
- </cart>
247
 
248
- <sales_order>
249
  <model>mventory/order_api</model>
250
  <acl>mventory/sales/order</acl>
251
 
252
  <methods>
253
- <listByStatus translate="title" module="mventory">
254
  <title>Retrieve list of orders by status and store</title>
255
  <acl>mventory/sales/order/info</acl>
256
- </listByStatus>
 
257
 
258
- <fullInfo translate="title" module="mventory">
259
  <title>Retrieve full order information</title>
260
  <acl>mventory/sales/order/info</acl>
261
- </fullInfo>
 
262
  </methods>
263
- </sales_order>
264
 
265
- <sales_order_shipment>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  <model>mventory/order_shipment_api</model>
267
  <acl>mventory/sales/shipment</acl>
268
 
269
  <methods>
270
- <createShipmentWithTracking translate="title" module="mventory">
271
  <title>Create shipment with tracking and retrieve full order information</title>
272
  <acl>mventory/sales/shipment/create_with_tracking</acl>
273
- </createShipmentWithTracking>
 
274
  </methods>
275
- </sales_order_shipment>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
  </resources>
277
 
278
  <acl>
3
  * NOTICE OF LICENSE
4
  *
5
  * This source file is subject to the Creative Commons License BY-NC-ND.
6
+ * By Attribution (BY) - You can share this file unchanged, including
7
+ * this copyright statement.
8
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
9
+ * A commercial license can be purchased separately from mventory.com.
10
+ * No Derivatives (ND) - You can make changes to this file for your own use,
11
+ * but you cannot share or redistribute the changes.
12
  *
13
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
14
  *
15
  * @package MVentory/API
16
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
21
  <config>
22
  <api>
23
  <resources>
24
+ <mventory_dataflow_profile translate="title" module="mventory">
25
  <title>Dataflow API</title>
26
  <model>mventory/dataflow_api</model>
27
  <acl>mventory/dataflow</acl>
28
 
29
  <methods>
30
+ <list translate="title" module="mventory">
31
  <title>Get a list of profiles</title>
32
  <acl>mventory/dataflow</acl>
33
+ <method>getProfilesList</method>
34
+ </list>
35
 
36
+ <execute translate="title" module="mventory">
37
  <title>Execute a profile</title>
38
  <acl>mventory/dataflow</acl>
39
+ <method>executeProfile</method>
40
+ </execute>
41
  </methods>
42
+ </mventory_dataflow_profile>
43
 
44
+ <mventory_category translate="title" module="catalog">
45
+ <title>Category API</title>
46
  <acl>mventory/catalog/category</acl>
47
+ <model>mventory/category_api</model>
48
 
49
  <methods>
50
+ <tree translate="title" module="mventory">
51
  <title>Retrieve a tree of active categories</title>
52
  <acl>mventory/catalog/category/active_tree</acl>
53
+ <method>treeActiveOnly</method>
54
+ </tree>
55
  </methods>
 
56
 
57
+ <faults module="mventory">
58
+
59
+ <!-- common -->
60
+ <store_not_exists>
61
+ <code>100</code>
62
+ <message>Requested store view not found.</message>
63
+ </store_not_exists>
64
+ </faults>
65
+ </mventory_category>
66
+
67
+ <mventory_product>
68
  <model>mventory/product_api</model>
69
  <acl>mventory/catalog/product</acl>
70
 
71
  <methods>
72
+ <info translate="title" module="catalog">
73
  <title>Retrieve product</title>
74
  <acl>mventory/catalog/product/info</acl>
75
+ <method>fullInfo</method>
76
+ </info>
77
 
78
+ <list translate="title" module="mventory">
79
  <title>Retrieve limited list of products</title>
 
80
  <acl>mventory/catalog/product/info</acl>
81
+ <method>limitedList</method>
82
+ </list>
83
 
84
+ <create translate="title" module="catalog">
85
  <title>Create new product</title>
86
  <acl>mventory/catalog/product/create</acl>
87
+ <method>createAndReturnInfo</method>
88
+ </create>
89
 
90
+ <duplicate translate="title" module="mventory">
91
  <title>Duplicate product</title>
92
  <acl>mventory/catalog/product/create</acl>
93
+ <method>duplicateAndReturnInfo</method>
94
+ </duplicate>
95
 
96
  <statistics translate="title" module="mventory">
97
  <title>Get info about new products, sales and stock</title>
98
  <acl>mventory/statistics</acl>
99
  </statistics>
100
 
101
+ <update translate="title" module="catalog">
102
+ <title>Update product</title>
103
  <acl>mventory/catalog/product/update</acl>
104
  </update>
105
 
106
+ <delete translate="title" module="catalog">
107
+ <title>Delete product</title>
108
  <acl>mventory/catalog/product/delete</acl>
109
  </delete>
110
  </methods>
111
 
112
  <faults module="mventory">
113
+
114
+ <!-- common -->
115
+ <store_not_exists>
116
+ <code>100</code>
117
+ <message>Requested store view not found.</message>
118
+ </store_not_exists>
119
+
120
+ <data_invalid>
121
+ <code>101</code>
122
+ <message>Invalid data given. Details in error message.</message>
123
+ </data_invalid>
124
+
125
+ <product_not_exists>
126
+ <code>102</code>
127
+ <message>Product not exists.</message>
128
+ </product_not_exists>
129
+
130
+ <!-- catalog_product -->
131
+ <not_deleted>
132
+ <code>200</code>
133
+ <message>Product not deleted. Details in error message.</message>
134
+ </not_deleted>
135
+ <product_type_not_exists>
136
+ <code>201</code>
137
+ <message>Product type is not in allowed types.</message>
138
+ </product_type_not_exists>
139
+ <product_attribute_set_not_exists>
140
+ <code>202</code>
141
+ <message>Product attribute set is not existed</message>
142
+ </product_attribute_set_not_exists>
143
+ <product_attribute_set_not_valid>
144
+ <code>203</code>
145
+ <message>Product attribute set is not belong catalog product entity type</message>
146
+ </product_attribute_set_not_valid>
147
+ <partially_updated>
148
+ <code>204</code>
149
+ <message>There was an error during one or more products update. See error log for details.</message>
150
+ </partially_updated>
151
+
152
+ <!-- catalog_product_attribute -->
153
+ <invalid_parameters>
154
+ <code>300</code>
155
+ <message>Invalid request parameters.</message>
156
+ </invalid_parameters>
157
+ <invalid_code>
158
+ <code>301</code>
159
+ <message>Attribute code is invalid. Please use only letters (a-z), numbers (0-9) or underscore(_) in this field, first character should be a letter.</message>
160
+ </invalid_code>
161
+ <invalid_frontend_input>
162
+ <code>302</code>
163
+ <message>Incorrect attribute type.</message>
164
+ </invalid_frontend_input>
165
+ <unable_to_save>
166
+ <code>303</code>
167
+ <message>Unable to save attribute.</message>
168
+ </unable_to_save>
169
+ <can_not_delete>
170
+ <code>304</code>
171
+ <message>This attribute cannot be deleted.</message>
172
+ </can_not_delete>
173
+ <can_not_edit>
174
+ <code>305</code>
175
+ <message>This attribute cannot be edited.</message>
176
+ </can_not_edit>
177
+ <unable_to_add_option>
178
+ <code>306</code>
179
+ <message>Unable to add option.</message>
180
+ </unable_to_add_option>
181
+ <unable_to_remove_option>
182
+ <code>307</code>
183
+ <message>Unable to remove option.</message>
184
+ </unable_to_remove_option>
185
+
186
+ <!-- catalog_product_attribute_media -->
187
+ <not_created>
188
+ <code>400</code>
189
+ <message>Image creation failed. Details in error message.</message>
190
+ </not_created>
191
+ <not_removed>
192
+ <code>401</code>
193
+ <message>Image not removed. Details in error message.</message>
194
+ </not_removed>
195
+ <not_media>
196
+ <code>402</code>
197
+ <message>Requested product doesn't support images</message>
198
+ </not_media>
199
+
200
+ <category_not_exists>
201
+ <code>500</code>
202
+ <message>Category not exists.</message>
203
+ </category_not_exists>
204
+
205
  <linking_problems>
206
+ <code>205</code>
207
  <message>Can't link or update linked products.</message>
208
  </linking_problems>
209
+
210
+ <!-- mventory_product_attribute -->
211
+ <attribute_not_exists>
212
+ <code>308</code>
213
+ <message>Requested attribute not found.</message>
214
+ </attribute_not_exists>
215
+
216
+ <!-- mventory_product_attribute_media -->
217
+ <image_not_exists>
218
+ <code>403</code>
219
+ <message>Requested image not exists in product images' gallery.</message>
220
+ </image_not_exists>
221
+
222
+ <image_not_updated>
223
+ <code>404</code>
224
+ <message>Image not updated. Details in error message.</message>
225
+ </image_not_updated>
226
  </faults>
227
+ </mventory_product>
228
 
229
+ <mventory_product_attribute>
230
  <model>mventory/product_attribute_api</model>
231
  <acl>mventory/catalog/product/attribute</acl>
232
 
233
  <methods>
234
+ <list translate="title" module="mventory">
235
  <title>Retrieve attribute list with full info</title>
 
236
  <acl>mventory/catalog/product/attribute/read</acl>
237
+ <method>fullInfoList</method>
238
+ </list>
239
 
240
+ <addOption translate="title" module="mventory">
241
  <title>Add option and return full info</title>
242
  <acl>mventory/catalog/product/attribute/option/add</acl>
243
+ <method>addOptionAndReturnInfo</method>
244
+ </addOption>
245
  </methods>
 
246
 
247
+ <faults module="mventory">
248
+
249
+ <!-- common -->
250
+ <store_not_exists>
251
+ <code>100</code>
252
+ <message>Requested store view not found.</message>
253
+ </store_not_exists>
254
+
255
+ <!-- catalog_product_attribute -->
256
+ <invalid_parameters>
257
+ <code>300</code>
258
+ <message>Invalid request parameters.</message>
259
+ </invalid_parameters>
260
+ <invalid_code>
261
+ <code>301</code>
262
+ <message>Attribute code is invalid. Please use only letters (a-z), numbers (0-9) or underscore(_) in this field, first character should be a letter.</message>
263
+ </invalid_code>
264
+ <invalid_frontend_input>
265
+ <code>302</code>
266
+ <message>Incorrect attribute type.</message>
267
+ </invalid_frontend_input>
268
+ <unable_to_save>
269
+ <code>303</code>
270
+ <message>Unable to save attribute.</message>
271
+ </unable_to_save>
272
+ <can_not_delete>
273
+ <code>304</code>
274
+ <message>This attribute cannot be deleted.</message>
275
+ </can_not_delete>
276
+ <can_not_edit>
277
+ <code>305</code>
278
+ <message>This attribute cannot be edited.</message>
279
+ </can_not_edit>
280
+ <unable_to_add_option>
281
+ <code>306</code>
282
+ <message>Unable to add option.</message>
283
+ </unable_to_add_option>
284
+ <unable_to_remove_option>
285
+ <code>307</code>
286
+ <message>Unable to remove option.</message>
287
+ </unable_to_remove_option>
288
+
289
+ <!-- mventory_product_attribute -->
290
+ <attribute_not_exists>
291
+ <code>308</code>
292
+ <message>Requested attribute not found.</message>
293
+ </attribute_not_exists>
294
+ </faults>
295
+ </mventory_product_attribute>
296
+
297
+ <mventory_product_attribute_set>
298
  <model>mventory/product_attribute_set_api</model>
299
  <acl>mventory/catalog/product/attribute/set</acl>
300
 
301
  <methods>
302
+ <list translate="title" module="mventory">
303
  <title>Retrieve product attribute sets with full info</title>
 
304
  <acl>mventory/catalog/product/attribute/set/list</acl>
305
+ <method>fullInfoList</method>
306
+ </list>
307
  </methods>
 
308
 
309
+ <faults module="mventory">
310
+
311
+ <!-- mventory_product_attribute -->
312
+ <attribute_not_exists>
313
+ <code>308</code>
314
+ <message>Requested attribute not found.</message>
315
+ </attribute_not_exists>
316
+ </faults>
317
+ </mventory_product_attribute_set>
318
+
319
+ <mventory_product_attribute_media>
320
  <model>mventory/product_attribute_media_api</model>
321
  <acl>mventory/catalog/product/media</acl>
322
 
323
  <methods>
324
+ <create translate="title" module="mventory">
325
  <title>Upload new product image and return full info</title>
326
  <acl>mventory/catalog/product/media/create</acl>
327
+ <method>createAndReturnInfo</method>
328
+ </create>
329
 
330
+ <update translate="title" module="catalog">
331
+ <title>Update product image</title>
332
  <acl>mventory/catalog/product/media/update</acl>
333
  </update>
334
 
335
+ <remove translate="title" module="mventory">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
336
  <title>Upload new product image and return full info</title>
 
337
  <acl>mventory/catalog/product/media/remove</acl>
338
+ <method>remove_</method>
339
+ </remove>
340
  </methods>
 
341
 
342
+ <faults module="mventory">
343
+
344
+ <!-- common -->
345
+ <store_not_exists>
346
+ <code>100</code>
347
+ <message>Requested store view not found.</message>
348
+ </store_not_exists>
349
+
350
+ <data_invalid>
351
+ <code>101</code>
352
+ <message>Invalid data given. Details in error message.</message>
353
+ </data_invalid>
354
+
355
+ <product_not_exists>
356
+ <code>102</code>
357
+ <message>Product not exists.</message>
358
+ </product_not_exists>
359
+
360
+ <!-- catalog_product -->
361
+ <not_deleted>
362
+ <code>200</code>
363
+ <message>Product not deleted. Details in error message.</message>
364
+ </not_deleted>
365
+ <product_type_not_exists>
366
+ <code>201</code>
367
+ <message>Product type is not in allowed types.</message>
368
+ </product_type_not_exists>
369
+ <product_attribute_set_not_exists>
370
+ <code>202</code>
371
+ <message>Product attribute set is not existed</message>
372
+ </product_attribute_set_not_exists>
373
+ <product_attribute_set_not_valid>
374
+ <code>203</code>
375
+ <message>Product attribute set is not belong catalog product entity type</message>
376
+ </product_attribute_set_not_valid>
377
+ <partially_updated>
378
+ <code>204</code>
379
+ <message>There was an error during one or more products update. See error log for details.</message>
380
+ </partially_updated>
381
+
382
+ <!-- catalog_product_attribute -->
383
+ <invalid_parameters>
384
+ <code>300</code>
385
+ <message>Invalid request parameters.</message>
386
+ </invalid_parameters>
387
+ <invalid_code>
388
+ <code>301</code>
389
+ <message>Attribute code is invalid. Please use only letters (a-z), numbers (0-9) or underscore(_) in this field, first character should be a letter.</message>
390
+ </invalid_code>
391
+ <invalid_frontend_input>
392
+ <code>302</code>
393
+ <message>Incorrect attribute type.</message>
394
+ </invalid_frontend_input>
395
+ <unable_to_save>
396
+ <code>303</code>
397
+ <message>Unable to save attribute.</message>
398
+ </unable_to_save>
399
+ <can_not_delete>
400
+ <code>304</code>
401
+ <message>This attribute cannot be deleted.</message>
402
+ </can_not_delete>
403
+ <can_not_edit>
404
+ <code>305</code>
405
+ <message>This attribute cannot be edited.</message>
406
+ </can_not_edit>
407
+ <unable_to_add_option>
408
+ <code>306</code>
409
+ <message>Unable to add option.</message>
410
+ </unable_to_add_option>
411
+ <unable_to_remove_option>
412
+ <code>307</code>
413
+ <message>Unable to remove option.</message>
414
+ </unable_to_remove_option>
415
+
416
+ <!-- catalog_product_attribute_media -->
417
+ <not_created>
418
+ <code>400</code>
419
+ <message>Image creation failed. Details in error message.</message>
420
+ </not_created>
421
+ <not_removed>
422
+ <code>401</code>
423
+ <message>Image not removed. Details in error message.</message>
424
+ </not_removed>
425
+ <not_media>
426
+ <code>402</code>
427
+ <message>Requested product doesn't support images</message>
428
+ </not_media>
429
+
430
+ <!-- mventory_product_attribute -->
431
+ <attribute_not_exists>
432
+ <code>308</code>
433
+ <message>Requested attribute not found.</message>
434
+ </attribute_not_exists>
435
+
436
+ <!-- mventory_product_attribute_media -->
437
+ <image_not_exists>
438
+ <code>403</code>
439
+ <message>Requested image not exists in product images' gallery.</message>
440
+ </image_not_exists>
441
+
442
+ <image_not_updated>
443
+ <code>404</code>
444
+ <message>Image not updated. Details in error message.</message>
445
+ </image_not_updated>
446
+ </faults>
447
+ </mventory_product_attribute_media>
448
+
449
+ <mventory_cart>
450
  <model>mventory/cart_api</model>
451
  <acl>mventory/cart</acl>
452
 
453
  <methods>
454
  <createOrderForProduct translate="title" module="mventory">
455
  <title>Create order for specified SKU</title>
 
456
  <acl>mventory/cart/order</acl>
457
  </createOrderForProduct>
458
 
459
  <createOrderForMultipleProducts translate="title" module="mventory">
460
  <title>Create order for multiple products</title>
 
461
  <acl>mventory/cart/order</acl>
462
  </createOrderForMultipleProducts>
463
 
464
+ <addItem translate="title" module="mventory">
465
  <title>Add an item to cart</title>
 
466
  <acl>mventory/cart</acl>
467
+ <method>addToCart</method>
468
+ </addItem>
469
 
470
+ <info translate="title" module="mventory">
471
  <title>Get contents of the whole cart</title>
 
472
  <acl>mventory/cart</acl>
473
+ <method>getCart</method>
474
+ </info>
475
  </methods>
476
 
477
+ <faults module="mventory">
478
+
479
+ <!-- common -->
480
+ <store_not_exists>
481
+ <code>100</code>
482
+ <message>Requested store view not found.</message>
483
+ </store_not_exists>
484
+
485
+ <data_invalid>
486
+ <code>101</code>
487
+ <message>Invalid data given. Details in error message.</message>
488
+ </data_invalid>
489
+
490
+ <product_not_exists>
491
+ <code>102</code>
492
+ <message>Product not exists.</message>
493
+ </product_not_exists>
494
+
495
+ <quote_not_exists>
496
+ <code>103</code>
497
+ <message>Can not make operation because quote is not exists</message>
498
+ </quote_not_exists>
499
+
500
+ <invalid_filter>
501
+ <code>104</code>
502
+ <message>Invalid filter given. Details in error message.</message>
503
+ </invalid_filter>
504
+
505
+ <!-- catalog_product -->
506
+ <not_deleted>
507
+ <code>200</code>
508
+ <message>Product not deleted. Details in error message.</message>
509
+ </not_deleted>
510
+ <product_type_not_exists>
511
+ <code>201</code>
512
+ <message>Product type is not in allowed types.</message>
513
+ </product_type_not_exists>
514
+ <product_attribute_set_not_exists>
515
+ <code>202</code>
516
+ <message>Product attribute set is not existed</message>
517
+ </product_attribute_set_not_exists>
518
+ <product_attribute_set_not_valid>
519
+ <code>203</code>
520
+ <message>Product attribute set is not belong catalog product entity type</message>
521
+ </product_attribute_set_not_valid>
522
+ <partially_updated>
523
+ <code>204</code>
524
+ <message>There was an error during one or more products update. See error log for details.</message>
525
+ </partially_updated>
526
+
527
+ <!-- catalog_product_attribute -->
528
+ <invalid_parameters>
529
+ <code>300</code>
530
+ <message>Invalid request parameters.</message>
531
+ </invalid_parameters>
532
+ <invalid_code>
533
+ <code>301</code>
534
+ <message>Attribute code is invalid. Please use only letters (a-z), numbers (0-9) or underscore(_) in this field, first character should be a letter.</message>
535
+ </invalid_code>
536
+ <invalid_frontend_input>
537
+ <code>302</code>
538
+ <message>Incorrect attribute type.</message>
539
+ </invalid_frontend_input>
540
+ <unable_to_save>
541
+ <code>303</code>
542
+ <message>Unable to save attribute.</message>
543
+ </unable_to_save>
544
+ <can_not_delete>
545
+ <code>304</code>
546
+ <message>This attribute cannot be deleted.</message>
547
+ </can_not_delete>
548
+ <can_not_edit>
549
+ <code>305</code>
550
+ <message>This attribute cannot be edited.</message>
551
+ </can_not_edit>
552
+ <unable_to_add_option>
553
+ <code>306</code>
554
+ <message>Unable to add option.</message>
555
+ </unable_to_add_option>
556
+ <unable_to_remove_option>
557
+ <code>307</code>
558
+ <message>Unable to remove option.</message>
559
+ </unable_to_remove_option>
560
+
561
+ <!-- catalog_product_attribute_media -->
562
+ <not_created>
563
+ <code>400</code>
564
+ <message>Image creation failed. Details in error message.</message>
565
+ </not_created>
566
+ <not_removed>
567
+ <code>401</code>
568
+ <message>Image not removed. Details in error message.</message>
569
+ </not_removed>
570
+ <not_media>
571
+ <code>402</code>
572
+ <message>Requested product doesn't support images</message>
573
+ </not_media>
574
+
575
+ <!-- cart_customer -->
576
  <customer_not_set>
577
+ <code>500</code>
578
  <message>Customer is not set. </message>
579
  </customer_not_set>
580
+ <customer_not_exists>
581
+ <code>501</code>
582
+ <message>The customer's identifier is not valid or customer is not existed</message>
583
+ </customer_not_exists>
584
+ <customer_not_created>
585
+ <code>502</code>
586
+ <message>Customer could not be created. </message>
587
+ </customer_not_created>
588
  <customer_data_invalid>
589
+ <code>503</code>
590
  <message>Customer data is not valid. </message>
591
  </customer_data_invalid>
 
592
  <customer_mode_is_unknown>
593
+ <code>504</code>
594
  <message>Customer's mode is unknown</message>
595
  </customer_mode_is_unknown>
596
+ <customer_address_data_empty>
597
+ <code>505</code>
598
+ <message>Customer address data is empty.</message>
599
+ </customer_address_data_empty>
600
+ <customer_address_invalid>
601
+ <code>506</code>
602
+ <message>Customer's address data is not valid.</message>
603
+ </customer_address_invalid>
604
+ <invalid_address_id>
605
+ <code>507</code>
606
+ <message>The customer's address identifier is not valid</message>
607
+ </invalid_address_id>
608
+ <address_is_not_set>
609
+ <code>508</code>
610
+ <message>Customer address is not set.</message>
611
+ </address_is_not_set>
612
+ <address_not_belong_customer>
613
+ <code>509</code>
614
+ <message>Customer address identifier do not belong customer, which set in quote</message>
615
+ </address_not_belong_customer>
616
+
617
+ <!-- cart_product -->
618
  <invalid_product_data>
619
+ <code>600</code>
620
  <message>Product's data is not valid.</message>
621
  </invalid_product_data>
 
622
  <add_product_fault>
623
+ <code>601</code>
624
  <message>Product(s) could not be added. </message>
625
  </add_product_fault>
 
626
  <add_product_quote_save_fault>
627
+ <code>602</code>
628
  <message>Quote could not be saved during adding product(s) operation.</message>
629
  </add_product_quote_save_fault>
630
+ <update_product_fault>
631
+ <code>603</code>
632
+ <message>Product(s) could not be updated. </message>
633
+ </update_product_fault>
634
+ <update_product_quote_save_fault>
635
+ <code>604</code>
636
+ <message>Quote could not be saved during updating product(s) operation.</message>
637
+ </update_product_quote_save_fault>
638
+ <remove_product_fault>
639
+ <code>605</code>
640
+ <message>Product(s) could not be removed. </message>
641
+ </remove_product_fault>
642
+ <remove_product_quote_save_fault>
643
+ <code>606</code>
644
+ <message>Quote could not be saved during removing product(s) operation.</message>
645
+ </remove_product_quote_save_fault>
646
+ <customer_not_set_for_quote>
647
+ <code>607</code>
648
+ <message>Customer is not set for quote.</message>
649
+ </customer_not_set_for_quote>
650
+ <customer_quote_not_exist>
651
+ <code>608</code>
652
+ <message>Customer's quote is not existed.</message>
653
+ </customer_quote_not_exist>
654
+ <quotes_are_similar>
655
+ <code>609</code>
656
+ <message>Quotes are identical.</message>
657
+ </quotes_are_similar>
658
+ <unable_to_move_all_products>
659
+ <code>610</code>
660
+ <message>Product(s) could not be moved. </message>
661
+ </unable_to_move_all_products>
662
+ <product_move_quote_save_fault>
663
+ <code>611</code>
664
+ <message>One of quote could not be saved during moving product(s) operation.</message>
665
+ </product_move_quote_save_fault>
666
+
667
+ <!-- cart_shipping -->
668
+ <shipping_address_is_not_set>
669
+ <code>700</code>
670
+ <message>Can not make operation because of customer shipping address is not set</message>
671
+ </shipping_address_is_not_set>
672
+ <shipping_method_is_not_available>
673
+ <code>701</code>
674
+ <message>Shipping method is not available</message>
675
+ </shipping_method_is_not_available>
676
+ <shipping_method_is_not_set>
677
+ <code>702</code>
678
+ <message>Can not set shipping method. </message>
679
+ </shipping_method_is_not_set>
680
+ <shipping_methods_list_could_not_be_retrived>
681
+ <code>703</code>
682
+ <message>Can not receive list of shipping methods. </message>
683
+ </shipping_methods_list_could_not_be_retrived>
684
+
685
+ <!-- cart_payment -->
686
+ <payment_method_empty>
687
+ <code>800</code>
688
+ <message>Payment method data is empty.</message>
689
+ </payment_method_empty>
690
+ <billing_address_is_not_set>
691
+ <code>801</code>
692
+ <message>Customer's billing address is not set. Required for payment method data.</message>
693
+ </billing_address_is_not_set>
694
+ <method_not_allowed>
695
+ <code>802</code>
696
+ <message>Payment method is not allowed</message>
697
+ </method_not_allowed>
698
+ <payment_method_is_not_set>
699
+ <code>803</code>
700
+ <message>Payment method is not set. </message>
701
+ </payment_method_is_not_set>
702
+
703
+ <!-- sales_order_shipment -->
704
+ <filters_invalid>
705
+ <code>900</code>
706
+ <message>Invalid filters given. Details in error message.</message>
707
+ </filters_invalid>
708
 
709
  <transaction_not_exists>
710
+ <code>1400</code>
711
  <message>No such transaction ID</message>
712
  </transaction_not_exists>
713
+
714
+ <!-- mventory_product_attribute -->
715
+ <attribute_not_exists>
716
+ <code>308</code>
717
+ <message>Requested attribute not found.</message>
718
+ </attribute_not_exists>
719
+
720
+ <!-- mventory_product_attribute_media -->
721
+ <image_not_exists>
722
+ <code>403</code>
723
+ <message>Requested image not exists in product images' gallery.</message>
724
+ </image_not_exists>
725
+
726
+ <image_not_updated>
727
+ <code>404</code>
728
+ <message>Image not updated. Details in error message.</message>
729
+ </image_not_updated>
730
+
731
+ <!-- mventory_cart_payment -->
732
+ <payment_shipping_address_is_not_set>
733
+ <code>804</code>
734
+ <message>Customer's shipping address is not set. Required for payment method data.</message>
735
+ </payment_shipping_address_is_not_set>
736
+
737
+ <!-- mventory_order -->
738
+ <order_not_exists>
739
+ <code>1000</code>
740
+ <message>Requested order not exists.</message>
741
+ </order_not_exists>
742
+
743
+ <!-- mventory_order_shipment -->
744
+ <shipment_not_exists>
745
+ <code>1100</code>
746
+ <message>Requested shipment not exists.</message>
747
+ </shipment_not_exists>
748
+
749
+ <!-- mventory_order_invoice -->
750
+ <invoice_not_exists>
751
+ <code>1200</code>
752
+ <message>Requested invoice does not exist.</message>
753
+ </invoice_not_exists>
754
+
755
+ <!-- mventory_order_creditmemo -->
756
+ <creditmemo_not_exists>
757
+ <code>1300</code>
758
+ <message>Requested credit memo does not exist</message>
759
+ </creditmemo_not_exists>
760
  </faults>
761
+ </mventory_cart>
762
 
763
+ <mventory_order>
764
  <model>mventory/order_api</model>
765
  <acl>mventory/sales/order</acl>
766
 
767
  <methods>
768
+ <list translate="title" module="mventory">
769
  <title>Retrieve list of orders by status and store</title>
770
  <acl>mventory/sales/order/info</acl>
771
+ <method>listByStatus</method>
772
+ </list>
773
 
774
+ <info translate="title" module="mventory">
775
  <title>Retrieve full order information</title>
776
  <acl>mventory/sales/order/info</acl>
777
+ <method>fullInfo</method>
778
+ </info>
779
  </methods>
 
780
 
781
+ <faults module="mventory">
782
+
783
+ <!-- common -->
784
+ <data_invalid>
785
+ <code>101</code>
786
+ <message>Invalid data given. Details in error message.</message>
787
+ </data_invalid>
788
+
789
+ <invalid_filter>
790
+ <code>104</code>
791
+ <message>Invalid filter given. Details in error message</message>
792
+ </invalid_filter>
793
+
794
+ <!-- sales_order_shipment -->
795
+ <filters_invalid>
796
+ <code>900</code>
797
+ <message>Invalid filters given. Details in error message.</message>
798
+ </filters_invalid>
799
+
800
+ <!-- mventory_order -->
801
+ <order_not_exists>
802
+ <code>1000</code>
803
+ <message>Requested order not exists.</message>
804
+ </order_not_exists>
805
+
806
+ <!-- mventory_order_shipment -->
807
+ <shipment_not_exists>
808
+ <code>1100</code>
809
+ <message>Requested shipment not exists.</message>
810
+ </shipment_not_exists>
811
+
812
+ <!-- mventory_order_invoice -->
813
+ <invoice_not_exists>
814
+ <code>1200</code>
815
+ <message>Requested invoice does not exist.</message>
816
+ </invoice_not_exists>
817
+
818
+ <!-- mventory_order_creditmemo -->
819
+ <creditmemo_not_exists>
820
+ <code>1300</code>
821
+ <message>Requested credit memo does not exist</message>
822
+ </creditmemo_not_exists>
823
+ </faults>
824
+ </mventory_order>
825
+
826
+ <mventory_order_shipment>
827
  <model>mventory/order_shipment_api</model>
828
  <acl>mventory/sales/shipment</acl>
829
 
830
  <methods>
831
+ <create translate="title" module="mventory">
832
  <title>Create shipment with tracking and retrieve full order information</title>
833
  <acl>mventory/sales/shipment/create_with_tracking</acl>
834
+ <method>createShipmentWithTracking</method>
835
+ </create>
836
  </methods>
837
+
838
+ <faults module="mventory">
839
+
840
+ <!-- common -->
841
+ <data_invalid>
842
+ <code>101</code>
843
+ <message>Invalid data given. Details in error message.</message>
844
+ </data_invalid>
845
+
846
+ <invalid_filter>
847
+ <code>104</code>
848
+ <message>Invalid filter given. Details in error message</message>
849
+ </invalid_filter>
850
+
851
+ <!-- sales_order_shipment -->
852
+ <filters_invalid>
853
+ <code>900</code>
854
+ <message>Invalid filters given. Details in error message.</message>
855
+ </filters_invalid>
856
+
857
+ <!-- mventory_order -->
858
+ <order_not_exists>
859
+ <code>1000</code>
860
+ <message>Requested order not exists.</message>
861
+ </order_not_exists>
862
+
863
+ <!-- mventory_order_shipment -->
864
+ <shipment_not_exists>
865
+ <code>1100</code>
866
+ <message>Requested shipment not exists.</message>
867
+ </shipment_not_exists>
868
+
869
+ <!-- mventory_order_invoice -->
870
+ <invoice_not_exists>
871
+ <code>1200</code>
872
+ <message>Requested invoice does not exist.</message>
873
+ </invoice_not_exists>
874
+
875
+ <!-- mventory_order_creditmemo -->
876
+ <creditmemo_not_exists>
877
+ <code>1300</code>
878
+ <message>Requested credit memo does not exist</message>
879
+ </creditmemo_not_exists>
880
+ </faults>
881
+ </mventory_order_shipment>
882
  </resources>
883
 
884
  <acl>
app/code/community/MVentory/API/etc/config.xml CHANGED
@@ -5,15 +5,17 @@
5
  * NOTICE OF LICENSE
6
  *
7
  * This source file is subject to the Creative Commons License BY-NC-ND.
8
- * NonCommercial You may not use the material for commercial purposes.
9
- * NoDerivatives If you remix, transform, or build upon the material,
10
- * you may not distribute the modified material.
11
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
12
  *
13
- * See http://mventory.com/legal/licensing/ for other licensing options.
14
  *
15
  * @package MVentory/API
16
- * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
17
  * @license http://creativecommons.org/licenses/by-nc-nd/4.0/
18
  */
19
  -->
@@ -359,15 +361,15 @@
359
  </mventory>
360
 
361
  <carriers>
362
- <dummyshipping>
363
  <active>1</active>
364
  <sallowspecific>0</sallowspecific>
365
  <cutoff_cost>0</cutoff_cost>
366
- <model>mventory/carrier_dummyshipping</model>
367
- <name>Dummy</name>
368
- <title>Dummy Shipping</title>
369
  <specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
370
- </dummyshipping>
371
 
372
  <volumerate>
373
  <active>0</active>
@@ -380,14 +382,14 @@
380
  </carriers>
381
 
382
  <payment>
383
- <dummy>
384
  <active>1</active>
385
- <model>mventory/method_dummy</model>
386
  <order_status>pending</order_status>
387
- <title>App</title>
388
  <allowspecific>0</allowspecific>
389
  <group>offline</group>
390
- </dummy>
391
  </payment>
392
  </default>
393
 
5
  * NOTICE OF LICENSE
6
  *
7
  * This source file is subject to the Creative Commons License BY-NC-ND.
8
+ * By Attribution (BY) - You can share this file unchanged, including
9
+ * this copyright statement.
10
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
11
+ * A commercial license can be purchased separately from mventory.com.
12
+ * No Derivatives (ND) - You can make changes to this file for your own use,
13
+ * but you cannot share or redistribute the changes.
14
  *
15
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
16
  *
17
  * @package MVentory/API
18
+ * @copyright Copyright (c) 2014-2015 mVentory Ltd. (http://mventory.com)
19
  * @license http://creativecommons.org/licenses/by-nc-nd/4.0/
20
  */
21
  -->
361
  </mventory>
362
 
363
  <carriers>
364
+ <mventory>
365
  <active>1</active>
366
  <sallowspecific>0</sallowspecific>
367
  <cutoff_cost>0</cutoff_cost>
368
+ <model>mventory/shipping</model>
369
+ <name>mVentory</name>
370
+ <title>mVentory Shipping</title>
371
  <specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
372
+ </mventory>
373
 
374
  <volumerate>
375
  <active>0</active>
382
  </carriers>
383
 
384
  <payment>
385
+ <mventory>
386
  <active>1</active>
387
+ <model>mventory/payment</model>
388
  <order_status>pending</order_status>
389
+ <title>mVentory</title>
390
  <allowspecific>0</allowspecific>
391
  <group>offline</group>
392
+ </mventory>
393
  </payment>
394
  </default>
395
 
app/code/community/MVentory/API/etc/system.xml CHANGED
@@ -5,12 +5,14 @@
5
  * NOTICE OF LICENSE
6
  *
7
  * This source file is subject to the Creative Commons License BY-NC-ND.
8
- * NonCommercial You may not use the material for commercial purposes.
9
- * NoDerivatives If you remix, transform, or build upon the material,
10
- * you may not distribute the modified material.
11
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
12
  *
13
- * See http://mventory.com/legal/licensing/ for other licensing options.
14
  *
15
  * @package MVentory/API
16
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
@@ -21,7 +23,7 @@
21
  <config>
22
  <tabs>
23
  <mventory translate="label" module="mventory">
24
- <label>mVentory</label>
25
  <sort_order>100</sort_order>
26
  </mventory>
27
  </tabs>
5
  * NOTICE OF LICENSE
6
  *
7
  * This source file is subject to the Creative Commons License BY-NC-ND.
8
+ * By Attribution (BY) - You can share this file unchanged, including
9
+ * this copyright statement.
10
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
11
+ * A commercial license can be purchased separately from mventory.com.
12
+ * No Derivatives (ND) - You can make changes to this file for your own use,
13
+ * but you cannot share or redistribute the changes.
14
  *
15
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
16
  *
17
  * @package MVentory/API
18
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
23
  <config>
24
  <tabs>
25
  <mventory translate="label" module="mventory">
26
+ <label><![CDATA[<img id="mventory-logo" alt="mVentory" title="mVentory" src="https://s3-ap-southeast-2.amazonaws.com/mventory-logos/mVentory-logo.png">]]></label>
27
  <sort_order>100</sort_order>
28
  </mventory>
29
  </tabs>
app/code/community/MVentory/API/sql/mventory_setup/install-3.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-10-11.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-12-13.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-17-18.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-18-19.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-20-21.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-21-22.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-22-23.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-24-25.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-25-26.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-26-27.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-3-4.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-8-9.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/code/community/MVentory/API/sql/mventory_setup/upgrade-9-10.php CHANGED
@@ -4,12 +4,14 @@
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
- * NonCommercial You may not use the material for commercial purposes.
8
- * NoDerivatives If you remix, transform, or build upon the material,
9
- * you may not distribute the modified material.
10
- * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
 
 
11
  *
12
- * See http://mventory.com/legal/licensing/ for other licensing options.
13
  *
14
  * @package MVentory/API
15
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Creative Commons License BY-NC-ND.
7
+ * By Attribution (BY) - You can share this file unchanged, including
8
+ * this copyright statement.
9
+ * Non-Commercial (NC) - You can use this file for non-commercial activities.
10
+ * A commercial license can be purchased separately from mventory.com.
11
+ * No Derivatives (ND) - You can make changes to this file for your own use,
12
+ * but you cannot share or redistribute the changes.
13
  *
14
+ * See the full license at http://creativecommons.org/licenses/by-nc-nd/4.0/
15
  *
16
  * @package MVentory/API
17
  * @copyright Copyright (c) 2014 mVentory Ltd. (http://mventory.com)
app/design/adminhtml/default/default/template/mventory/config/build-info.phtml CHANGED
@@ -18,5 +18,5 @@
18
 
19
  ?>
20
 
21
- Build version: fce2313
22
- <BR/>Build date: 02/02/2015 00:04 UTC
18
 
19
  ?>
20
 
21
+ Build version: 052905f
22
+ <BR/>Build date: 17/02/2015 03:22 UTC
js/mventory/matching.js CHANGED
@@ -45,11 +45,11 @@ jQuery(document).ready(function ($) {
45
  .find('.mventory-rule-new-attr-value')
46
  .empty();
47
 
48
- for (var i in attr.values)
49
  $values.append($('<option>', {
50
- value: i,
51
- text: attr.values[i],
52
- class: attr.used_values[i] ? 'mventory-state-used-value' : ''
53
  }));
54
 
55
  $values.change();
@@ -112,9 +112,14 @@ jQuery(document).ready(function ($) {
112
  var attr = new_rule.attrs[i];
113
  var attr_data = mventory_attrs[attr.id];
114
 
115
- var value = $.map($.makeArray(attr.value), function (value, index) {
116
- return attr_data.values[value];
117
- });
 
 
 
 
 
118
 
119
  var $values = $attr_template.clone();
120
 
45
  .find('.mventory-rule-new-attr-value')
46
  .empty();
47
 
48
+ for (var i = 0, value; value = attr.values[i++];)
49
  $values.append($('<option>', {
50
+ value: value.id,
51
+ text: value.label,
52
+ class: attr.used_values[value.id] ? 'mventory-state-used-value' : ''
53
  }));
54
 
55
  $values.change();
112
  var attr = new_rule.attrs[i];
113
  var attr_data = mventory_attrs[attr.id];
114
 
115
+ var value = [];
116
+
117
+ for (var n = 0, valueId; valueId = attr.value[n++];)
118
+ for (var m = 0, attrVal; attrVal = attr_data.values[m++];)
119
+ if (valueId == attrVal.id) {
120
+ value[value.length] = attrVal.label;
121
+ break;
122
+ }
123
 
124
  var $values = $attr_template.clone();
125
 
package.xml CHANGED
@@ -1,5 +1,5 @@
1
  <?xml version="1.0"?>
2
- <package><name>MVentory_API</name><version>1.1.3</version><stability>stable</stability><license>CC BY-NC-ND 4.0</license><channel>community</channel><extends></extends><summary>The easiest way to sell online: PoS, Inventory and Website control in one elegant Android application.</summary><description>mVentory is an Android application for efficient management of Magento stores. This extension provides additional API functionality and is required for the app to connect to your Magento website.
3
 
4
 
5
 
@@ -35,7 +35,7 @@ Configuration
35
 
36
 
37
 
38
- You need to configure user access and product attributes. Read a step by step guide (https://github.com/mVentory/MVentory_Tm) or contact our support on info@mventory.com
39
 
40
 
41
 
@@ -49,7 +49,7 @@ Creative Commons BY-NC-ND 4.0 (http://creativecommons.org/licenses/by-nc-nd/4.0/
49
 
50
  The extension is free for non-commercial or trial use. Please, request a FREE commercial license from info@mventory.com
51
 
52
- Visit http://mventory.com for more info.</description><notes>* Use also SKU attribute when searching product by barcode
53
 
54
  * Support for multicategories in category matching editor
55
 
@@ -57,4 +57,4 @@ Visit http://mventory.com for more info.</description><notes>* Use also SKU attr
57
 
58
  * Dropped functionality for sorting attributes in catalog filter, functionality for better product details on frontend
59
 
60
- * Other small improvements and bug fixes</notes><authors><author><name>Anatoly A. Kazantsev</name><user>anatoly</user><email>anatoly@mventory.com</email></author></authors><date>2015-02-01</date><time>16:04:41</time><compatible></compatible><dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.9.0.0</min><max></max></package></required></dependencies><contents><target name="mage"><dir name="js"><dir name="jquery"><file name="jquery-min.js" hash="baae1db8cca4abb2265b0a6e01f1beed"/><file name="jquery-ui-custom-min.js" hash="e37cbc707c78240780a5ce641f476eb3"/></dir><dir name="mventory"><file name="matching.js" hash="09c61e8b1e9b7b362efd3d3c5565bf30"/></dir></dir><dir name="var"><dir name="connect"><file name="MVentory_API.xml" hash="3e21e704ebd1fd4750ee9e4af6935182"/></dir></dir><dir name="app"><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mventory.xml" hash="902a95b8b78acdf528e13993eb6f5030"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mventory.xml" hash="46b4a123593ad761f3521d5b2d4f71bb"/></dir><dir name="template"><dir name="mventory"><file name="element.phtml" hash="cb233713a0e550b2165280231c24360f"/><file name="matching.phtml" hash="5378e331d15f5daf582021dd96d7f130"/><file name="metadata.phtml" hash="29d84bb98175c7ca358e68f49cffa8f3"/><dir name="matching"><file name="categories.phtml" hash="ab29d30352987276065b9e933acd3fcc"/></dir><dir name="customer"><dir name="edit"><file name="js.phtml" hash="36e6fba58aa4eff02bc57e2a1d628d79"/></dir></dir><dir name="config"><file name="build-info.phtml" hash="0d62a045b8e1026680797e6876483259"/></dir></dir></dir></dir></dir></dir></dir><dir name="code"><dir name="community"><dir name="MVentory"><dir name="API"><dir name="controllers"><file name="AppController.php" hash="0a39cfee9fe835306047dea9e4e303c6"/><file name="CarriersController.php" hash="715d97c0d6d6254bbc1a34de72d9d412"/><file name="CustomerController.php" hash="abd3e2d14789921ec3433edd133d2db8"/><file name="DropboxController.php" hash="9328f59e4d0c433c357903558f0aeac4"/><file name="ImageController.php" hash="1b4793fab6372342431fe1ef79eaa161"/><file name="LogsController.php" hash="56b71008373e8dadd8e85b4f51731bda"/><file name="MatchingController.php" hash="a26315f2104db553b0f8b11304c1a8d2"/><file name="QrController.php" hash="62babcd4d7ca8ac706ec16aef7224398"/><file name="SwitchController.php" hash="e3cd52fc49c776070b23a3f266e01ef4"/><dir name="Catalog"><file name="ProductController.php" hash="2cdcc5714a16639f4386f4965cd13540"/></dir></dir><dir name="Block"><file name="Matching.php" hash="e9fbca048eae8f17c9db92093ca07868"/><file name="Metadata.php" hash="c7d1c95691f22d0cd6fc6e6f50968478"/><dir name="Setting"><file name="Buildinfo.php" hash="ae12b8513ed6cd358f1fe0d51148b9fa"/><file name="Fieldset.php" hash="930733a411a1da95ebb8d92513fc281e"/></dir><dir name="Matching"><file name="Categories.php" hash="31898c0103960d547ed156222a21f3d6"/></dir><dir name="Carrier"><dir name="Volumerate"><file name="Grid.php" hash="872514bd5736fe198852cf391dc455f4"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Exportrates.php" hash="320c41485509d2aa81de09db59e42316"/><file name="Imgcliplog.php" hash="cd01bdd18eb3fbfba96fd5071b0cce3b"/></dir></dir></dir></dir></dir><dir name="data"><dir name="mventory_setup"><file name="data-upgrade-20-21.php" hash="f489372f12f0d136c1c442a5d370e39c"/><file name="data-upgrade-23-24.php" hash="e1fb585ae2c43381c810b3cf5c6e9f6d"/><file name="data-upgrade-27-28.php" hash="38395ad717b2e1e878f81aa859a41a25"/><file name="data-upgrade-28-29.php" hash="96a16e1f2fe9cfdb04f95a7d894dc738"/></dir></dir><dir name="Helper"><file name="Barcode.php" hash="8b4640086a87bd0c42b29a5c1acdb86a"/><file name="Data.php" hash="e6c519ca0bbe699f036e3ecb1745c7b3"/><file name="Image.php" hash="1e243b3390861bb4904ee2a71c47662c"/><file name="Imageclipper.php" hash="6f74a27132de52a1e4df88c1bcb6e5e4"/><file name="Product.php" hash="76c9fccb681ba5b620fbf98899be82ca"/><file name="String.php" hash="abf7b9e55b3d5c78330fef30b5032869"/><dir name="Mage"><dir name="Sales"><file name="Data.php" hash="ceece3cf00a105deb08ce4375aaa93b0"/></dir></dir><dir name="Product"><file name="Attribute.php" hash="a72b9096e044d8b9f9c8e5c3e06af493"/><file name="Configurable.php" hash="5e5fba0e29ff0f4da8470889b420ac46"/></dir></dir><dir name="sql"><dir name="mventory_setup"><file name="install-3.php" hash="330cca069458f152038555115e6b0234"/><file name="upgrade-10-11.php" hash="67fee3d5fddd0642b7b757250eaf63f6"/><file name="upgrade-12-13.php" hash="6bc91d57859fa268c7dbde5ed05438a7"/><file name="upgrade-17-18.php" hash="85ef0269e66032dd62c018bc26ac3937"/><file name="upgrade-18-19.php" hash="f8b885437599e325bc8de353eb3eb83f"/><file name="upgrade-20-21.php" hash="86ae87b5037b1268e9a5e74235b3d729"/><file name="upgrade-21-22.php" hash="1a89c076d1281a3901c2b4e868a92f34"/><file name="upgrade-22-23.php" hash="e4cd8b9328b9583e1a9d8c22bb9afb6f"/><file name="upgrade-24-25.php" hash="50d8f4106d0ff130ee7e6343184b1045"/><file name="upgrade-25-26.php" hash="96df19aefcf2af6694f66eb9c2c43e87"/><file name="upgrade-26-27.php" hash="e11aba86379d49671a72e186e27fdc37"/><file name="upgrade-3-4.php" hash="16dd6825e8bef52616a3bc5ca094121f"/><file name="upgrade-8-9.php" hash="b45c4b0dc10babd3c69a189b991e8cc5"/><file name="upgrade-9-10.php" hash="aad37307aa4e2a00d13d523c4e26f2b0"/></dir></dir><dir name="Model"><file name="Config.php" hash="9045560ac739b60dddcae7a3f5282d32"/><file name="Matching.php" hash="7ccbb98dccd16f0e947cee887470c353"/><file name="Observer.php" hash="3ddbf155d25e93189701a06a3136d82a"/><dir name="Setting"><dir name="Backend"><file name="Dbxpath.php" hash="e4ff1e669211591b4db20810d9ac12ba"/></dir></dir><dir name="Dataflow"><file name="Api.php" hash="bd7f759fb67ce4e2488b1f432983a2e9"/></dir><dir name="Category"><file name="Api.php" hash="87af15e065103de12ecfd0e3814852d4"/></dir><dir name="Carrier"><file name="Dummyshipping.php" hash="a3fbd35351246467234caabd7568191c"/><file name="Volumerate.php" hash="cdd8165ad153f1bcb44da0f6c6ac6a92"/></dir><dir name="Method"><file name="Dummy.php" hash="1cd6202659d5a3f7a53ebfcbf0a19be1"/></dir><dir name="Stock"><dir name="Item"><file name="Api.php" hash="c1bef7c4480067288e0df298c2e7cf79"/></dir></dir><dir name="Config"><dir name="Data"><file name="Websites.php" hash="fd290e8aa5906696cc5b1826cbcbc2eb"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Carrier"><file name="Volumerate.php" hash="0841ebb38c81c686ab61a4a436725f3c"/></dir><dir name="Imgclip"><file name="Backupfolder.php" hash="f8f21d5e78e1a072c41e04cdfa3ab182"/><file name="Csvlog.php" hash="3ba51674b3f2034c6a42a956c342bcc2"/></dir></dir><dir name="Source"><file name="Allowedshippingtypes.php" hash="2e21cd08df64863864346836aa3b75a2"/><file name="Contenttype.php" hash="c0d6519611d3698067f8612c6b3af0c1"/><file name="Customers.php" hash="f82920a18fe4fd716209e979e4d18550"/><file name="Inputmethod.php" hash="dc08c413dc2fbf144397a901e2db819e"/><file name="Visibility.php" hash="697837d4ce0d6d41da6a4158a7d77340"/><file name="Website.php" hash="d828e7518be6f941bf770246a1a939cd"/></dir></dir></dir><dir name="Product"><file name="Action.php" hash="732e717e28769835c0fd473a7619d2ec"/><file name="Api.php" hash="fbe1ef0ce7e65f9886124351a6a2acf8"/><dir name="Attribute"><file name="Api.php" hash="00ddeb6df4c708f72fdc882f40ac3a07"/><dir name="Set"><file name="Api.php" hash="6dac1ddaab111b30d1576db4a2ade8c5"/></dir><dir name="Media"><file name="Api.php" hash="c9fb277f5520c7577fa74f6065e7f0f3"/></dir></dir></dir><dir name="Resource"><file name="Matching.php" hash="3393dadcf732c6c540dac2c451cca19c"/><file name="Product.php" hash="fd287b5368273afcec58bca5edb744c8"/><file name="Setup.php" hash="84dbbfaea5bff0e09685ce22f2df34fa"/><file name="Sku.php" hash="c7e66f4dfd3e4e112322820890e91031"/><dir name="Carrier"><file name="Volumerate.php" hash="43e04d917c8dee845478e7cc8b7d3406"/><dir name="Volumerate"><file name="Collection.php" hash="05cb727f47024780b82fe0b4e5390769"/></dir></dir><dir name="Cart"><file name="Item.php" hash="e7357032ebedd9950b2e88ea8573b9b5"/></dir><dir name="Entity"><file name="Attribute.php" hash="58b2018009bbd11426cba949a4c0b9c1"/></dir><dir name="Order"><file name="Transaction.php" hash="ab38ab39c83b51e1542c5bf4ace767fa"/></dir></dir><dir name="Cart"><file name="Api.php" hash="b70c6f86a91324774fd7fdbde1e04e45"/><file name="Item.php" hash="5e595ec1e0a0d76eabc1f848ff204677"/><dir name="Payment"><file name="Api.php" hash="5ece106053aa06548df7046c8a5a432d"/></dir></dir><dir name="Order"><file name="Api.php" hash="c43b03788eab9090d2c9d78ce74192b5"/><file name="Transaction.php" hash="825c31f1d32126d4c6c57eb292d4aa1e"/><dir name="Shipment"><file name="Api.php" hash="e06114cbd2bff22181def8fca1553018"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="f251dfa63cae7bf76aaa2b34ebd631c2"/><file name="api.xml" hash="7510be2b890a0f3039efdca9dcc063e9"/><file name="config.xml" hash="4689d261452b57c4320c90e666eb238d"/><file name="system.xml" hash="c16e4e69a4c28a21f61c3f2d99b604d5"/></dir></dir></dir><dir name="Hackathon"><dir name="PSR0Autoloader"><dir name="Model"><file name="Observer.php" hash="27ff6168c7057b3d116915c50e34c0a6"/><file name="SplAutoloader.php" hash="ca80992ff765e7fa88c507976205f7e2"/></dir><dir name="etc"><file name="config.xml" hash="4b76d9de1d114e8bf5dfef6fae75d973"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Hackathon_PSR0Autoloader.xml" hash="87095bbf80d16f7e97304317761690dd"/><file name="MVentory_API.xml" hash="3002a36d0a49a782ead45dc5bf2d885a"/></dir></dir></dir><dir name="lib"><dir name="Dropbox"><file name="AppInfo.php" hash="b08006228ca38ac11c1a431646536ad9"/><file name="AppInfoLoadException.php" hash="06360c81e5ceafe6d029a72e0d38a58a"/><file name="ArrayEntryStore.php" hash="abfcab905705695de35004a314b05ec0"/><file name="AuthBase.php" hash="b0ac3fdae57cb61152d0f60066cd1e77"/><file name="AuthInfo.php" hash="3166cd194c72d1951d80bb1f7cc572f8"/><file name="AuthInfoLoadException.php" hash="4435a95cc3ad35471b1491834d3462f2"/><file name="Checker.php" hash="7433c56c1a9b53f918a5ad66d3844caf"/><file name="Client.php" hash="1c8fbbf62477bfba8ba7892f624604ef"/><file name="Curl.php" hash="9ff4836a05237b7990eac9a16a6a97ff"/><file name="CurlStreamRelay.php" hash="99b9d4b311110bbef6455cc3769585fc"/><file name="DeserializeException.php" hash="bb74de5ce4ad24ed03efabe52604a300"/><file name="DropboxMetadataHeaderCatcher.php" hash="608e493bbc560cb5d89804b831b38c43"/><file name="Exception.php" hash="1c55eda1bc2e9fb753c1f8f32b95c2e9"/><file name="Host.php" hash="c46c786726fc59c890ee2e588a7c3af6"/><file name="HttpResponse.php" hash="5cb98bfbaac3e48ffb7f1fe4ecab400c"/><file name="OAuth1AccessToken.php" hash="25ed61cb959c4446ec79552a4ce7fa77"/><file name="OAuth1Upgrader.php" hash="f3bc2125746d19bc99c0f4d8887ea3e6"/><file name="Path.php" hash="242a8243ee9f66281058979922e76c7f"/><file name="RequestUtil.php" hash="34e02972f318c99d1a2247bcbb5eeda7"/><file name="SSLTester.php" hash="2aba98547a9915608073438f6370fd15"/><file name="Security.php" hash="252e63a1a377935aa1ef3e40405d3412"/><file name="StreamReadException.php" hash="464bfb0fc75beef2b73e0c5192d0a061"/><file name="ValueStore.php" hash="c932c52f15d67c01a6e3c841f82306dd"/><file name="WebAuth.php" hash="e9e971b77ffc60544a2d9f10a5940eaf"/><file name="WebAuthBase.php" hash="1128a83bbf693e528e68a3c3893aef4f"/><file name="WebAuthNoRedirect.php" hash="87f2494ed95142f7a7e4c968fbb3e09e"/><file name="WriteMode.php" hash="22a3b70bf74feae770e4aa94915a1b1a"/><file name="app-info.json" hash="418aafd4a85212f6b96a1d180c2fd053"/><file name="autoload.php" hash="55bd4af009c75821e0416f33ef5e5fab"/><file name="strict.php" hash="b39f6f3228a1a499ac88ada9ec57ebfd"/><dir name="Exception"><file name="BadRequest.php" hash="5f0ae16a2d28c26bc66ed2e43ac8b4e1"/><file name="BadResponse.php" hash="c534a78bd9436b3ae6130bfbbdf7b8da"/><file name="BadResponseCode.php" hash="9720559b39e522a3acb6a9986b68c711"/><file name="InvalidAccessToken.php" hash="d2106a45d6366d7060d351e89fa738ed"/><file name="NetworkIO.php" hash="1278b1d756b43912f9083985df756305"/><file name="ProtocolError.php" hash="c99f595645d9fba2ddcec415483ea3af"/><file name="RetryLater.php" hash="b3d88a95ffd772f94838ab03c479f6a7"/><file name="ServerError.php" hash="ed7f0cb2dd114e9f60cf12acece68611"/></dir><dir name="certs"><file name="trusted-certs.crt" hash="847f0dc12cc8ddee1969a3ec857facb6"/></dir><dir name="WebAuthException"><file name="BadRequest.php" hash="8b2e77ef6128b2b96c20ec0847c5812b"/><file name="BadState.php" hash="039a2e21cac09f89ab6090e4f9648241"/><file name="Csrf.php" hash="3e2f878255c5366cabcc2880a7c97586"/><file name="NotApproved.php" hash="5d5db96ad13433a081a0db5dcb6d9412"/><file name="Provider.php" hash="5cf549587d95873cfb4a8e96f98d0534"/></dir></dir></dir><dir name="skin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="mventory"><dir name="css"><file name="styles.css" hash="b33b1d3b28cecb4e5404d3dc136f208e"/></dir></dir></dir></dir></dir></dir></target></contents></package>
1
  <?xml version="1.0"?>
2
+ <package><name>MVentory_API</name><version>1.4.0</version><stability>stable</stability><license>CC BY-NC-ND 4.0</license><channel>community</channel><extends></extends><summary>The easiest way to sell online: PoS, Inventory and Website control in one elegant Android application.</summary><description>mVentory is an Android application for efficient management of Magento stores. This extension provides additional API functionality and is required for the app to connect to your Magento website.
3
 
4
 
5
 
35
 
36
 
37
 
38
+ You need to configure user access and product attributes. Read a step by step guide (http://www.mventory.com/installation) or contact our support on info@mventory.com
39
 
40
 
41
 
49
 
50
  The extension is free for non-commercial or trial use. Please, request a FREE commercial license from info@mventory.com
51
 
52
+ Visit http://mventory.com for more info.</description><notes>* Added use of SKU attribute when searching product by barcode
53
 
54
  * Support for multicategories in category matching editor
55
 
57
 
58
  * Dropped functionality for sorting attributes in catalog filter, functionality for better product details on frontend
59
 
60
+ * Other small improvements and bug fixes</notes><authors><author><name>Anatoly A. Kazantsev</name><user>anatoly</user><email>anatoly@mventory.com</email></author></authors><date>2015-02-16</date><time>19:22:04</time><compatible></compatible><dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="js"><dir name="jquery"><file name="jquery-min.js" hash="baae1db8cca4abb2265b0a6e01f1beed"/><file name="jquery-ui-custom-min.js" hash="e37cbc707c78240780a5ce641f476eb3"/></dir><dir name="mventory"><file name="matching.js" hash="2a3d6d34c60aee3f0efe94ff96fd67fc"/></dir></dir><dir name="var"><dir name="connect"><file name="MVentory_API.xml" hash="a63052777e76a32f80b85cc73242f2a5"/></dir></dir><dir name="app"><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mventory.xml" hash="902a95b8b78acdf528e13993eb6f5030"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mventory.xml" hash="46b4a123593ad761f3521d5b2d4f71bb"/></dir><dir name="template"><dir name="mventory"><file name="element.phtml" hash="cb233713a0e550b2165280231c24360f"/><file name="matching.phtml" hash="5378e331d15f5daf582021dd96d7f130"/><file name="metadata.phtml" hash="29d84bb98175c7ca358e68f49cffa8f3"/><dir name="matching"><file name="categories.phtml" hash="ab29d30352987276065b9e933acd3fcc"/></dir><dir name="customer"><dir name="edit"><file name="js.phtml" hash="36e6fba58aa4eff02bc57e2a1d628d79"/></dir></dir><dir name="config"><file name="build-info.phtml" hash="805a4a312a9eb97a9d7c25e6e3fade67"/></dir></dir></dir></dir></dir></dir></dir><dir name="code"><dir name="community"><dir name="MVentory"><dir name="API"><dir name="controllers"><file name="AppController.php" hash="4037d44fb61810a4f9b002f8aa19fbf7"/><file name="CarriersController.php" hash="326f66c967a9ee2216be9c6dae043d97"/><file name="CustomerController.php" hash="029f18706ffe07e8a466eb8c30d0a2f9"/><file name="DropboxController.php" hash="e4f9ee9fcafd993e26e931b31c2228c7"/><file name="ImageController.php" hash="deb5c8227a982e8a328479aa88e8f088"/><file name="LogsController.php" hash="96c331e223a6a94ef9d3ba7192d24935"/><file name="MatchingController.php" hash="071284fc5681b70ead84ff2a98f3d519"/><file name="QrController.php" hash="1678dcc58be2ebcb554e7dc0e7c26d80"/><file name="SwitchController.php" hash="1a00ad2aae0845faea5dbe1475e84d8f"/><dir name="Catalog"><file name="ProductController.php" hash="b507cf269539c6dc3fea5e81bada5664"/></dir></dir><dir name="Block"><file name="Matching.php" hash="da741edb96130c120e4eddf0b677bbd2"/><file name="Metadata.php" hash="4b68a44b1f064093ac94722c40c7c651"/><dir name="Setting"><file name="Buildinfo.php" hash="87e71b9cd02e61dff260609be485ca54"/><file name="Fieldset.php" hash="5b5a717192210b9726e5e86ee75949d9"/></dir><dir name="Matching"><file name="Categories.php" hash="e5ffc5a02aa37a43d90079c66eace63b"/></dir><dir name="Carrier"><dir name="Volumerate"><file name="Grid.php" hash="182f5a1eb264ec7648aae468d5faef99"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Exportrates.php" hash="aa4a0e11eaa9330ba35f460582290927"/><file name="Imgcliplog.php" hash="fcc4c6429cdb3785044d1d4907a9d1ff"/></dir></dir></dir></dir></dir><dir name="data"><dir name="mventory_setup"><file name="data-upgrade-20-21.php" hash="ab6622b831fc5a806d780eff2eacf75b"/><file name="data-upgrade-23-24.php" hash="9d5bd2a2745585d814d3b203008ef2ad"/><file name="data-upgrade-27-28.php" hash="6b63835702467615f932f6fbac78e97d"/><file name="data-upgrade-28-29.php" hash="db2ca19d3162d377bd1927a22f2b6be0"/></dir></dir><dir name="Helper"><file name="Barcode.php" hash="57de68928ed6da93a02a044bf9f93f86"/><file name="Data.php" hash="d8016b9f4770342d10fe8a047ff1d167"/><file name="Image.php" hash="cb931b138f4c90f7f52cf8303ecb6aa2"/><file name="Imageclipper.php" hash="83634ad59a28a237d5cff3e7b1fb5131"/><file name="Product.php" hash="74a8787d1fc9dc4ff4bf3519d5ecab1e"/><file name="String.php" hash="258c2000ce8feb070211e04816e903e3"/><dir name="Mage"><dir name="Sales"><file name="Data.php" hash="84fbc100be8baa83e5dbb5fcecccbd6b"/></dir></dir><dir name="Product"><file name="Attribute.php" hash="130bee848a2d12bc75ed07383d15c190"/><file name="Configurable.php" hash="5f5eadcb33883752a56ad306fadf32dd"/></dir></dir><dir name="sql"><dir name="mventory_setup"><file name="install-3.php" hash="7514f77abff39b3d359a59978784e275"/><file name="upgrade-10-11.php" hash="fb312c3621c87f7b2222ba56e3f83fb9"/><file name="upgrade-12-13.php" hash="aefb35e0871eafd84864f8052ff21423"/><file name="upgrade-17-18.php" hash="a06e899380dd85a175b331fe5b52f324"/><file name="upgrade-18-19.php" hash="00113090ec00f2385c78d28464871c46"/><file name="upgrade-20-21.php" hash="27d45b15f3ba21df99cd90a3750f9c79"/><file name="upgrade-21-22.php" hash="e882fef187fa158587a4451bfced7e45"/><file name="upgrade-22-23.php" hash="e67150b521f86d35027fcafcf3d6000b"/><file name="upgrade-24-25.php" hash="ef3e432929a236bed6ef0d9c19ca3db5"/><file name="upgrade-25-26.php" hash="e134738e9a55fc1691a38b5eb4cbe73e"/><file name="upgrade-26-27.php" hash="fb5e01ee89497e99426f816240791d4a"/><file name="upgrade-3-4.php" hash="9f04a747fe387598a2871cdc8c9caf87"/><file name="upgrade-8-9.php" hash="0e3e3bb76a0cd039910bf17f2956285f"/><file name="upgrade-9-10.php" hash="05ccf6ee0b530dc5bf63b5fe0bc8f044"/></dir></dir><dir name="Model"><file name="Config.php" hash="c1232e1bf9267f2fa120c96087e69191"/><file name="Matching.php" hash="2bc36419e3745a5ef3d732c9305dcc11"/><file name="Observer.php" hash="ab5b388a5d83c818f8002ab4bb4bbca3"/><file name="Payment.php" hash="d2745860dfb2eca1adbc0f7b3de6fbfc"/><file name="Shipping.php" hash="043c9d12eebdff5016b84e4d86cc1e77"/><dir name="Setting"><dir name="Backend"><file name="Dbxpath.php" hash="cd9272381487b8a599a63cfe123d57b7"/></dir></dir><dir name="Dataflow"><file name="Api.php" hash="bfb1829343503354daf9db216f313976"/></dir><dir name="Category"><file name="Api.php" hash="9628dc59a845bc36a80a490ee808c338"/></dir><dir name="Carrier"><file name="Volumerate.php" hash="609709fdded050a3ac4204464ef6d922"/></dir><dir name="Stock"><dir name="Item"><file name="Api.php" hash="64473e1600fd51600853eddee75d598e"/></dir></dir><dir name="Config"><dir name="Data"><file name="Websites.php" hash="a7314efd0ca3c6adc8594893c64555aa"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Carrier"><file name="Volumerate.php" hash="2010718655ff39b4559a369403074fa4"/></dir><dir name="Imgclip"><file name="Backupfolder.php" hash="07bd6a17f8e65d96c47ed52d5f1c38e6"/><file name="Csvlog.php" hash="f3780e5079abb09594e018cfb36e4226"/></dir></dir><dir name="Source"><file name="Allowedshippingtypes.php" hash="d2a6259b9278242d3acf8a0c4f34c763"/><file name="Contenttype.php" hash="e91f6a1a495f1a19e1875fbde4ed5aac"/><file name="Customers.php" hash="b3e615aa64cce43d1bb4cadbe41c2ee7"/><file name="Inputmethod.php" hash="0cdc2b42456faeffd2b86481d2a04940"/><file name="Visibility.php" hash="22a8599fb6867d2fe5887f2f9b0246cb"/><file name="Website.php" hash="b8ea07d8f5c82df42c7f0b9be950bb0e"/></dir></dir></dir><dir name="Product"><file name="Action.php" hash="6cb738d6a133a99d0004cad23fed84e5"/><file name="Api.php" hash="e707cbecd8e371eb5c930aaed068723c"/><dir name="Attribute"><file name="Api.php" hash="f6c53d7a8988119f2f57bfce34dfd1d2"/><dir name="Set"><file name="Api.php" hash="112da5255f9e73b0bc715bccf5c6103f"/></dir><dir name="Media"><file name="Api.php" hash="c8fde457de5a6c59d345f3eed49d24bb"/></dir></dir></dir><dir name="Resource"><file name="Matching.php" hash="790d70f09cc175f643eccdfff754d92c"/><file name="Product.php" hash="e04d66d258b01579e4e6301a01f70771"/><file name="Setup.php" hash="5ce8cb51734c03b947d37a0eff1b7117"/><file name="Sku.php" hash="21379417a6a30c33f74f0a5ffbdfbac7"/><dir name="Carrier"><file name="Volumerate.php" hash="6763c1a02ff9750fd5d8eca703da05dd"/><dir name="Volumerate"><file name="Collection.php" hash="a5e5852a7d58fa31cb49ef7e4c1e38cf"/></dir></dir><dir name="Cart"><file name="Item.php" hash="3e1cbab71c91eca69f225668d55f3d0d"/></dir><dir name="Entity"><file name="Attribute.php" hash="14461aa0ae2e032b9efb16ebf23096af"/></dir><dir name="Order"><file name="Transaction.php" hash="16b62fc85e4b68443941c8212054cce7"/></dir></dir><dir name="Cart"><file name="Api.php" hash="5e154ff60f57f5d11675be3ad9415579"/><file name="Item.php" hash="84ad9830e7e50a55e28fcd4105521a91"/><dir name="Payment"><file name="Api.php" hash="b9253dd46ee980e322d10be6b7b0ffd7"/></dir></dir><dir name="Order"><file name="Api.php" hash="3d65404a24ab282eee8764d0c77ccaa3"/><file name="Transaction.php" hash="0666f26f229b11f30a1db2dfd6e1bf77"/><dir name="Shipment"><file name="Api.php" hash="f7ac72e14810d9af0ab1f876b57e00b9"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="bceda356fa43b9f5bfc7ab0ea91bafca"/><file name="api.xml" hash="e69c9b6a59cb2bcd4324b53d43bd7440"/><file name="config.xml" hash="1e0e76c76b881d080eceb836b50e5ef7"/><file name="system.xml" hash="eee035212b89d57558f7d9299c53ac58"/></dir></dir></dir><dir name="Hackathon"><dir name="PSR0Autoloader"><dir name="Model"><file name="Observer.php" hash="27ff6168c7057b3d116915c50e34c0a6"/><file name="SplAutoloader.php" hash="ca80992ff765e7fa88c507976205f7e2"/></dir><dir name="etc"><file name="config.xml" hash="4b76d9de1d114e8bf5dfef6fae75d973"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Hackathon_PSR0Autoloader.xml" hash="87095bbf80d16f7e97304317761690dd"/><file name="MVentory_API.xml" hash="3002a36d0a49a782ead45dc5bf2d885a"/></dir></dir></dir><dir name="lib"><dir name="Dropbox"><file name="AppInfo.php" hash="b08006228ca38ac11c1a431646536ad9"/><file name="AppInfoLoadException.php" hash="06360c81e5ceafe6d029a72e0d38a58a"/><file name="ArrayEntryStore.php" hash="abfcab905705695de35004a314b05ec0"/><file name="AuthBase.php" hash="b0ac3fdae57cb61152d0f60066cd1e77"/><file name="AuthInfo.php" hash="3166cd194c72d1951d80bb1f7cc572f8"/><file name="AuthInfoLoadException.php" hash="4435a95cc3ad35471b1491834d3462f2"/><file name="Checker.php" hash="7433c56c1a9b53f918a5ad66d3844caf"/><file name="Client.php" hash="1c8fbbf62477bfba8ba7892f624604ef"/><file name="Curl.php" hash="9ff4836a05237b7990eac9a16a6a97ff"/><file name="CurlStreamRelay.php" hash="99b9d4b311110bbef6455cc3769585fc"/><file name="DeserializeException.php" hash="bb74de5ce4ad24ed03efabe52604a300"/><file name="DropboxMetadataHeaderCatcher.php" hash="608e493bbc560cb5d89804b831b38c43"/><file name="Exception.php" hash="1c55eda1bc2e9fb753c1f8f32b95c2e9"/><file name="Host.php" hash="c46c786726fc59c890ee2e588a7c3af6"/><file name="HttpResponse.php" hash="5cb98bfbaac3e48ffb7f1fe4ecab400c"/><file name="OAuth1AccessToken.php" hash="25ed61cb959c4446ec79552a4ce7fa77"/><file name="OAuth1Upgrader.php" hash="f3bc2125746d19bc99c0f4d8887ea3e6"/><file name="Path.php" hash="242a8243ee9f66281058979922e76c7f"/><file name="RequestUtil.php" hash="34e02972f318c99d1a2247bcbb5eeda7"/><file name="SSLTester.php" hash="2aba98547a9915608073438f6370fd15"/><file name="Security.php" hash="252e63a1a377935aa1ef3e40405d3412"/><file name="StreamReadException.php" hash="464bfb0fc75beef2b73e0c5192d0a061"/><file name="ValueStore.php" hash="c932c52f15d67c01a6e3c841f82306dd"/><file name="WebAuth.php" hash="e9e971b77ffc60544a2d9f10a5940eaf"/><file name="WebAuthBase.php" hash="1128a83bbf693e528e68a3c3893aef4f"/><file name="WebAuthNoRedirect.php" hash="87f2494ed95142f7a7e4c968fbb3e09e"/><file name="WriteMode.php" hash="22a3b70bf74feae770e4aa94915a1b1a"/><file name="app-info.json" hash="418aafd4a85212f6b96a1d180c2fd053"/><file name="autoload.php" hash="55bd4af009c75821e0416f33ef5e5fab"/><file name="strict.php" hash="b39f6f3228a1a499ac88ada9ec57ebfd"/><dir name="Exception"><file name="BadRequest.php" hash="5f0ae16a2d28c26bc66ed2e43ac8b4e1"/><file name="BadResponse.php" hash="c534a78bd9436b3ae6130bfbbdf7b8da"/><file name="BadResponseCode.php" hash="9720559b39e522a3acb6a9986b68c711"/><file name="InvalidAccessToken.php" hash="d2106a45d6366d7060d351e89fa738ed"/><file name="NetworkIO.php" hash="1278b1d756b43912f9083985df756305"/><file name="ProtocolError.php" hash="c99f595645d9fba2ddcec415483ea3af"/><file name="RetryLater.php" hash="b3d88a95ffd772f94838ab03c479f6a7"/><file name="ServerError.php" hash="ed7f0cb2dd114e9f60cf12acece68611"/></dir><dir name="certs"><file name="trusted-certs.crt" hash="847f0dc12cc8ddee1969a3ec857facb6"/></dir><dir name="WebAuthException"><file name="BadRequest.php" hash="8b2e77ef6128b2b96c20ec0847c5812b"/><file name="BadState.php" hash="039a2e21cac09f89ab6090e4f9648241"/><file name="Csrf.php" hash="3e2f878255c5366cabcc2880a7c97586"/><file name="NotApproved.php" hash="5d5db96ad13433a081a0db5dcb6d9412"/><file name="Provider.php" hash="5cf549587d95873cfb4a8e96f98d0534"/></dir></dir></dir><dir name="skin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="mventory"><dir name="css"><file name="styles.css" hash="6e0215c7d35145479634fd50b3b996e3"/></dir></dir></dir></dir></dir></dir></target></contents></package>
skin/adminhtml/default/default/mventory/css/styles.css CHANGED
@@ -231,3 +231,7 @@
231
  display: inline-block;
232
  margin: 0;
233
  }
 
 
 
 
231
  display: inline-block;
232
  margin: 0;
233
  }
234
+
235
+ #mventory-logo {
236
+ display: block;
237
+ }
var/connect/MVentory_API.xml CHANGED
@@ -24,7 +24,7 @@ Download the app from Google Play (https://play.google.com/) or find out more on
24
 
25
  Configuration
26
 
27
- You need to configure user access and product attributes. Read a step by step guide (https://github.com/mVentory/MVentory_Tm) or contact our support on info@mventory.com
28
 
29
  License
30
 
@@ -34,15 +34,13 @@ The extension is free for non-commercial or trial use. Please, request a FREE co
34
  Visit http://mventory.com for more info.</description>
35
  <license>CC BY-NC-ND 4.0</license>
36
  <license_uri>http://creativecommons.org/licenses/by-nc-nd/4.0/</license_uri>
37
- <version>1.3.0</version>
38
- <stability>stable</stability>
39
- <notes>* New feature: image review
40
- * Improved interface for Magento category matching
41
- * Remove redefined models and blocks (non-related to API functionality) and frontend CSS styles which can affect existing Magento installation
42
- * Ignore invisible attributes in API calls
43
- * Improve managing of configurable products
44
- * Move jQuery and jQueryUI libraries into the extension from MVentory_JQuery extension. This extension will be removed
45
- * Other small improvements and bug fixies</notes>
46
  <authors>
47
  <name>
48
  <name>Anatoly A. Kazantsev</name>
24
 
25
  Configuration
26
 
27
+ You need to configure user access and product attributes. Read a step by step guide (http://www.mventory.com/installation) or contact our support on info@mventory.com
28
 
29
  License
30
 
34
  Visit http://mventory.com for more info.</description>
35
  <license>CC BY-NC-ND 4.0</license>
36
  <license_uri>http://creativecommons.org/licenses/by-nc-nd/4.0/</license_uri>
37
+ <version>1.4.0</version>
38
+ <stability>devel</stability>
39
+ <notes>* Added use of SKU attribute when searching product by barcode
40
+ * Support for multicategories in category matching editor
41
+ * Category matching editor improvements (better help and error messages)
42
+ * Dropped functionality for sorting attributes in catalog filter, functionality for better product details on frontend
43
+ * Other small improvements and bug fixes</notes>
 
 
44
  <authors>
45
  <name>
46
  <name>Anatoly A. Kazantsev</name>