cartsguru - Version 1.2.7

Version Notes

- Patch on recover cart handle

Download this release

Release Info

Developer Maxime Pruvost
Extension cartsguru
Version 1.2.7
Comparing to
See all releases


Code changes from version 1.2.6 to 1.2.7

app/code/local/Cartsguru/Model/Webservice.php CHANGED
@@ -447,7 +447,7 @@ class Cartsguru_Model_Webservice
447
$requestUrl = '/sites/' . $this->getStoreConfig('siteid', $store) . '/register-plugin';
448
$fields = array(
449
'plugin' => 'magento',
450
- 'pluginVersion' => '1.2.6',
451
'storeVersion' => Mage::getVersion()
452
);
453
447
$requestUrl = '/sites/' . $this->getStoreConfig('siteid', $store) . '/register-plugin';
448
$fields = array(
449
'plugin' => 'magento',
450
+ 'pluginVersion' => '1.2.7',
451
'storeVersion' => Mage::getVersion()
452
);
453
app/code/local/Cartsguru/controllers/RecovercartController.php CHANGED
@@ -13,7 +13,7 @@ class Cartsguru_RecovercartController extends Mage_Core_Controller_Front_Action
13
14
// Stop if no enoguth params
15
if (!isset($params['cart_id']) || !isset($params['cart_token'])){
16
- return redirectToCart();
17
}
18
19
// Load quote by id
@@ -21,13 +21,13 @@ class Cartsguru_RecovercartController extends Mage_Core_Controller_Front_Action
21
22
// Stop if quote does not exist
23
if (!$quote->getId()){
24
- return redirectToCart();
25
}
26
27
// Check quote token
28
$token = $quote->getData('cartsguru_token');
29
if (!$token || $token != $params['cart_token']){
30
- return redirectToCart();
31
}
32
33
// Auto log customer if we can
@@ -72,6 +72,6 @@ class Cartsguru_RecovercartController extends Mage_Core_Controller_Front_Action
72
}
73
74
// Redirect to checkout
75
- return redirectToCart();
76
}
77
}
13
14
// Stop if no enoguth params
15
if (!isset($params['cart_id']) || !isset($params['cart_token'])){
16
+ return $this->redirectToCart();
17
}
18
19
// Load quote by id
21
22
// Stop if quote does not exist
23
if (!$quote->getId()){
24
+ return $this->redirectToCart();
25
}
26
27
// Check quote token
28
$token = $quote->getData('cartsguru_token');
29
if (!$token || $token != $params['cart_token']){
30
+ return $this->redirectToCart();
31
}
32
33
// Auto log customer if we can
72
}
73
74
// Redirect to checkout
75
+ return $this->redirectToCart();
76
}
77
}
app/code/local/Cartsguru/etc/config.xml CHANGED
@@ -3,7 +3,7 @@
3
<!-- plugin name -->
4
<modules>
5
<Cartsguru>
6
- <version>1.2.6</version>
7
</Cartsguru>
8
</modules>
9
<global>
3
<!-- plugin name -->
4
<modules>
5
<Cartsguru>
6
+ <version>1.2.7</version>
7
</Cartsguru>
8
</modules>
9
<global>
app/code/local/Cartsguru/sql/cartsguru_setup/upgrade-1.2.6-1.2.7.php ADDED
@@ -0,0 +1,6 @@
1
+ <?php
2
+ /* @var $installer Mage_Core_Model_Resource_Setup */
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+ $installer->endSetup();
package.xml CHANGED
@@ -1,7 +1,7 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>cartsguru</name>
4
- <version>1.2.6</version>
5
<stability>stable</stability>
6
<license uri="http://opensource.org/licenses/gpl-license.php">GPL</license>
7
<channel>community</channel>
@@ -18,12 +18,11 @@ Effortlessly reduce the number of abandoned shopping carts by automating telepho
18
&#xD;
19
- SMS Callback &amp;amp; Push SMS&#xD;
20
Send to your prospective customers having abandoned a cart, an SMS suggesting a free call back from your customer relations service, a straightforward SMS reminder or an SMS offering a personalized discount</description>
21
- <notes>- Improve handle of orders&#xD;
22
- - Add import of data when init the plugin</notes>
23
<authors><author><name>Maxime Pruvost</name><user>cgmaximepruvost</user><email>maxime@carts.guru</email></author></authors>
24
- <date>2016-07-08</date>
25
- <time>11:55:11</time>
26
- <contents><target name="magelocal"><dir name="Cartsguru"><dir name="Helper"><file name="Data.php" hash="f6590d08ba862a169ce43459ddb1193c"/><file name="Tools.php" hash="612133db113c08e7de7ab94a86d23e34"/></dir><dir name="Model"><file name="Observer.php" hash="d729fe51e4430b0becdefc239ecce351"/><file name="Webservice.php" hash="dad7e2bbf1016976bc1a7a8914a24925"/></dir><dir name="controllers"><file name="IndexController.php" hash="108acaab218e2a5e79a12677f83ebc29"/><file name="RecovercartController.php" hash="07319f26b2a2ec238ffe7fb32288a3a9"/></dir><dir name="etc"><file name="config.xml" hash="1b497e6441153c7fb37fdb34a81b5df6"/><file name="system.xml" hash="cb0fbf86d2be47dbd719739ee79c4cba"/></dir><dir name="sql"><dir name="cartsguru_setup"><file name="install-1.0.0.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.0.0-1.0.1.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.0.1-1.0.2.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.0.2-1.1.0.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.0-1.1.1.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.1-1.1.2.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.2-1.1.3.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.3-1.1.4 .php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.4-1.1.5.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.5-1.2.0.php" hash="066c5cfb9870c04737cba2d2edb30a40"/><file name="upgrade-1.2.0-1.2.1.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.2.1-1.2.2.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.2.2-1.2.3.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.2.3-1.2.4.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.2.4-1.2.5.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.2.5-1.2.6.php" hash="381716ae5001678f8bcc6680bad68015"/></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="CartsGuru.csv" hash="b6d51893c33ddef1d53372d3a23b036c"/></dir><dir name="en_US"><file name="CartsGuru.csv" hash="921cb4133db47471456759443bb269f5"/></dir></target><target name="mageetc"><dir name="modules"><file name="Cartsguru.xml" hash="32bfa7d63b1a5b6b8f7977bf31af4e28"/></dir></target></contents>
27
<compatible/>
28
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
29
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>cartsguru</name>
4
+ <version>1.2.7</version>
5
<stability>stable</stability>
6
<license uri="http://opensource.org/licenses/gpl-license.php">GPL</license>
7
<channel>community</channel>
18
&#xD;
19
- SMS Callback &amp;amp; Push SMS&#xD;
20
Send to your prospective customers having abandoned a cart, an SMS suggesting a free call back from your customer relations service, a straightforward SMS reminder or an SMS offering a personalized discount</description>
21
+ <notes>- Patch on recover cart handle</notes>
22
<authors><author><name>Maxime Pruvost</name><user>cgmaximepruvost</user><email>maxime@carts.guru</email></author></authors>
23
+ <date>2016-07-19</date>
24
+ <time>13:18:02</time>
25
+ <contents><target name="magelocal"><dir name="Cartsguru"><dir name="Helper"><file name="Data.php" hash="f6590d08ba862a169ce43459ddb1193c"/><file name="Tools.php" hash="612133db113c08e7de7ab94a86d23e34"/></dir><dir name="Model"><file name="Observer.php" hash="d729fe51e4430b0becdefc239ecce351"/><file name="Webservice.php" hash="c783a8c0fa25b26fc55f0f1ae2690501"/></dir><dir name="controllers"><file name="IndexController.php" hash="108acaab218e2a5e79a12677f83ebc29"/><file name="RecovercartController.php" hash="fab55c8774843ed11e939ee6df1ce0ed"/></dir><dir name="etc"><file name="config.xml" hash="2f190c37404e14af9349783969a6fda6"/><file name="system.xml" hash="cb0fbf86d2be47dbd719739ee79c4cba"/></dir><dir name="sql"><dir name="cartsguru_setup"><file name="install-1.0.0.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.0.0-1.0.1.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.0.1-1.0.2.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.0.2-1.1.0.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.0-1.1.1.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.1-1.1.2.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.2-1.1.3.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.3-1.1.4 .php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.4-1.1.5.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.1.5-1.2.0.php" hash="066c5cfb9870c04737cba2d2edb30a40"/><file name="upgrade-1.2.0-1.2.1.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.2.1-1.2.2.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.2.2-1.2.3.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.2.3-1.2.4.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.2.4-1.2.5.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.2.5-1.2.6.php" hash="381716ae5001678f8bcc6680bad68015"/><file name="upgrade-1.2.6-1.2.7.php" hash="381716ae5001678f8bcc6680bad68015"/></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="CartsGuru.csv" hash="b6d51893c33ddef1d53372d3a23b036c"/></dir><dir name="en_US"><file name="CartsGuru.csv" hash="921cb4133db47471456759443bb269f5"/></dir></target><target name="mageetc"><dir name="modules"><file name="Cartsguru.xml" hash="32bfa7d63b1a5b6b8f7977bf31af4e28"/></dir></target></contents>
26
<compatible/>
27
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
28
</package>