GoDataFeed - Version 1.1.2

Version Notes

1.1.2

Download this release

Release Info

Developer Magento Core Team
Extension GoDataFeed
Version 1.1.2
Comparing to
See all releases


Code changes from version 1.1.1 to 1.1.2

app/code/local/GoDataFeed/Services/Model/Catalog/Product/Api.php CHANGED
@@ -19,7 +19,7 @@ class GoDataFeed_Services_Model_Catalog_Product_Api extends Mage_Catalog_Model_P
19
  const CATEGORY_SEPARATOR = ' > ';
20
 
21
  public function count($filters, $stockQuantityFilterAmount, $store, $responseField)
22
- {
23
  $filteredProductsCollection = $this->getProductsFilteredByStockQuantity(
24
  $filters,
25
  $stockQuantityFilterAmount,
@@ -61,7 +61,9 @@ class GoDataFeed_Services_Model_Catalog_Product_Api extends Mage_Catalog_Model_P
61
  $scrubCustomAttribute,
62
  $pageNumber,
63
  $productsPerPage,
64
- $parentSKUConfig)
 
 
65
  {
66
 
67
  if(empty($store)) {
@@ -299,7 +301,19 @@ class GoDataFeed_Services_Model_Catalog_Product_Api extends Mage_Catalog_Model_P
299
  $resultItem[$responseField] = $parentSKUS;
300
  }
301
 
302
- $resultItems[] = $resultItem;
 
 
 
 
 
 
 
 
 
 
 
 
303
  }
304
  }
305
 
19
  const CATEGORY_SEPARATOR = ' > ';
20
 
21
  public function count($filters, $stockQuantityFilterAmount, $store, $responseField)
22
+ {
23
  $filteredProductsCollection = $this->getProductsFilteredByStockQuantity(
24
  $filters,
25
  $stockQuantityFilterAmount,
61
  $scrubCustomAttribute,
62
  $pageNumber,
63
  $productsPerPage,
64
+ $parentSKUConfig,
65
+ $additionalImagesConfig
66
+ )
67
  {
68
 
69
  if(empty($store)) {
301
  $resultItem[$responseField] = $parentSKUS;
302
  }
303
 
304
+ // ADDITIONAL IMAGES
305
+ $additionalImagesRequested = $additionalImagesConfig[0];
306
+ if($additionalImagesRequested) {
307
+
308
+ $additionalImageURLs = array();
309
+ foreach (Mage::getModel('catalog/product')->load($productIdToRetrieve)->getMediaGalleryImages() as $image) {
310
+ $additionalImageURLs[] = $image['url'];
311
+ }
312
+
313
+ $resultItem[$additionalImagesConfig[1]] = $additionalImageURLs;
314
+ }
315
+
316
+ $resultItems[] = $resultItem;
317
  }
318
  }
319
 
app/code/local/GoDataFeed/Services/Model/Version/Api.php CHANGED
@@ -4,6 +4,6 @@ class GoDataFeed_Services_Model_Version_Api
4
  {
5
  public function version()
6
  {
7
- return "1.1.1"; // THIS ABSOLUTELY NEEDS TO BE IN SYNC WITH CONFIG.XML
8
  }
9
  }
4
  {
5
  public function version()
6
  {
7
+ return "1.1.2"; // THIS ABSOLUTELY NEEDS TO BE IN SYNC WITH CONFIG.XML
8
  }
9
  }
app/code/local/GoDataFeed/Services/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <GoDataFeed_Services>
5
- <version>1.1.1</version> <!-- THIS ABSOLUTELY NEEDS TO BE IN SYNC WITH Version/Api.php -->
6
  </GoDataFeed_Services>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <GoDataFeed_Services>
5
+ <version>1.1.2</version> <!-- THIS ABSOLUTELY NEEDS TO BE IN SYNC WITH Version/Api.php -->
6
  </GoDataFeed_Services>
7
  </modules>
8
  <global>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>GoDataFeed</name>
4
- <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.godatafeed.com/supportedecommerce.aspx?sp=magento">&#xA9;GoDataFeed All rights reserved</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>GoDataFeed&#x2019;s powerful, turn-key datafeed management solution empowers Magento merchants with an affordable and effective way to optimize and automate their datafeed marketing.</summary>
10
  <description>This extension automates product retrieval from Magento while providing enhanced attribute information. Install this extension to streamline your channel feed management with GoDataFeed.</description>
11
- <notes>1.1.1</notes>
12
  <authors><author><name>GoDataFeedSupport</name><user>auto-converted</user><email>support@godatafeed.com</email></author></authors>
