shoppingfeeder - Version 1.3.12

Version Notes

Timezone fix for special price from date and to date

Download this release

Release Info

Developer ShoppingFeeder
Extension shoppingfeeder
Version 1.3.12
Comparing to
See all releases


Code changes from version 1.3.11 to 1.3.12

app/code/community/ShoppingFeeder/Service/Model/Offers.php CHANGED
@@ -119,8 +119,6 @@ class ShoppingFeeder_Service_Model_Offers extends Mage_Core_Model_Abstract
119
120
if (!empty($categories))
121
{
122
-
123
-
124
/** @var Mage_Catalog_Model_Resource_Category_Collection $categoryCollection */
125
$categoryCollection = $product->getCategoryCollection()->addAttributeToSelect('name');
126
@@ -291,7 +289,7 @@ class ShoppingFeeder_Service_Model_Offers extends Mage_Core_Model_Abstract
291
$p['sale_price'] = $salePrice;
292
if ($product->getSpecialFromDate()!=null && $product->getSpecialToDate()!=null)
293
{
294
- $p['sale_price_effective_date'] = date("c", strtotime($product->getSpecialFromDate())).'/'.date("c", strtotime($product->getSpecialToDate()));
295
}
296
}
297
119
120
if (!empty($categories))
121
{
122
/** @var Mage_Catalog_Model_Resource_Category_Collection $categoryCollection */
123
$categoryCollection = $product->getCategoryCollection()->addAttributeToSelect('name');
124
289
$p['sale_price'] = $salePrice;
290
if ($product->getSpecialFromDate()!=null && $product->getSpecialToDate()!=null)
291
{
292
+ $p['sale_price_effective_date'] = date("c", strtotime(date("Y-m-d 23:59:59", strtotime($product->getSpecialFromDate())))).'/'.date("c", strtotime(date("Y-m-d 23:59:59", strtotime($product->getSpecialToDate()))));
293
}
294
}
295
app/code/community/ShoppingFeeder/Service/controllers/VersionController.php CHANGED
@@ -1,23 +1,23 @@
1
- <?php
2
-
3
- //IMPORTANT - "Controller" directory is not autoloaded
4
- require_once(Mage::getModuleDir('Controller','ShoppingFeeder_Service').DS.'Controller'.DS.'FrontAuth.php');
5
-
6
- class ShoppingFeeder_Service_VersionController extends Mage_Core_Controller_Front_Action
7
- {
8
- protected static $_version = '1.3.10';
9
-
10
- public function indexAction()
11
- {
12
- $responseData = array(
13
- 'status' => 'success',
14
- 'data' => array(
15
- 'version' => self::$_version
16
- )
17
- );
18
-
19
- header('Content-type: application/json; charset=UTF-8');
20
- echo json_encode($responseData);
21
- exit();
22
- }
23
}
1
+ <?php
2
+
3
+ //IMPORTANT - "Controller" directory is not autoloaded
4
+ require_once(Mage::getModuleDir('Controller','ShoppingFeeder_Service').DS.'Controller'.DS.'FrontAuth.php');
5
+
6
+ class ShoppingFeeder_Service_VersionController extends Mage_Core_Controller_Front_Action
7
+ {
8
+ protected static $_version = '1.3.12';
9
+
10
+ public function indexAction()
11
+ {
12
+ $responseData = array(
13
+ 'status' => 'success',
14
+ 'data' => array(
15
+ 'version' => self::$_version
16
+ )
17
+ );
18
+
19
+ header('Content-type: application/json; charset=UTF-8');
20
+ echo json_encode($responseData);
21
+ exit();
22
+ }
23
}
app/code/community/ShoppingFeeder/Service/etc/config.xml CHANGED
@@ -9,7 +9,7 @@
9
<config>
10
<modules>
11
<ShoppingFeeder_Service>
12
- <version>1.3.10</version>
13
</ShoppingFeeder_Service>
14
</modules>
15
<global>
9
<config>
10
<modules>
11
<ShoppingFeeder_Service>
12
+ <version>1.3.12</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.11</version>
5
<stability>stable</stability>
6
<license>GNU General Public License (GPL)</license>
7
<channel>community</channel>
@@ -16,11 +16,11 @@ Use ShoppingFeeder to import your Shopify product catalogue, export it to numero
16
Export to Google, Shopping.com, Nextag, kelkoo, PriceCheck, Shopmania, Fruugo and more!&#xD;
17
&#xD;
18
To set up your ShoppingFeeder account and install this extension seamlessly, create an account at: &lt;a href="http://www.shoppingfeeder.com/register"&gt;http://www.shoppingfeeder.com/register&lt;/a&gt;</description>
19
- <notes>Updated category fetch and UTC date format</notes>
20
<authors><author><name>ShoppingFeeder</name><user>shoppingfeeder</user><email>support@shoppingfeeder.com</email></author></authors>
21
- <date>2015-10-10</date>
22
- <time>18:52:15</time>
23
- <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="28ed32e1bf3250362911a26869f0e6d7"/></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="fe8d86049e9fef786b13cec3b3a902ed"/><file name="Offers.php" hash="173b764ba70fd8fb86b6175b01b43717"/><file name="Orders.php" hash="cc3c9f38ae41c11ab7dda0bcb8dd001f"/></dir><dir name="controllers"><file name="AttributesController.php" hash="e937c492f770bc8381a003a080cf878b"/><file name="FeedController.php" hash="92b70af3a048ece99d262480c51aa862"/><file name="OrdersController.php" hash="e0dcf407e15ca212b43ee0015c918675"/><file name="StoresController.php" hash="a29fa0e97299ce764fd66360cbf6632a"/><file name="TestController.php" hash="5138a844cb7cbc8e792df664057bdf9b"/><file name="VersionController.php" hash="47c29bda780633f5b444bc9ed8223861"/></dir><dir name="data"><file name="cacert.pem" hash="380df856e8f789c1af97d0da9a243769"/></dir><dir name="etc"><file name="config.xml" hash="8a1f626994555fbb56b405aa0a7eb081"/><file name="system.xml" hash="9681c74fa8886143197932690616e2dd"/></dir></dir></dir></target></contents>
24
<compatible/>
25
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
26
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>shoppingfeeder</name>
4
+ <version>1.3.12</version>
5
<stability>stable</stability>
6
<license>GNU General Public License (GPL)</license>
7
<channel>community</channel>
16
Export to Google, Shopping.com, Nextag, kelkoo, PriceCheck, Shopmania, Fruugo and more!&#xD;
17
&#xD;
18
To set up your ShoppingFeeder account and install this extension seamlessly, create an account at: &lt;a href="http://www.shoppingfeeder.com/register"&gt;http://www.shoppingfeeder.com/register&lt;/a&gt;</description>
19
+ <notes>Timezone fix for special price from date and to date</notes>
20
<authors><author><name>ShoppingFeeder</name><user>shoppingfeeder</user><email>support@shoppingfeeder.com</email></author></authors>
21
+ <date>2015-10-12</date>
22
+ <time>07:41:30</time>
23
+ <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="28ed32e1bf3250362911a26869f0e6d7"/></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="fe8d86049e9fef786b13cec3b3a902ed"/><file name="Offers.php" hash="3670c5bcd2759cdf0c6bbd0f8a5f5f1d"/><file name="Orders.php" hash="cc3c9f38ae41c11ab7dda0bcb8dd001f"/></dir><dir name="controllers"><file name="AttributesController.php" hash="e937c492f770bc8381a003a080cf878b"/><file name="FeedController.php" hash="92b70af3a048ece99d262480c51aa862"/><file name="OrdersController.php" hash="e0dcf407e15ca212b43ee0015c918675"/><file name="StoresController.php" hash="a29fa0e97299ce764fd66360cbf6632a"/><file name="TestController.php" hash="5138a844cb7cbc8e792df664057bdf9b"/><file name="VersionController.php" hash="dba7a0ad6947602fe39fc5d6dc7bbde5"/></dir><dir name="data"><file name="cacert.pem" hash="380df856e8f789c1af97d0da9a243769"/></dir><dir name="etc"><file name="config.xml" hash="904c264fccc67ddc348476f1b53438bd"/><file name="system.xml" hash="9681c74fa8886143197932690616e2dd"/></dir></dir></dir></target></contents>
24
<compatible/>
25
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
26
</package>