Yfs_Ecomm - Version 1.0.6

Version Notes

Product inventory update will change product's in stock/out of stock status.

Download this release

Release Info

Developer Jayneel
Extension Yfs_Ecomm
Version 1.0.6
Comparing to
See all releases


Code changes from version 1.0.5 to 1.0.6

app/code/local/Yfs/Ecomm/Model/Catalog/Api/V2.php CHANGED
@@ -77,7 +77,9 @@ class Yfs_Ecomm_Model_Catalog_Api_V2 extends Mage_Catalog_Model_Product_Api_V2
77
  {
78
  $product->setPrice($price);
79
  $stockItem = $product->getStockItem();
80
- $stockItem->setData('qty', $quantity);
 
 
81
  if($stockItem->save() && $product->save())
82
  {
83
  return true;
77
  {
78
  $product->setPrice($price);
79
  $stockItem = $product->getStockItem();
80
+ $stockItem->setData('qty', $quantity);
81
+ if($quantity > 0)
82
+ $stockItem->setData('is_in_stock', '1');
83
  if($stockItem->save() && $product->save())
84
  {
85
  return true;
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Yfs_Ecomm</name>
4
- <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Orderhive allows admin to manage inventory, orders, shipping and contacts from a single interface.</summary>
10
  <description>Orderhive-Integration Extension for Magento will provide smooth and reliable APIs (products, customers and sales orders) for sharing large amount of data between your store and Orderhive without affecting your store performance. It provides an interface to revoke permission from Orderhive in order to stop API calls.</description>
11
- <notes>Bug fixes in sync process,inventory update and order status update</notes>
12
  <authors><author><name>Jayneel</name><user>jayneel</user><email>jayneel@openxcell.com</email></author><author><name>Niyati</name><user>niyati7</user><email>niyati@openxcelltechnolabs.com</email></author></authors>
13
- <date>2015-04-17</date>
14
- <time>10:29:19</time>
15
- <contents><target name="magelocal"><dir name="Yfs"><dir name="Ecomm"><dir name="Helper"><file name="Data.php" hash="ed76f9874e036fedc5729f5afdbec816"/></dir><dir name="Model"><dir name="Catalog"><dir name="Api"><file name="V2.php" hash="6ddeaab144a1b59ff035b7a56c57e27d"/></dir></dir><dir name="Customer"><dir name="Api"><file name="V2.php" hash="454cab3b2928ccc671338d638b9e7d07"/></dir></dir><dir name="Sales"><dir name="Api"><file name="V2.php" hash="75884f191c1baca792f96768919e781a"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="bbc34dd5b03a63b1d029408a42307d53"/><file name="api.xml" hash="17686a001997f438f72442124bbb4ec9"/><file name="config.xml" hash="424f465679881b4cdd5375bf315d4f34"/><file name="system.xml" hash="748d8877c7bcffa6558bd70d157cfcef"/><file name="wsdl.xml" hash="e04abc607f8e58062c66eb613883a78f"/><file name="wsi.xml" hash="2f010dc0a5385dd561b6d5750d128e30"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Yfs_Ecomm.xml" hash="08fcae739eadbee91bad139fe1f684a6"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Yfs_Ecomm</name>
4
+ <version>1.0.6</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Orderhive allows admin to manage inventory, orders, shipping and contacts from a single interface.</summary>
10
  <description>Orderhive-Integration Extension for Magento will provide smooth and reliable APIs (products, customers and sales orders) for sharing large amount of data between your store and Orderhive without affecting your store performance. It provides an interface to revoke permission from Orderhive in order to stop API calls.</description>
11
+ <notes>Product inventory update will change product's in stock/out of stock status.</notes>
12
  <authors><author><name>Jayneel</name><user>jayneel</user><email>jayneel@openxcell.com</email></author><author><name>Niyati</name><user>niyati7</user><email>niyati@openxcelltechnolabs.com</email></author></authors>
13
+ <date>2016-03-22</date>
14
+ <time>10:50:55</time>
15
+ <contents><target name="magelocal"><dir name="Yfs"><dir name="Ecomm"><dir name="Helper"><file name="Data.php" hash="ed76f9874e036fedc5729f5afdbec816"/></dir><dir name="Model"><dir name="Catalog"><dir name="Api"><file name="V2.php" hash="d2ae4c190ac305c97c5d5f305e6201e3"/></dir></dir><dir name="Customer"><dir name="Api"><file name="V2.php" hash="454cab3b2928ccc671338d638b9e7d07"/></dir></dir><dir name="Sales"><dir name="Api"><file name="V2.php" hash="75884f191c1baca792f96768919e781a"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="bbc34dd5b03a63b1d029408a42307d53"/><file name="api.xml" hash="17686a001997f438f72442124bbb4ec9"/><file name="config.xml" hash="424f465679881b4cdd5375bf315d4f34"/><file name="system.xml" hash="748d8877c7bcffa6558bd70d157cfcef"/><file name="wsdl.xml" hash="e04abc607f8e58062c66eb613883a78f"/><file name="wsi.xml" hash="2f010dc0a5385dd561b6d5750d128e30"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Yfs_Ecomm.xml" hash="08fcae739eadbee91bad139fe1f684a6"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>