13
- <date>2013-01-13</date>
14
- <time>22:30:51</time>
15
- <contents><target name="magelocal"><dir name="GoDataFeed"><dir name="Services"><dir name="Helper"><file name="Data.php" hash="fbbbbac77dc06cc167e5ab2d3bd69263"/></dir><dir name="Model"><dir name="Api"><dir name="Resource"><dir name="Checkout"><file name="Product.php" hash="d03cd3c306e6b940c9d37ef780d76979"/></dir><file name="Checkout.php" hash="4f689b0150a47625e9b1912a50f99009"/><file name="Customer.php" hash="f9e722373eccc42a1ab5d1d1df8f62b4"/></dir></dir><dir name="Cart"><dir name="Customer"><file name="Api.php" hash="79f65194334c0263b2b87f18c7642be4"/></dir><dir name="Payment"><file name="Api.php" hash="2251058e3f468f02b8f25cbb7a2603f5"/></dir><dir name="Product"><file name="Api.php" hash="b1ad852e70fb70604011ccf61ca9a28b"/></dir><file name="Api.php" hash="858c1d1ec6ac2daeca1b5c94855bb7fd"/></dir><dir name="Catalog"><dir name="Product"><file name="Api.php" hash="5214ea2edf4695e9e502e6fb40b1ce66"/></dir></dir><dir name="Method"><file name="OrderSync.php" hash="9a60ed4e0758255ada4b3a7e53f275f1"/></dir><dir name="Order"><file name="Payment.php" hash="b37fa553313e2ac70fa661c9bf3108c7"/></dir><dir name="Quote"><file name="Payment.php" hash="eac432f14ee163b3f3b04a0ef574853d"/></dir><dir name="Sales"><dir name="Order"><dir name="Invoice"><file name="Api.php" hash="e1336ad995a06b739faf922b5a6781c0"/></dir></dir></dir><dir name="Service"><file name="Quote.php" hash="e480ad4fc4d4493ddbfb0b6f29ecf8a7"/></dir><dir name="Version"><file name="Api.php" hash="6da823bf3db1fc251177c05735651754"/></dir><file name="Quote.php" hash="5474009133786a34b088c15c29309cef"/></dir><dir name="etc"><file name="api.xml" hash="63591e3dabe52d451047567197ffb599"/><file name="config.xml" hash="cbf6836ad09dd97ef0c5359a1c60f507"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="GoDataFeed_Services.xml" hash="e2f0d059f7dcd4ed86519c397bb9c310"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>GoDataFeed</name>
4
+ <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.godatafeed.com/supportedecommerce.aspx?sp=magento">&#xA9;GoDataFeed All rights reserved</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>GoDataFeed&#x2019;s powerful, turn-key datafeed management solution empowers Magento merchants with an affordable and effective way to optimize and automate their datafeed marketing.</summary>
10
  <description>This extension automates product retrieval from Magento while providing enhanced attribute information. Install this extension to streamline your channel feed management with GoDataFeed.</description>
11
+ <notes>1.1.2</notes>
12
  <authors><author><name>GoDataFeedSupport</name><user>auto-converted</user><email>support@godatafeed.com</email></author></authors>
13
+ <date>2013-05-13</date>
14
+ <time>22:58:51</time>
15
+ <contents><target name="magelocal"><dir name="GoDataFeed"><dir name="Services"><dir name="Helper"><file name="Data.php" hash="fbbbbac77dc06cc167e5ab2d3bd69263"/></dir><dir name="Model"><dir name="Api"><dir name="Resource"><dir name="Checkout"><file name="Product.php" hash="d03cd3c306e6b940c9d37ef780d76979"/></dir><file name="Checkout.php" hash="4f689b0150a47625e9b1912a50f99009"/><file name="Customer.php" hash="f9e722373eccc42a1ab5d1d1df8f62b4"/></dir></dir><dir name="Cart"><dir name="Customer"><file name="Api.php" hash="79f65194334c0263b2b87f18c7642be4"/></dir><dir name="Payment"><file name="Api.php" hash="2251058e3f468f02b8f25cbb7a2603f5"/></dir><dir name="Product"><file name="Api.php" hash="b1ad852e70fb70604011ccf61ca9a28b"/></dir><file name="Api.php" hash="858c1d1ec6ac2daeca1b5c94855bb7fd"/></dir><dir name="Catalog"><dir name="Product"><file name="Api.php" hash="ccc39191ae32d21fd641779ac6efb68d"/></dir></dir><dir name="Method"><file name="OrderSync.php" hash="9a60ed4e0758255ada4b3a7e53f275f1"/></dir><dir name="Order"><file name="Payment.php" hash="b37fa553313e2ac70fa661c9bf3108c7"/></dir><dir name="Quote"><file name="Payment.php" hash="eac432f14ee163b3f3b04a0ef574853d"/></dir><dir name="Sales"><dir name="Order"><dir name="Invoice"><file name="Api.php" hash="e1336ad995a06b739faf922b5a6781c0"/></dir></dir></dir><dir name="Service"><file name="Quote.php" hash="e480ad4fc4d4493ddbfb0b6f29ecf8a7"/></dir><dir name="Version"><file name="Api.php" hash="05da5973aa2df6dbb5c8c85eba710221"/></dir><file name="Quote.php" hash="5474009133786a34b088c15c29309cef"/></dir><dir name="etc"><file name="api.xml" hash="63591e3dabe52d451047567197ffb599"/><file name="config.xml" hash="22210ff4807ee6fb9ea98af52e4784f3"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="GoDataFeed_Services.xml" hash="e2f0d059f7dcd4ed86519c397bb9c310"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>