IcecatLive - Version 1.7.10

Version Notes

Bugfix:
- Correct path to file
- Fix with version below 5.5

Download this release

Release Info

Developer IceShop
Extension IcecatLive
Version 1.7.10
Comparing to
See all releases


Code changes from version 1.7.9 to 1.7.10

app/code/community/Iceshop/Icecatlive/Helper/Log.php CHANGED
@@ -74,11 +74,14 @@ class Iceshop_Icecatlive_Helper_Log extends Mage_Core_Helper_Abstract
74
  $lines = explode("\n", $fileContent);
75
 
76
  foreach($lines as $line){
77
- if(explode(' ', $line)[0] == $key.':'){
78
- $replace = str_replace($line, '', $fileContent);
79
- file_put_contents($this->_logFileName, $replace);
 
 
80
 
81
- return true;
 
82
  }
83
  }
84
  }
74
  $lines = explode("\n", $fileContent);
75
 
76
  foreach($lines as $line){
77
+ $explodeLine = explode(' ', $line);
78
+ if(isset($explodeLine[0])){
79
+ if($explodeLine[0] == $key.':'){
80
+ $replace = str_replace($line, '', $fileContent);
81
+ file_put_contents($this->_logFileName, $replace);
82
 
83
+ return true;
84
+ }
85
  }
86
  }
87
  }
app/code/community/Iceshop/Icecatlive/Model/System/Config/Locales.php CHANGED
@@ -9,7 +9,7 @@ class Iceshop_Icecatlive_Model_System_Config_Locales
9
 
10
  public function toOptionArray()
