Version Notes
- Display Reward Points in
* Product page
* Cart page
* Checkout page
* Order Success Page
- Earn Reward Points at www.punchtab.com (reported when order completes successfully)
- Configure
* value for PunchTab Key
* points multiple for dollars purchased
* location of Rewards Tab on site pages
* enable/disable Rewards Points features
* change text displayed before/after points value
Download this release
Release Info
Developer | Magento Core Team |
Extension | punchtabpoints |
Version | 1.0.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.6 to 1.0.7
- app/code/community/PunchTab/Points/etc/config.xml +1 -1
- app/design/frontend/base/default/layout/points.xml +1 -1
- app/design/frontend/base/default/template/points/cart/points.phtml +15 -0
- app/design/frontend/base/default/template/points/multishipping/points.phtml +8 -0
- app/design/frontend/base/default/template/points/multishipping/success.phtml +11 -0
- app/design/frontend/base/default/template/points/onepage/points.phtml +19 -0
- app/design/frontend/base/default/template/points/onepage/success.phtml +11 -0
- app/design/frontend/base/default/template/points/points.phtml +15 -0
- app/design/frontend/base/default/template/points/pt.phtml +4 -0
- app/design/frontend/base/default/template/points/sidebar.phtml +1 -0
- app/design/frontend/default/default/layout/points.xml +1 -1
- package.xml +3 -3
app/code/community/PunchTab/Points/etc/config.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<config>
|
4 |
<modules>
|
5 |
<PunchTab_Points>
|
6 |
-
<version>1.0.
|
7 |
</PunchTab_Points>
|
8 |
</modules>
|
9 |
|
3 |
<config>
|
4 |
<modules>
|
5 |
<PunchTab_Points>
|
6 |
+
<version>1.0.7</version>
|
7 |
</PunchTab_Points>
|
8 |
</modules>
|
9 |
|
app/design/frontend/base/default/layout/points.xml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
-
<layout version="1.0.
|
3 |
|
4 |
<default>
|
5 |
<reference name="before_body_end">
|
1 |
<?xml version="1.0"?>
|
2 |
+
<layout version="1.0.7">
|
3 |
|
4 |
<default>
|
5 |
<reference name="before_body_end">
|
app/design/frontend/base/default/template/points/cart/points.phtml
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<? if(Mage::getStoreConfig('points/settings/enabled')) { ?>
|
2 |
+
<div id="magento_points" class="regular-price">
|
3 |
+
|
4 |
+
<? if(strlen(Mage::getModel('core/cookie')->get('ptfbst'))==0) { ?>
|
5 |
+
<div id="magento_points_login">
|
6 |
+
<span>
|
7 |
+
<?php echo $this->getTextBeforePoints();?>
|
8 |
+
</span>
|
9 |
+
</div>
|
10 |
+
<? } ?>
|
11 |
+
|
12 |
+
<span><?php echo $this->getPoints(); echo $this->getTextAfterPoints();?></span>
|
13 |
+
<a href="#" class=pt_open>Learn More</a>
|
14 |
+
</div>
|
15 |
+
<? } ?>
|
app/design/frontend/base/default/template/points/multishipping/points.phtml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?
|
2 |
+
$points = $this->getPoints();
|
3 |
+
if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
4 |
+
?>
|
5 |
+
<div id="magento_points" class="regular-price">
|
6 |
+
<span><?php echo $this->getTextBeforePoints();echo $points;echo $this->getTextAfterPoints();?></span>
|
7 |
+
</div>
|
8 |
+
<? } ?>
|
app/design/frontend/base/default/template/points/multishipping/success.phtml
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?
|
2 |
+
$points = $this->getPoints();
|
3 |
+
if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
4 |
+
?>
|
5 |
+
<div id="magento_points" class="regular-price">
|
6 |
+
<div>
|
7 |
+
<span><?php echo $this->getTextBeforePoints();echo $points; echo $this->getTextAfterPoints();?></span>
|
8 |
+
<a href="#" class=pt_open>Learn More</a>
|
9 |
+
</div>
|
10 |
+
</div>
|
11 |
+
<? } ?>
|
app/design/frontend/base/default/template/points/onepage/points.phtml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?
|
2 |
+
if( Mage::getStoreConfig('points/settings/enabled') &&
|
3 |
+
strlen(Mage::getModel('core/cookie')->get('ptfbst'))!=0 ) {
|
4 |
+
?>
|
5 |
+
<div id="magento_points">
|
6 |
+
<div class="block block-progress opc-block-progress">
|
7 |
+
<dl>
|
8 |
+
<dt class="complete">
|
9 |
+
Rewards
|
10 |
+
<span class="separator">|</span>
|
11 |
+
<a href="#" class=pt_open>Learn More</a>
|
12 |
+
</dt>
|
13 |
+
<dd class="complete">
|
14 |
+
<span><?php echo $this->getTextBeforePoints();echo $this->getPoints(); echo $this->getTextAfterPoints();?></span>
|
15 |
+
</dd>
|
16 |
+
</dl>
|
17 |
+
</div>
|
18 |
+
</div>
|
19 |
+
<? } ?>
|
app/design/frontend/base/default/template/points/onepage/success.phtml
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?
|
2 |
+
if( Mage::getStoreConfig('points/settings/enabled') &&
|
3 |
+
strlen(Mage::getModel('core/cookie')->get('ptfbst'))!=0 ) {
|
4 |
+
?>
|
5 |
+
<div id="magento_points" class="regular-price">
|
6 |
+
<div>
|
7 |
+
<span><?php echo $this->getTextBeforePoints();echo $this->getPoints(); echo $this->getTextAfterPoints();?></span>
|
8 |
+
<a href="#" class=pt_open>Learn More</a>
|
9 |
+
</div>
|
10 |
+
</div>
|
11 |
+
<? } ?>
|
app/design/frontend/base/default/template/points/points.phtml
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?
|
2 |
+
$points = $this->getPoints();
|
3 |
+
if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
4 |
+
?>
|
5 |
+
|
6 |
+
<br/>
|
7 |
+
<br/>
|
8 |
+
<div id="magento_points" class="regular-price">
|
9 |
+
<div>
|
10 |
+
<span><?php echo $this->getTextBeforePoints();echo $points; echo $this->getTextAfterPoints();?></span>
|
11 |
+
<a href="#" class=pt_open>Learn More</a>
|
12 |
+
</div>
|
13 |
+
</div>
|
14 |
+
|
15 |
+
<? } ?>
|
app/design/frontend/base/default/template/points/pt.phtml
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
<div id="pt-scripts" class="points" name="points">
|
2 |
+
<?php echo $this->getScript(); ?>
|
3 |
+
</div>
|
4 |
+
|
app/design/frontend/base/default/template/points/sidebar.phtml
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<div id="punchtab_widget"></div>
|
app/design/frontend/default/default/layout/points.xml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
-
<layout version="1.0.
|
3 |
|
4 |
<default>
|
5 |
<reference name="before_body_end">
|
1 |
<?xml version="1.0"?>
|
2 |
+
<layout version="1.0.7">
|
3 |
|
4 |
<default>
|
5 |
<reference name="before_body_end">
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>punchtabpoints</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/lgpl-3.0.html">LGPL 3.0</license>
|
7 |
<channel>community</channel>
|
@@ -24,8 +24,8 @@ From purchases to social sharing, reward-enable any action you want to incentivi
|
|
24 |
* change text displayed before/after points value</notes>
|
25 |
<authors><author><name>punchtab</name><user>auto-converted</user><email>apps@punchtab.com</email></author></authors>
|
26 |
<date>2011-12-10</date>
|
27 |
-
<time>03:
|
28 |
-
<contents><target name="magecommunity"><dir name="PunchTab"><dir name="Points"><dir name="Block"><dir name="Cart"><file name="Points.php" hash="0c955704e51f8b9a9dd297265526f1fc"/></dir><dir name="Multishipping"><file name="Points.php" hash="3e681f954f47d243a93f426f5dc2ac1a"/><file name="Success.php" hash="6dde193eba26e1765bf0f7c198e1d248"/></dir><dir name="Onepage"><file name="Points.php" hash="a543931a531512fe209c35abbdff704b"/><file name="Success.php" hash="ec69bc1c5a1fb0401f5d26509c5a34ca"/></dir><file name="Points.php" hash="70af0851f6a944e34c3c48a4ea137179"/><file name="Pt.php" hash="12f0a834df7a458e67f3b5035c89f050"/><file name="Sidebar.php" hash="5bf33a1f8399f6755d884794fb049cd0"/></dir><dir name="Helper"><file name="Data.php" hash="2a6aa0e96510342ae3306c49bc1007cf"/></dir><dir name="Model"><dir name="Backend"><dir name="Source"><file name="Position.php" hash="80c4d2d40a00673ab7cd397d3f112f98"/></dir></dir><file name="Observer.php" hash="3ccd2b6754f6a858560c9f8d272f2716"/></dir><dir name="etc"><file name="config.xml" hash="
|
29 |
<compatible/>
|
30 |
<dependencies/>
|
31 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>punchtabpoints</name>
|
4 |
+
<version>1.0.7</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/lgpl-3.0.html">LGPL 3.0</license>
|
7 |
<channel>community</channel>
|
24 |
* change text displayed before/after points value</notes>
|
25 |
<authors><author><name>punchtab</name><user>auto-converted</user><email>apps@punchtab.com</email></author></authors>
|
26 |
<date>2011-12-10</date>
|
27 |
+
<time>03:55:55</time>
|
28 |
+
<contents><target name="magecommunity"><dir name="PunchTab"><dir name="Points"><dir name="Block"><dir name="Cart"><file name="Points.php" hash="0c955704e51f8b9a9dd297265526f1fc"/></dir><dir name="Multishipping"><file name="Points.php" hash="3e681f954f47d243a93f426f5dc2ac1a"/><file name="Success.php" hash="6dde193eba26e1765bf0f7c198e1d248"/></dir><dir name="Onepage"><file name="Points.php" hash="a543931a531512fe209c35abbdff704b"/><file name="Success.php" hash="ec69bc1c5a1fb0401f5d26509c5a34ca"/></dir><file name="Points.php" hash="70af0851f6a944e34c3c48a4ea137179"/><file name="Pt.php" hash="12f0a834df7a458e67f3b5035c89f050"/><file name="Sidebar.php" hash="5bf33a1f8399f6755d884794fb049cd0"/></dir><dir name="Helper"><file name="Data.php" hash="2a6aa0e96510342ae3306c49bc1007cf"/></dir><dir name="Model"><dir name="Backend"><dir name="Source"><file name="Position.php" hash="80c4d2d40a00673ab7cd397d3f112f98"/></dir></dir><file name="Observer.php" hash="3ccd2b6754f6a858560c9f8d272f2716"/></dir><dir name="etc"><file name="config.xml" hash="4453912bf246da5d9cf1e7dbf18847c2"/><file name="system.xml" hash="706a17b4e358c04627f32e6c7b67e42c"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PunchTab_Points.xml" hash="c4c05dc493146f8f6a04277724f544e3"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="points.xml" hash="31edecdfb53b941078644a0d3b55af47"/></dir><dir name="template"><dir name="points"><dir name="cart"><file name="points.phtml" hash="2533ba5e2e0786a46b95466c9aca58fe"/></dir><dir name="multishipping"><file name="points.phtml" hash="334fe3e06b3c75aa13ee0dcec9626cc7"/><file name="success.phtml" hash="3edef21101a690662846fd6febe27ae2"/></dir><dir name="onepage"><file name="points.phtml" hash="a0317a8f35c3bb788edcdaea7d8fdbb1"/><file name="success.phtml" hash="71028bdc157ead5e6ae7d03d9f8ad4c0"/></dir><file name="points.phtml" hash="c999d4687d072f31d6db22e2d3b34da5"/><file name="pt.phtml" hash="27063bd14d7abb81baafed07cbbd5916"/><file name="sidebar.phtml" hash="568f4f7ac38ad1b1e0f2e4da21639a70"/></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="layout"><file name="points.xml" hash="31edecdfb53b941078644a0d3b55af47"/></dir><dir name="template"><dir name="points"><dir name="cart"><file name="points.phtml" hash="2533ba5e2e0786a46b95466c9aca58fe"/></dir><dir name="multishipping"><file name="points.phtml" hash="334fe3e06b3c75aa13ee0dcec9626cc7"/><file name="success.phtml" hash="3edef21101a690662846fd6febe27ae2"/></dir><dir name="onepage"><file name="points.phtml" hash="a0317a8f35c3bb788edcdaea7d8fdbb1"/><file name="success.phtml" hash="71028bdc157ead5e6ae7d03d9f8ad4c0"/></dir><file name="points.phtml" hash="c999d4687d072f31d6db22e2d3b34da5"/><file name="pt.phtml" hash="27063bd14d7abb81baafed07cbbd5916"/><file name="sidebar.phtml" hash="568f4f7ac38ad1b1e0f2e4da21639a70"/></dir></dir></dir></dir></dir></target></contents>
|
29 |
<compatible/>
|
30 |
<dependencies/>
|
31 |
</package>
|