shoppingfeeder - Version 1.3.2

Version Notes

This version is the first to support multi-store installations

Features include:
- One-click feed export to numerous channels
- Built-in order tracking
- Click & referral tracking
- Historical order importing for reporting and ROI analysis

Download this release

Release Info

Developer ShoppingFeeder
Extension shoppingfeeder
Version 1.3.2
Comparing to
See all releases


Code changes from version 1.3.1 to 1.3.2

app/code/community/ShoppingFeeder/Service/controllers/AttributesController.php CHANGED
@@ -20,8 +20,13 @@ class ShoppingFeeder_Service_AttributesController extends ShoppingFeeder_Service
20
  }
21
  else
22
  {
23
- $mageApp = Mage::app();
24
- $mageApp->setCurrentStore($mageApp::DISTRO_STORE_CODE);
 
 
 
 
 
25
  }
26
 
27
  $internalAttributes = Mage::getResourceModel('catalog/product_attribute_collection')
20
  }
21
  else
22
  {
23
+ $defaultStoreCode = Mage::app()
24
+ ->getWebsite(true)
25
+ ->getDefaultGroup()
26
+ ->getDefaultStore()
27
+ ->getCode();
28
+
29
+ Mage::app()->setCurrentStore($defaultStoreCode);
30
  }
31
 
32
  $internalAttributes = Mage::getResourceModel('catalog/product_attribute_collection')
app/code/community/ShoppingFeeder/Service/controllers/FeedController.php CHANGED
@@ -27,8 +27,13 @@ class ShoppingFeeder_Service_FeedController extends ShoppingFeeder_Service_Contr
27
  }
28
  else
29
  {
30
- $mageApp = Mage::app();
31
- $mageApp->setCurrentStore($mageApp::DISTRO_STORE_CODE);
 
 
 
 
 
32
  }
33
 
34
  if (is_null($offerId))
27
  }
28
  else
29
  {
30
+ $defaultStoreCode = Mage::app()
31
+ ->getWebsite(true)
32
+ ->getDefaultGroup()
33
+ ->getDefaultStore()
34
+ ->getCode();
35
+
36
+ Mage::app()->setCurrentStore($defaultStoreCode);
37
  }
38
 
39
  if (is_null($offerId))
app/code/community/ShoppingFeeder/Service/controllers/OrdersController.php CHANGED
@@ -26,8 +26,13 @@ class ShoppingFeeder_Service_OrdersController extends ShoppingFeeder_Service_Con
26
  }
27
  else
28
  {
29
- $mageApp = Mage::app();
30
- $mageApp->setCurrentStore($mageApp::DISTRO_STORE_CODE);
 
 
 
 
 
31
  }
32
 
33
  if (is_null($orderId))
26
  }
27
  else
28
  {
29
+ $defaultStoreCode = Mage::app()
30
+ ->getWebsite(true)
31
+ ->getDefaultGroup()
32
+ ->getDefaultStore()
33
+ ->getCode();
34
+
35
+ Mage::app()->setCurrentStore($defaultStoreCode);
36
  }
37
 
38
  if (is_null($orderId))
app/code/community/ShoppingFeeder/Service/controllers/TestController.php CHANGED
@@ -18,8 +18,13 @@ class ShoppingFeeder_Service_TestController extends Mage_Core_Controller_Front_A
18
  }
19
  else
20
  {
21
- $mageApp = Mage::app();
22
- $mageApp->setCurrentStore($mageApp::DISTRO_STORE_CODE);
 
 
 
 
 
23
  }
24
 
25
  if (!function_exists('getallheaders'))
@@ -120,8 +125,13 @@ class ShoppingFeeder_Service_TestController extends Mage_Core_Controller_Front_A
120
  }
121
  else
122
  {
123
- $mageApp = Mage::app();
124
- $mageApp->setCurrentStore($mageApp::DISTRO_STORE_CODE);
 
 
 
 
 
125
  }
126
 
127
  if (function_exists('getallheaders'))
18
  }
19
  else
20
  {
21
+ $defaultStoreCode = Mage::app()
22
+ ->getWebsite(true)
23
+ ->getDefaultGroup()
24
+ ->getDefaultStore()
25
+ ->getCode();
26
+
27
+ Mage::app()->setCurrentStore($defaultStoreCode);
28
  }
29
 
30
  if (!function_exists('getallheaders'))
125
  }
126
  else
127
  {
128
+ $defaultStoreCode = Mage::app()
129
+ ->getWebsite(true)
130
+ ->getDefaultGroup()
131
+ ->getDefaultStore()
132
+ ->getCode();
133
+
134
+ Mage::app()->setCurrentStore($defaultStoreCode);
135
  }
136
 
137
  if (function_exists('getallheaders'))
