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.11 |
Comparing to | |
See all releases |
Code changes from version 1.0.10 to 1.0.11
- 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 +4 -4
- app/design/frontend/base/default/template/points/multishipping/points.phtml +2 -2
- app/design/frontend/base/default/template/points/multishipping/success.phtml +2 -2
- app/design/frontend/base/default/template/points/onepage/points.phtml +2 -2
- app/design/frontend/base/default/template/points/onepage/success.phtml +2 -2
- app/design/frontend/base/default/template/points/points.phtml +3 -3
- app/design/frontend/default/default/layout/points.xml +1 -1
- app/design/frontend/default/default/template/points/cart/points.phtml +4 -4
- app/design/frontend/default/default/template/points/multishipping/points.phtml +2 -2
- app/design/frontend/default/default/template/points/multishipping/success.phtml +2 -2
- app/design/frontend/default/default/template/points/onepage/points.phtml +2 -2
- app/design/frontend/default/default/template/points/onepage/success.phtml +2 -2
- app/design/frontend/default/default/template/points/points.phtml +3 -3
- 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.11</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.11">
|
3 |
|
4 |
<default>
|
5 |
<reference name="before_body_end">
|
app/design/frontend/base/default/template/points/cart/points.phtml
CHANGED
@@ -1,15 +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 |
-
<? } ?>
|
1 |
+
<?php if(Mage::getStoreConfig('points/settings/enabled')) { ?>
|
2 |
<div id="magento_points" class="regular-price">
|
3 |
|
4 |
+
<?php 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 |
+
<?php } ?>
|
11 |
|
12 |
<span><?php echo $this->getPoints(); echo $this->getTextAfterPoints();?></span>
|
13 |
<a href="#" class=pt_open>Learn More</a>
|
14 |
</div>
|
15 |
+
<?php } ?>
|
app/design/frontend/base/default/template/points/multishipping/points.phtml
CHANGED
@@ -1,8 +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 |
-
<? } ?>
|
1 |
+
<?php
|
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 |
+
<?php } ?>
|
app/design/frontend/base/default/template/points/multishipping/success.phtml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?
|
2 |
$points = $this->getPoints();
|
3 |
if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
4 |
?>
|
@@ -8,4 +8,4 @@ if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
|
8 |
<a href="#" class=pt_open>Learn More</a>
|
9 |
</div>
|
10 |
</div>
|
11 |
-
<? } ?>
|
1 |
+
<?php
|
2 |
$points = $this->getPoints();
|
3 |
if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
4 |
?>
|
8 |
<a href="#" class=pt_open>Learn More</a>
|
9 |
</div>
|
10 |
</div>
|
11 |
+
<?php } ?>
|
app/design/frontend/base/default/template/points/onepage/points.phtml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?
|
2 |
if( Mage::getStoreConfig('points/settings/enabled') &&
|
3 |
strlen(Mage::getModel('core/cookie')->get('ptfbst'))!=0 ) {
|
4 |
?>
|
@@ -16,4 +16,4 @@ Rewards
|
|
16 |
</dl>
|
17 |
</div>
|
18 |
</div>
|
19 |
-
<? } ?>
|
1 |
+
<?php
|
2 |
if( Mage::getStoreConfig('points/settings/enabled') &&
|
3 |
strlen(Mage::getModel('core/cookie')->get('ptfbst'))!=0 ) {
|
4 |
?>
|
16 |
</dl>
|
17 |
</div>
|
18 |
</div>
|
19 |
+
<?php } ?>
|
app/design/frontend/base/default/template/points/onepage/success.phtml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?
|
2 |
if( Mage::getStoreConfig('points/settings/enabled') &&
|
3 |
strlen(Mage::getModel('core/cookie')->get('ptfbst'))!=0 ) {
|
4 |
?>
|
@@ -8,4 +8,4 @@ if( Mage::getStoreConfig('points/settings/enabled') &&
|
|
8 |
<a href="#" class=pt_open>Learn More</a>
|
9 |
</div>
|
10 |
</div>
|
11 |
-
<? } ?>
|
1 |
+
<?php
|
2 |
if( Mage::getStoreConfig('points/settings/enabled') &&
|
3 |
strlen(Mage::getModel('core/cookie')->get('ptfbst'))!=0 ) {
|
4 |
?>
|
8 |
<a href="#" class=pt_open>Learn More</a>
|
9 |
</div>
|
10 |
</div>
|
11 |
+
<?php } ?>
|
app/design/frontend/base/default/template/points/points.phtml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?
|
2 |
$points = $this->getPoints();
|
3 |
if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
4 |
?>
|
@@ -6,8 +6,8 @@ if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
|
6 |
<div id="movable_points" class="regular-price">
|
7 |
<div>
|
8 |
<span><?php echo $this->getTextBeforePoints();echo $points; echo $this->getTextAfterPoints();?></span>
|
9 |
-
<a href="#" class=pt_open>Learn More</a>
|
10 |
</div>
|
11 |
</div>
|
12 |
|
13 |
-
<? } ?>
|
1 |
+
<?php
|
2 |
$points = $this->getPoints();
|
3 |
if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
4 |
?>
|
6 |
<div id="movable_points" class="regular-price">
|
7 |
<div>
|
8 |
<span><?php echo $this->getTextBeforePoints();echo $points; echo $this->getTextAfterPoints();?></span>
|
9 |
+
<a href="#" class=pt_open onclick="reward_widget.show();">Learn More</a>
|
10 |
</div>
|
11 |
</div>
|
12 |
|
13 |
+
<?php } ?>
|
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.11">
|
3 |
|
4 |
<default>
|
5 |
<reference name="before_body_end">
|
app/design/frontend/default/default/template/points/cart/points.phtml
CHANGED
@@ -1,15 +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 |
-
<? } ?>
|
1 |
+
<?php if(Mage::getStoreConfig('points/settings/enabled')) { ?>
|
2 |
<div id="magento_points" class="regular-price">
|
3 |
|
4 |
+
<?php 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 |
+
<?php } ?>
|
11 |
|
12 |
<span><?php echo $this->getPoints(); echo $this->getTextAfterPoints();?></span>
|
13 |
<a href="#" class=pt_open>Learn More</a>
|
14 |
</div>
|
15 |
+
<?php } ?>
|
app/design/frontend/default/default/template/points/multishipping/points.phtml
CHANGED
@@ -1,8 +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 |
-
<? } ?>
|
1 |
+
<?php
|
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 |
+
<?php } ?>
|
app/design/frontend/default/default/template/points/multishipping/success.phtml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?
|
2 |
$points = $this->getPoints();
|
3 |
if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
4 |
?>
|
@@ -8,4 +8,4 @@ if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
|
8 |
<a href="#" class=pt_open>Learn More</a>
|
9 |
</div>
|
10 |
</div>
|
11 |
-
<? } ?>
|
1 |
+
<?php
|
2 |
$points = $this->getPoints();
|
3 |
if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
4 |
?>
|
8 |
<a href="#" class=pt_open>Learn More</a>
|
9 |
</div>
|
10 |
</div>
|
11 |
+
<?php } ?>
|
app/design/frontend/default/default/template/points/onepage/points.phtml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?
|
2 |
if( Mage::getStoreConfig('points/settings/enabled') &&
|
3 |
strlen(Mage::getModel('core/cookie')->get('ptfbst'))!=0 ) {
|
4 |
?>
|
@@ -16,4 +16,4 @@ Rewards
|
|
16 |
</dl>
|
17 |
</div>
|
18 |
</div>
|
19 |
-
<? } ?>
|
1 |
+
<?php
|
2 |
if( Mage::getStoreConfig('points/settings/enabled') &&
|
3 |
strlen(Mage::getModel('core/cookie')->get('ptfbst'))!=0 ) {
|
4 |
?>
|
16 |
</dl>
|
17 |
</div>
|
18 |
</div>
|
19 |
+
<?php } ?>
|
app/design/frontend/default/default/template/points/onepage/success.phtml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?
|
2 |
if( Mage::getStoreConfig('points/settings/enabled') &&
|
3 |
strlen(Mage::getModel('core/cookie')->get('ptfbst'))!=0 ) {
|
4 |
?>
|
@@ -8,4 +8,4 @@ if( Mage::getStoreConfig('points/settings/enabled') &&
|
|
8 |
<a href="#" class=pt_open>Learn More</a>
|
9 |
</div>
|
10 |
</div>
|
11 |
-
<? } ?>
|
1 |
+
<?php
|
2 |
if( Mage::getStoreConfig('points/settings/enabled') &&
|
3 |
strlen(Mage::getModel('core/cookie')->get('ptfbst'))!=0 ) {
|
4 |
?>
|
8 |
<a href="#" class=pt_open>Learn More</a>
|
9 |
</div>
|
10 |
</div>
|
11 |
+
<?php } ?>
|
app/design/frontend/default/default/template/points/points.phtml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?
|
2 |
$points = $this->getPoints();
|
3 |
if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
4 |
?>
|
@@ -6,8 +6,8 @@ if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
|
6 |
<div id="movable_points" class="regular-price">
|
7 |
<div>
|
8 |
<span><?php echo $this->getTextBeforePoints();echo $points; echo $this->getTextAfterPoints();?></span>
|
9 |
-
<a href="#" class=pt_open>Learn More</a>
|
10 |
</div>
|
11 |
</div>
|
12 |
|
13 |
-
<? } ?>
|
1 |
+
<?php
|
2 |
$points = $this->getPoints();
|
3 |
if(Mage::getStoreConfig('points/settings/enabled') && $points!=0) {
|
4 |
?>
|
6 |
<div id="movable_points" class="regular-price">
|
7 |
<div>
|
8 |
<span><?php echo $this->getTextBeforePoints();echo $points; echo $this->getTextAfterPoints();?></span>
|
9 |
+
<a href="#" class=pt_open onclick="reward_widget.show();">Learn More</a>
|
10 |
</div>
|
11 |
</div>
|
12 |
|
13 |
+
<?php } ?>
|
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-12</date>
|
27 |
-
<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="fa84dde5f77a240c48931a1b7330be3c"/><file name="Sidebar.php" hash="5bf33a1f8399f6755d884794fb049cd0"/></dir><dir name="Helper"><file name="Data.php" hash="b867247f9ef7a8186fafde474ed2ae6b"/></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.11</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-12</date>
|
27 |
+
<time>07:52:58</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="fa84dde5f77a240c48931a1b7330be3c"/><file name="Sidebar.php" hash="5bf33a1f8399f6755d884794fb049cd0"/></dir><dir name="Helper"><file name="Data.php" hash="b867247f9ef7a8186fafde474ed2ae6b"/></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="10a30369a5db73fbc6da9e8197b623c8"/><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="fb19199bf6de9d63880fbaf6f93adf17"/></dir><dir name="template"><dir name="points"><dir name="cart"><file name="points.phtml" hash="e5fa2ed4edf66941a5bffc3e7ee2dee2"/></dir><dir name="multishipping"><file name="points.phtml" hash="b5c29d33572c624bbffdac8370888691"/><file name="success.phtml" hash="9fb2ce759db3548f6b6119092146b6eb"/></dir><dir name="onepage"><file name="points.phtml" hash="2689a294acdbd7cf7bd9e511a2c7124d"/><file name="success.phtml" hash="212cba02a1b6a34aa8d2d609b462c8b7"/></dir><file name="points.phtml" hash="ea95e5998369223275454fba37444861"/><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="fb19199bf6de9d63880fbaf6f93adf17"/></dir><dir name="template"><dir name="points"><dir name="cart"><file name="points.phtml" hash="e5fa2ed4edf66941a5bffc3e7ee2dee2"/></dir><dir name="multishipping"><file name="points.phtml" hash="b5c29d33572c624bbffdac8370888691"/><file name="success.phtml" hash="9fb2ce759db3548f6b6119092146b6eb"/></dir><dir name="onepage"><file name="points.phtml" hash="2689a294acdbd7cf7bd9e511a2c7124d"/><file name="success.phtml" hash="212cba02a1b6a34aa8d2d609b462c8b7"/></dir><file name="points.phtml" hash="ea95e5998369223275454fba37444861"/><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>
|