11
  {
12
- $pathToFile = Mage::getRoot() . '/code/local/Iceshop/Icecatlive/Model/System/Config/';
13
  $fileContent = file_get_contents($pathToFile . 'LanguageList.xml');
14
  if (!$this->parseXml(utf8_encode($fileContent))) {
15
  return false;
9
 
10
  public function toOptionArray()
11
  {
12
+ $pathToFile = dirname(__FILE__).'/';
13
  $fileContent = file_get_contents($pathToFile . 'LanguageList.xml');
14
  if (!$this->parseXml(utf8_encode($fileContent))) {
15
  return false;
app/code/community/Iceshop/Icecatlive/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Iceshop_Icecatlive>
5
- <version>1.7.8</version>
6
  </Iceshop_Icecatlive>
7
  </modules>
8
  <default>
2
  <config>
3
  <modules>
4
  <Iceshop_Icecatlive>
5
+ <version>1.7.10</version>
6
  </Iceshop_Icecatlive>
7
  </modules>
8
  <default>
app/code/community/Iceshop/Icecatlive/sql/icecatlive_setup/uninstall-old-version.php CHANGED
@@ -6,18 +6,18 @@ class Uninstall_Bintime_Icecatlive
6
  */
7
  public function uninstall()
8
  {
9
- $code_dir = Mage::getBaseDir('app') . '/code/local/Bintime/Icecatimport';
10
  $design_layout = Mage::getBaseDir('app') . '/design/frontend/base/default/layout/IcecatGroupAttributes.xml';
11
  $template_dir = Mage::getBaseDir('app') . '/design/frontend/base/default/template/icecatlive';
12
- $etc_bintime_xml = Mage::getBaseDir('app') . '/etc/modules/Bintime_Icecatimport.xml';
13
  $package_bintime_xml = Mage::getBaseDir('var') . '/package/IcecatLive-1.5.0.xml';
14
  $cache_iceshop_dir = Mage::getBaseDir('var') . '/iceshop';
15
 
16
  $this->remove_dir($cache_iceshop_dir);
17
- $this->remove_dir($code_dir);
18
  $this->remove_dir($template_dir);
19
  $this->remove_file($design_layout);
20
- $this->remove_file($etc_bintime_xml);
21
  $this->remove_file($package_bintime_xml);
22
  }
23
 
6
  */
7
  public function uninstall()
8
  {
9
+ // $code_dir = Mage::getBaseDir('app') . '/code/local/Bintime/Icecatimport';
10
  $design_layout = Mage::getBaseDir('app') . '/design/frontend/base/default/layout/IcecatGroupAttributes.xml';
11
  $template_dir = Mage::getBaseDir('app') . '/design/frontend/base/default/template/icecatlive';
12
+ // $etc_bintime_xml = Mage::getBaseDir('app') . '/etc/modules/Bintime_Icecatimport.xml';
13
  $package_bintime_xml = Mage::getBaseDir('var') . '/package/IcecatLive-1.5.0.xml';
14
  $cache_iceshop_dir = Mage::getBaseDir('var') . '/iceshop';
15
 
16
  $this->remove_dir($cache_iceshop_dir);
17
+ // $this->remove_dir($code_dir);
18
  $this->remove_dir($template_dir);
19
  $this->remove_file($design_layout);
20
+ // $this->remove_file($etc_bintime_xml);
21
  $this->remove_file($package_bintime_xml);
22
  }
23
 
package.xml CHANGED
@@ -1,20 +1,20 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>IcecatLive</name>
4
- <version>1.7.9</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v.3</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>ICEcat to Magento Open Source Connector</summary>
10
  <description>Edit Extension Package Extensions Magento Connect System Magento Admin</description>
11
- <notes>Stability Improvements.&#xD;
12
- Bugfix:&#xD;
13
- Minor bugfix</notes>
14
  <authors><author><name>IceShop</name><user>IceShop</user><email>support@iceshop.nl</email></author></authors>
15
- <date>2015-07-27</date>
16
- <time>07:56:30</time>
17
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="icecatlive.xml" hash="d1654d4bcbc4f11b58b728d5c269c704"/></dir><dir name="template"><dir name="iceshop"><dir name="icecatlive"><file name="ajaxstatusimport.phtml" hash="6ee20aeea068459804688f6dcd60b14a"/><file name="notifications.phtml" hash="d52487d11efb1b849d7a21c700b29c0c"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><dir name="iceshop"><dir name="icecatlive"><file name="groupattributes.xml" hash="461ccd2fb4dc1a607e5e49687bb155fb"/></dir></dir></dir><dir name="template"><dir name="iceshop"><dir name="icecatlive"><file name="groupattributes.phtml" hash="2dfcc171fe017278ac114e04d7efc2d4"/></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Iceshop"><dir name="Icecatlive"><dir name="Block"><dir name="Adminhtml"><file name="Notifications.php" hash="96ee5a5a1cf91930070340f996ac7a05"/><dir name="Product"><dir name="List"><file name="Grid.php" hash="d3995cdc59adc76fe914bf5703330f8d"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="b9112e6539624cc88c215aecf88cef00"/><file name="UpdateButton.php" hash="78bb6e863c1c2f53720c50a0c2ec65e7"/></dir></dir></dir></dir><file name="Attributes.php" hash="8ec0a0866e9f6201f0221ee0a01cf9e3"/><dir name="Product"><dir name="List"><file name="Toolbar.php" hash="03f6259ebb44b41df7d03581bbd9c84a"/></dir></dir><file name="Related.php" hash="1bbac689a628d86ba9704a7b752df286"/><file name="Upsell.php" hash="0dfaba7ae6bc688215a56065101b4544"/></dir><dir name="CatalogSearch"><dir name="Block"><file name="Result.php" hash="199bd394ca894bf82964805270318f09"/></dir></dir><dir name="Helper"><file name="Data.php" hash="69acf758a4756c11c047b1079352c7fd"/><file name="Db.php" hash="8c13ac4d380a81bbb17e9b59873d502e"/><file name="Format.php" hash="ac13e6bb5cdc5919bfad215e1fca4a7b"/><file name="Getdata.php" hash="85dd7bf14c9b232ccf078a99241add1c"/><file name="Log.php" hash="55d29f3a3081dbdaa68d8e1e45380fa6"/><file name="Output.php" hash="5698b83f62043e95c5f33d603ccbc03a"/><dir name="System"><file name="System.php" hash="cadc05533af5d11e8cff4423c92dd2cb"/><file name="Systemcheck.php" hash="7ada66e264a467792c0626dd8bbe9ee6"/></dir></dir><dir name="Model"><dir name="Catalog"><file name="Category.php" hash="e4ab9f04ded0059e3f9b7e568586d903"/><file name="Product.php" hash="03794cce61bf0e924ae33593a850d7ea"/><file name="Search.php" hash="8d5c8b59c35a8449c8e4a8e30285d38b"/></dir><file name="Import.php" hash="d6eb2ba7bfb07c6000b84fb0b850b5f7"/><file name="Observer.php" hash="2ebf85b2496ca38902fad92ee3804ea9"/><file name="Relatedcollection.php" hash="82a0585c3404d94dcb4e3a1606bae546"/><dir name="System"><dir name="Config"><file name="Attributes.php" hash="85b2cacd4ef51fa5bb166c4394fdf6f8"/><file name="Checksystem.php" hash="782d1861c87717a347e9aeafb533cabb"/><file name="Descriptionpriority.php" hash="4facaa955e0799b94bf8c7e5e60f64d5"/><file name="Iceshoplink.php" hash="bb4d7dc4f3756da8f5c0eb149eeb0f6b"/><file name="Imagepriority.php" hash="ef7a85c5b4ed0562b75096e569720173"/><file name="Importdata.php" hash="25196649542ccc4df2da39f6cc1ec043"/><file name="LanguageList.xml" hash="52aaea2acd5acd2c0d4f63de4f4621bc"/><file name="Loadingtype.php" hash="35ef5c60a7fb1c81852c6e04d066f79f"/><file name="Locales.php" hash="604a6087f75a4dddbf271ac2145356a8"/><file name="Namepriority.php" hash="05e06b1e0fe303d5efc4d4f24dd1df01"/><file name="Onlynewproducts.php" hash="6e758f07cd5d5f16237b45df3492b9e7"/><file name="Productpriority.php" hash="62b5912d7af4a8c7ff5f92c887c70128"/><file name="Shortdescrpriority.php" hash="946c34829295aa50b79f1e8fa7d48eaa"/><file name="Subscription.php" hash="6c4e8895b28fdcaab6001ac2a8fa995b"/><file name="Viewattributes.php" hash="8f0ac7b0091adb1a15564f2a7b9c6b04"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ImportdataController.php" hash="c4874ee811ce4d3d446835ddc6cb2f94"/><file name="ImportproductController.php" hash="5693e28bf5ef3804ed82a9c81f820538"/><file name="ImportproductinfoController.php" hash="5f6fc5b5517b22d796e1b5a81cb199c4"/><file name="ImportprogressController.php" hash="a9212979beb0aa57447d7d70f3297a28"/></dir><file name="IcecatliveController.php" hash="495ded66533fc184b2ef0187a59e77ed"/><file name="ImageController.php" hash="35e08758e0dfdae450e9aaa342a6b777"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0c5b93621bc6abb059d8404ddf885a43"/><file name="config.xml" hash="4dbe14cf1b451c30a8edc5b172fa9d7b"/><file name="system.xml" hash="57349c397e30a89a229f774d1050a6e2"/></dir><dir name="sql"><dir name="icecatlive_setup"><file name="mysql4-install-1.7.7.php" hash="413c86249cc122868321be5724d2972c"/><file name="mysql4-upgrade-0.1.0-1.6.0.php" hash="3eabfeabdd60bbea11ef1c53251de5a8"/><file name="mysql4-upgrade-0.1.1-1.6.0.php" hash="3eabfeabdd60bbea11ef1c53251de5a8"/><file name="mysql4-upgrade-1.5.0-1.6.0.php" hash="3eabfeabdd60bbea11ef1c53251de5a8"/><file name="mysql4-upgrade-1.6.0-1.7.0.php" hash="d4a9c36d50f080209df067f09b6294fb"/><file name="mysql4-upgrade-1.7.0-1.7.2" hash="d4a9c36d50f080209df067f09b6294fb"/><file name="mysql4-upgrade-1.7.4-1.7.5.php" hash="ea96aabef28765bc61b9dc429a10fcb1"/><file name="mysql4-upgrade-1.7.5-1.7.6.php" hash="413c86249cc122868321be5724d2972c"/><file name="mysql4-upgrade-1.7.6-1.7.7.php" hash="413c86249cc122868321be5724d2972c"/><file name="uninstall-old-version.php" hash="ad30e3ae29ba1d7fdfe61dc05476a1d3"/></dir></dir></dir></dir></target><target name="mage"><dir name="skin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="iceshop"><dir name="icecatlive"><dir name="images"><file name="iceshop_logo_small_16px.png" hash="4ef632b4b89a047789307b301b9dfb6e"/></dir><file name="styles.css" hash="9bfab144d8ddfd445fe3bbaecac9cc53"/></dir></dir></dir></dir></dir></dir><dir name="js"><dir name="ICEshop"><dir name="Icecatlive"><file name="jquery-1.9.1.min.js" hash="fee4c9e0129fb2b8830a3c17638c44b0"/><file name="multi-lingual-store-field.js" hash="b99ce2b343cc5dbca86bb9165bcc444d"/><file name="script.js" hash="ca76b03c0568f4ab637bcb89b7fa04aa"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iceshop_Icecatlive.xml" hash="b91b60f0e20d399809be9ed0647cae93"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>IcecatLive</name>
4
+ <version>1.7.10</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v.3</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>ICEcat to Magento Open Source Connector</summary>
10
  <description>Edit Extension Package Extensions Magento Connect System Magento Admin</description>
11
+ <notes>Bugfix:&#xD;
12
+ - Correct path to file&#xD;
13
+ - Fix with version below 5.5</notes>
14
  <authors><author><name>IceShop</name><user>IceShop</user><email>support@iceshop.nl</email></author></authors>
15
+ <date>2016-01-22</date>
16
+ <time>13:51:45</time>
17
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="icecatlive.xml" hash="d1654d4bcbc4f11b58b728d5c269c704"/></dir><dir name="template"><dir name="iceshop"><dir name="icecatlive"><file name="ajaxstatusimport.phtml" hash="6ee20aeea068459804688f6dcd60b14a"/><file name="notifications.phtml" hash="d52487d11efb1b849d7a21c700b29c0c"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><dir name="iceshop"><dir name="icecatlive"><file name="groupattributes.xml" hash="461ccd2fb4dc1a607e5e49687bb155fb"/></dir></dir></dir><dir name="template"><dir name="iceshop"><dir name="icecatlive"><file name="groupattributes.phtml" hash="2dfcc171fe017278ac114e04d7efc2d4"/></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Iceshop"><dir name="Icecatlive"><dir name="Block"><dir name="Adminhtml"><file name="Notifications.php" hash="96ee5a5a1cf91930070340f996ac7a05"/><dir name="Product"><dir name="List"><file name="Grid.php" hash="d3995cdc59adc76fe914bf5703330f8d"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="b9112e6539624cc88c215aecf88cef00"/><file name="UpdateButton.php" hash="78bb6e863c1c2f53720c50a0c2ec65e7"/></dir></dir></dir></dir><file name="Attributes.php" hash="8ec0a0866e9f6201f0221ee0a01cf9e3"/><dir name="Product"><dir name="List"><file name="Toolbar.php" hash="03f6259ebb44b41df7d03581bbd9c84a"/></dir></dir><file name="Related.php" hash="1bbac689a628d86ba9704a7b752df286"/><file name="Upsell.php" hash="0dfaba7ae6bc688215a56065101b4544"/></dir><dir name="CatalogSearch"><dir name="Block"><file name="Result.php" hash="199bd394ca894bf82964805270318f09"/></dir></dir><dir name="Helper"><file name="Data.php" hash="69acf758a4756c11c047b1079352c7fd"/><file name="Db.php" hash="8c13ac4d380a81bbb17e9b59873d502e"/><file name="Format.php" hash="ac13e6bb5cdc5919bfad215e1fca4a7b"/><file name="Getdata.php" hash="85dd7bf14c9b232ccf078a99241add1c"/><file name="Log.php" hash="13675ad9d2ceb058e7ccc4d5679d3201"/><file name="Output.php" hash="5698b83f62043e95c5f33d603ccbc03a"/><dir name="System"><file name="System.php" hash="cadc05533af5d11e8cff4423c92dd2cb"/><file name="Systemcheck.php" hash="7ada66e264a467792c0626dd8bbe9ee6"/></dir></dir><dir name="Model"><dir name="Catalog"><file name="Category.php" hash="e4ab9f04ded0059e3f9b7e568586d903"/><file name="Product.php" hash="03794cce61bf0e924ae33593a850d7ea"/><file name="Search.php" hash="8d5c8b59c35a8449c8e4a8e30285d38b"/></dir><file name="Import.php" hash="d6eb2ba7bfb07c6000b84fb0b850b5f7"/><file name="Observer.php" hash="2ebf85b2496ca38902fad92ee3804ea9"/><file name="Relatedcollection.php" hash="82a0585c3404d94dcb4e3a1606bae546"/><dir name="System"><dir name="Config"><file name="Attributes.php" hash="85b2cacd4ef51fa5bb166c4394fdf6f8"/><file name="Checksystem.php" hash="782d1861c87717a347e9aeafb533cabb"/><file name="Descriptionpriority.php" hash="4facaa955e0799b94bf8c7e5e60f64d5"/><file name="Iceshoplink.php" hash="bb4d7dc4f3756da8f5c0eb149eeb0f6b"/><file name="Imagepriority.php" hash="ef7a85c5b4ed0562b75096e569720173"/><file name="Importdata.php" hash="25196649542ccc4df2da39f6cc1ec043"/><file name="LanguageList.xml" hash="52aaea2acd5acd2c0d4f63de4f4621bc"/><file name="Loadingtype.php" hash="35ef5c60a7fb1c81852c6e04d066f79f"/><file name="Locales.php" hash="903dfd409fa7bff401556128c2d60de4"/><file name="Namepriority.php" hash="05e06b1e0fe303d5efc4d4f24dd1df01"/><file name="Onlynewproducts.php" hash="6e758f07cd5d5f16237b45df3492b9e7"/><file name="Productpriority.php" hash="62b5912d7af4a8c7ff5f92c887c70128"/><file name="Shortdescrpriority.php" hash="946c34829295aa50b79f1e8fa7d48eaa"/><file name="Subscription.php" hash="6c4e8895b28fdcaab6001ac2a8fa995b"/><file name="Viewattributes.php" hash="8f0ac7b0091adb1a15564f2a7b9c6b04"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ImportdataController.php" hash="c4874ee811ce4d3d446835ddc6cb2f94"/><file name="ImportproductController.php" hash="5693e28bf5ef3804ed82a9c81f820538"/><file name="ImportproductinfoController.php" hash="5f6fc5b5517b22d796e1b5a81cb199c4"/><file name="ImportprogressController.php" hash="a9212979beb0aa57447d7d70f3297a28"/></dir><file name="IcecatliveController.php" hash="495ded66533fc184b2ef0187a59e77ed"/><file name="ImageController.php" hash="35e08758e0dfdae450e9aaa342a6b777"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0c5b93621bc6abb059d8404ddf885a43"/><file name="config.xml" hash="375569861f6c1deef63db98c1764aa75"/><file name="system.xml" hash="57349c397e30a89a229f774d1050a6e2"/></dir><dir name="sql"><dir name="icecatlive_setup"><file name="mysql4-install-1.7.7.php" hash="413c86249cc122868321be5724d2972c"/><file name="mysql4-upgrade-0.1.0-1.6.0.php" hash="3eabfeabdd60bbea11ef1c53251de5a8"/><file name="mysql4-upgrade-0.1.1-1.6.0.php" hash="3eabfeabdd60bbea11ef1c53251de5a8"/><file name="mysql4-upgrade-1.5.0-1.6.0.php" hash="3eabfeabdd60bbea11ef1c53251de5a8"/><file name="mysql4-upgrade-1.6.0-1.7.0.php" hash="d4a9c36d50f080209df067f09b6294fb"/><file name="mysql4-upgrade-1.7.0-1.7.2" hash="d4a9c36d50f080209df067f09b6294fb"/><file name="mysql4-upgrade-1.7.4-1.7.5.php" hash="ea96aabef28765bc61b9dc429a10fcb1"/><file name="mysql4-upgrade-1.7.5-1.7.6.php" hash="413c86249cc122868321be5724d2972c"/><file name="mysql4-upgrade-1.7.6-1.7.7.php" hash="413c86249cc122868321be5724d2972c"/><file name="uninstall-old-version.php" hash="972d9c6dd3ac44ff4c309b7f23c62b83"/></dir></dir></dir></dir></target><target name="mage"><dir name="skin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="iceshop"><dir name="icecatlive"><dir name="images"><file name="iceshop_logo_small_16px.png" hash="4ef632b4b89a047789307b301b9dfb6e"/></dir><file name="styles.css" hash="9bfab144d8ddfd445fe3bbaecac9cc53"/></dir></dir></dir></dir></dir></dir><dir name="js"><dir name="ICEshop"><dir name="Icecatlive"><file name="jquery-1.9.1.min.js" hash="fee4c9e0129fb2b8830a3c17638c44b0"/><file name="multi-lingual-store-field.js" hash="b99ce2b343cc5dbca86bb9165bcc444d"/><file name="script.js" hash="ca76b03c0568f4ab637bcb89b7fa04aa"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iceshop_Icecatlive.xml" hash="b91b60f0e20d399809be9ed0647cae93"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>