app/code/community/ShoppingFeeder/Service/controllers/VersionController.php CHANGED
@@ -5,7 +5,7 @@ require_once(Mage::getModuleDir('Controller','ShoppingFeeder_Service').DS.'Contr
5
 
6
  class ShoppingFeeder_Service_VersionController extends Mage_Core_Controller_Front_Action
7
  {
8
- protected static $_version = '1.2.2';
9
 
10
  public function indexAction()
11
  {
5
 
6
  class ShoppingFeeder_Service_VersionController extends Mage_Core_Controller_Front_Action
7
  {
8
+ protected static $_version = '1.3.2';
9
 
10
  public function indexAction()
11
  {
app/code/community/ShoppingFeeder/Service/etc/config.xml CHANGED
@@ -9,7 +9,7 @@
9
  <config>
10
  <modules>
11
  <ShoppingFeeder_Service>
12
- <version>1.2.2</version>
13
  </ShoppingFeeder_Service>
14
  </modules>
15
  <global>
9
  <config>
10
  <modules>
11
  <ShoppingFeeder_Service>
12
+ <version>1.3.2</version>
13
  </ShoppingFeeder_Service>
14
  </modules>
15
  <global>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>shoppingfeeder</name>
4
- <version>1.3.1</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
@@ -24,9 +24,9 @@ Features include:&#xD;
24
  - Click &amp; referral tracking&#xD;
25
  - Historical order importing for reporting and ROI analysis</notes>
26
  <authors><author><name>ShoppingFeeder</name><user>shoppingfeeder</user><email>support@shoppingfeeder.com</email></author></authors>
27
- <date>2015-05-07</date>
28
- <time>14:49:09</time>
29
- <contents><target name="mageetc"><dir name="modules"><file name="ShoppingFeeder_Service.xml" hash="90b374109c2d1281ddf527f24fa7d914"/></dir></target><target name="magecommunity"><dir name="ShoppingFeeder"><dir name="Service"><dir name="Block"><dir name="Adminhtml"><file name="Service.php" hash="e94d54bc342dc2941753ad635c0454a3"/></dir><file name="Service.php" hash="48874f0e80ce70686b81eb5380e9f498"/></dir><dir name="Controller"><file name="FrontAuth.php" hash="2dc20fec996f1c02ad8b9374af432ec0"/></dir><dir name="Helper"><file name="Data.php" hash="17589bd08352e497806bef9884972300"/></dir><dir name="Model"><file name="Auth.php" hash="2cff17b0750ff70695b32524627b2aaf"/><file name="Observer.php" hash="79c5aa286d8bfacbe5b4c759b8b0c5f1"/><file name="Offers.php" hash="e1a89050b723a0663f24c475041e22d8"/><file name="Orders.php" hash="cc3c9f38ae41c11ab7dda0bcb8dd001f"/></dir><dir name="controllers"><file name="AttributesController.php" hash="5e36f1ea2e246a45886b3f664f783302"/><file name="FeedController.php" hash="437a5af0b178a0e2b1994d770360b66a"/><file name="OrdersController.php" hash="361c2b77948a32e466d5c7ed10fde04b"/><file name="StoresController.php" hash="a29fa0e97299ce764fd66360cbf6632a"/><file name="TestController.php" hash="d4bb1220f325652ac001edecab68603a"/><file name="VersionController.php" hash="c143e0986c6056561e1c803953b2d5c5"/></dir><dir name="etc"><file name="config.xml" hash="a9d5f81455a1c23ce37bf51eaab87efa"/><file name="system.xml" hash="9681c74fa8886143197932690616e2dd"/></dir></dir></dir></target></contents>
30
  <compatible/>
31
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
32
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>shoppingfeeder</name>
4
+ <version>1.3.2</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
24
  - Click &amp; referral tracking&#xD;
25
  - Historical order importing for reporting and ROI analysis</notes>
26
  <authors><author><name>ShoppingFeeder</name><user>shoppingfeeder</user><email>support@shoppingfeeder.com</email></author></authors>
27
+ <date>2015-05-08</date>
28
+ <time>09:33:13</time>
29
+ <contents><target name="mageetc"><dir name="modules"><file name="ShoppingFeeder_Service.xml" hash="90b374109c2d1281ddf527f24fa7d914"/></dir></target><target name="magecommunity"><dir name="ShoppingFeeder"><dir name="Service"><dir name="Block"><dir name="Adminhtml"><file name="Service.php" hash="e94d54bc342dc2941753ad635c0454a3"/></dir><file name="Service.php" hash="48874f0e80ce70686b81eb5380e9f498"/></dir><dir name="Controller"><file name="FrontAuth.php" hash="2dc20fec996f1c02ad8b9374af432ec0"/></dir><dir name="Helper"><file name="Data.php" hash="17589bd08352e497806bef9884972300"/></dir><dir name="Model"><file name="Auth.php" hash="2cff17b0750ff70695b32524627b2aaf"/><file name="Observer.php" hash="79c5aa286d8bfacbe5b4c759b8b0c5f1"/><file name="Offers.php" hash="e1a89050b723a0663f24c475041e22d8"/><file name="Orders.php" hash="cc3c9f38ae41c11ab7dda0bcb8dd001f"/></dir><dir name="controllers"><file name="AttributesController.php" hash="e937c492f770bc8381a003a080cf878b"/><file name="FeedController.php" hash="ac47a34029f0444287c885efb0cb7f0d"/><file name="OrdersController.php" hash="e0dcf407e15ca212b43ee0015c918675"/><file name="StoresController.php" hash="a29fa0e97299ce764fd66360cbf6632a"/><file name="TestController.php" hash="6e0c16651dae38cd4eb8e63f03719a8c"/><file name="VersionController.php" hash="82a4997c2516ec37c0d97c6abfead167"/></dir><dir name="etc"><file name="config.xml" hash="6a6b28acf2a7d1129e4ca90006bf1cd5"/><file name="system.xml" hash="9681c74fa8886143197932690616e2dd"/></dir></dir></dir></target></contents>
30
  <compatible/>
31
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
32
  </package>