Version Notes
Stable version of Refiral extension. Currency is included. Secure checkout compatible.
Download this release
Release Info
Developer | Refiral |
Extension | Refiral |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.9 to 1.1.0
app/code/community/Refiral/Campaign/Helper/Data.php
CHANGED
@@ -54,7 +54,7 @@ class Refiral_Campaign_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
54 |
$flag = false;
|
55 |
$currency = Mage::app()->getStore()->getCurrentCurrencyCode();
|
56 |
$script = "<script>var apiKey = '".$this->getKey()."';</script>"."\n";
|
57 |
-
if ($module == 'checkout' && $controller == 'onepage' && $action == 'success')
|
58 |
{
|
59 |
$order = new Mage_Sales_Model_Order();
|
60 |
$orderId = Mage::getSingleton('checkout/session')->getLastRealOrderId();
|
54 |
$flag = false;
|
55 |
$currency = Mage::app()->getStore()->getCurrentCurrencyCode();
|
56 |
$script = "<script>var apiKey = '".$this->getKey()."';</script>"."\n";
|
57 |
+
if (($module == 'checkout' && ($controller == 'onepage' || $controller == 'onestep') && $action == 'success') || ($module == 'securecheckout' && $controller == 'index' && $action == 'success'))
|
58 |
{
|
59 |
$order = new Mage_Sales_Model_Order();
|
60 |
$orderId = Mage::getSingleton('checkout/session')->getLastRealOrderId();
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Refiral</name>
|
4 |
-
<version>1.0
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/gpl-3.0-standalone.html">GPLv3</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Launch your referral campaigns virally.</summary>
|
10 |
<description>Boost your sales up to 3X with our new hybrid marketing channel. Run your personalized, easy to integrate fully automated referral program.</description>
|
11 |
-
<notes>Stable version of Refiral extension. Currency is included.</notes>
|
12 |
<authors><author><name>Refiral</name><user>refiral</user><email>support@refiral.com</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Refiral"><dir name="Campaign"><dir name="Block"><file name="default.php" hash="39f687630fe10bbed1d15c069a7f1817"/></dir><dir name="Helper"><file name="Data.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Refiral</name>
|
4 |
+
<version>1.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/gpl-3.0-standalone.html">GPLv3</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Launch your referral campaigns virally.</summary>
|
10 |
<description>Boost your sales up to 3X with our new hybrid marketing channel. Run your personalized, easy to integrate fully automated referral program.</description>
|
11 |
+
<notes>Stable version of Refiral extension. Currency is included. Secure checkout compatible.</notes>
|
12 |
<authors><author><name>Refiral</name><user>refiral</user><email>support@refiral.com</email></author></authors>
|
13 |
+
<date>2015-01-09</date>
|
14 |
+
<time>15:02:07</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Refiral"><dir name="Campaign"><dir name="Block"><file name="default.php" hash="39f687630fe10bbed1d15c069a7f1817"/></dir><dir name="Helper"><file name="Data.php" hash="84dba3e8f831765ed00eccceda77e061"/></dir><dir name="etc"><file name="config.xml" hash="9850240b5844d7ef003c1690225d787e"/><file name="system.xml" hash="7a7f1be925b4e63a822fb9101bb2ecdc"/></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="refiral_campaign"><file name="campaign.phtml" hash="bf9240c0ad7f5337fc29fb3e0b7b72ad"/></dir></dir><dir name="layout"><file name="refiral_campaign.xml" hash="273dfeba936c497c90679a1c94225278"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Refiral_Campaign.xml" hash="5cfba36effdd31e490eca65ae5086925"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|