Version Notes
Stable version of Refiral extension.
Download this release
Release Info
Developer | Refiral |
Extension | Refiral |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
app/code/local/Refiral/Campaign/Block/Checkout.php
CHANGED
@@ -27,12 +27,12 @@ class Refiral_Campaign_Block_Checkout extends Mage_Core_Block_Template
|
|
27 |
$qty = $item->getQtyToInvoice();
|
28 |
$cartInfo[] = array('id' => $item->getProductId(), 'name' => $name, 'quantity' => $qty);
|
29 |
}
|
30 |
-
$
|
31 |
$order_name = $order->getCustomerName(); // Get customer's name
|
32 |
$order_email = $order->getCustomerEmail(); // Get customer's email id
|
33 |
|
34 |
// Call invoiceRefiral function
|
35 |
-
echo "<script>invoiceRefiral('$order_total', '$order_total', '$order_coupon', '$
|
36 |
}
|
37 |
}
|
38 |
|
27 |
$qty = $item->getQtyToInvoice();
|
28 |
$cartInfo[] = array('id' => $item->getProductId(), 'name' => $name, 'quantity' => $qty);
|
29 |
}
|
30 |
+
$cartInfoString = serialize($cartInfo);
|
31 |
$order_name = $order->getCustomerName(); // Get customer's name
|
32 |
$order_email = $order->getCustomerEmail(); // Get customer's email id
|
33 |
|
34 |
// Call invoiceRefiral function
|
35 |
+
echo "<script>invoiceRefiral('$order_total', '$order_total', '$order_coupon', '$cartInfoString', '$order_name', '$order_email');</script>";
|
36 |
}
|
37 |
}
|
38 |
|
app/code/local/Refiral/Campaign/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Refiral_Campaign>
|
5 |
-
<version>1.0.
|
6 |
</Refiral_Campaign>
|
7 |
</modules>
|
8 |
<frontend>
|
@@ -18,7 +18,7 @@
|
|
18 |
<layout>
|
19 |
<updates>
|
20 |
<campaign>
|
21 |
-
<file>
|
22 |
</campaign>
|
23 |
</updates>
|
24 |
</layout>
|
@@ -46,7 +46,7 @@
|
|
46 |
<general>
|
47 |
<campaign>
|
48 |
<active>1</active>
|
49 |
-
<title>
|
50 |
</campaign>
|
51 |
</general>
|
52 |
</default>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Refiral_Campaign>
|
5 |
+
<version>1.0.2</version>
|
6 |
</Refiral_Campaign>
|
7 |
</modules>
|
8 |
<frontend>
|
18 |
<layout>
|
19 |
<updates>
|
20 |
<campaign>
|
21 |
+
<file>refiral_campaign.xml</file>
|
22 |
</campaign>
|
23 |
</updates>
|
24 |
</layout>
|
46 |
<general>
|
47 |
<campaign>
|
48 |
<active>1</active>
|
49 |
+
<title>Campaign</title>
|
50 |
</campaign>
|
51 |
</general>
|
52 |
</default>
|
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 campaign 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
|
12 |
<authors><author><name>Refiral</name><user>refiral</user><email>support@refiral.com</email></author></authors>
|
13 |
-
<date>2014-05-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir name="Refiral"><dir name="Campaign"><dir name="Block"><file name="Campaign.php" hash="7d44a27e546f73d808b5e25b14ae8e0e"/><file name="Checkout.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.0.2</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 campaign 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.</notes>
|
12 |
<authors><author><name>Refiral</name><user>refiral</user><email>support@refiral.com</email></author></authors>
|
13 |
+
<date>2014-05-29</date>
|
14 |
+
<time>04:35:06</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Refiral"><dir name="Campaign"><dir name="Block"><file name="Campaign.php" hash="7d44a27e546f73d808b5e25b14ae8e0e"/><file name="Checkout.php" hash="f678586e1c978beb46f3b81511b23a03"/></dir><dir name="Helper"><file name="Data.php" hash="fa55e018e847a099126b48b719c91bb5"/></dir><dir name="etc"><file name="config.xml" hash="96f78200d264a0a6c2a581ec32f50876"/><file name="system.xml" hash="4ebb1f08d22f90878915eb5fc4dd7370"/></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="refiral_campaign.xml" hash="7a11d660175f9de93949f9e290a2d48f"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Refiral_Campaign.xml" hash="58b93da6e3a823bbdd7c6f8fb94551e9"/></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>
|