Version Notes
Stable version of Refiral extension. Currency is included. Secure checkout compatible. Onestepcheckout compatible.
Download this release
Release Info
Developer | Refiral |
Extension | Refiral |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
app/code/community/Refiral/Campaign/Helper/Data.php
CHANGED
@@ -54,7 +54,10 @@ 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' &&
|
|
|
|
|
|
|
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 == 'onestep' && $action == 'success')
|
58 |
+
|| ($module == 'checkout' && $controller == 'onepage' && $action == 'success')
|
59 |
+
|| ($module == 'securecheckout' && $controller == 'index' && $action == 'success')
|
60 |
+
|| ($module == 'onestepcheckout' && $controller == 'index' && $action == 'success'))
|
61 |
{
|
62 |
$order = new Mage_Sales_Model_Order();
|
63 |
$orderId = Mage::getSingleton('checkout/session')->getLastRealOrderId();
|
app/design/frontend/base/default/template/refiral_campaign/campaign.phtml
CHANGED
@@ -7,4 +7,4 @@ $_helper = Mage::helper('campaign');
|
|
7 |
if($_helper->isActive())
|
8 |
echo $_helper->getScript();
|
9 |
?>
|
10 |
-
<!-- Refiral Campaign Code End -->
|
7 |
if($_helper->isActive())
|
8 |
echo $_helper->getScript();
|
9 |
?>
|
10 |
+
<!-- Refiral Campaign Code End -->
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Refiral</name>
|
4 |
-
<version>1.1.
|
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-
|
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.1</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. Onestepcheckout compatible.</notes>
|
12 |
<authors><author><name>Refiral</name><user>refiral</user><email>support@refiral.com</email></author></authors>
|
13 |
+
<date>2015-01-30</date>
|
14 |
+
<time>12:31:44</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="d63d6bbdbcb2111ee4d573f0ebc08a8f"/></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="b16e6345458f9b8fae62590000ffe274"/></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>
|