ei_creditpoint - Version 1.1.2

Version Notes

Credit points for Customers

Download this release

Release Info

Developer Vikram
Extension ei_creditpoint
Version 1.1.2
Comparing to
See all releases


Code changes from version 1.1.1 to 1.1.2

app/code/community/Ei/Creditpoint/Model/Observer.php CHANGED
@@ -141,7 +141,7 @@ class Ei_Creditpoint_Model_Observer {
141
  public function updatePaypalTotal($evt) {
142
 
143
  $cart = $evt->getPaypalCart();
144
- $cart->updateTotal(Mage_Paypal_Model_Cart::TOTAL_SUBTOTAL, $cart->getSalesEntity()->getCreditpointAmount());
145
  }
146
 
147
  }
141
  public function updatePaypalTotal($evt) {
142
 
143
  $cart = $evt->getPaypalCart();
144
+ $cart->updateTotal(Mage_Paypal_Model_Cart::TOTAL_DISCOUNT, $cart->getSalesEntity()->getCreditpointAmount());
145
  }
146
 
147
  }
app/code/community/Ei/Creditpoint/Model/Sales/Quote/Address/Total/Creditpoint.php CHANGED
@@ -58,7 +58,7 @@ class Ei_Creditpoint_Model_Sales_Quote_Address_Total_Creditpoint extends Mage_Sa
58
  $amount = $address->getCreditpointAmount();
59
  $address->addTotal(array(
60
  'code' => Mage::helper('creditpoint')->getCode(),
61
- 'title' => Mage::helper('creditpoint')->__('Points Redeem ('.$this->PointsRedeem.' points)'),
62
  'value' => '-'.$amount
63
  ));
64
 
58
  $amount = $address->getCreditpointAmount();
59
  $address->addTotal(array(
60
  'code' => Mage::helper('creditpoint')->getCode(),
61
+ 'title' => Mage::helper('creditpoint')->__('Points Redeem ('.intval($this->PointsRedeem).' points)'),
62
  'value' => '-'.$amount
63
  ));
64
 
app/code/community/Ei/Creditpoint/controllers/CreditpointController.php CHANGED
@@ -30,21 +30,24 @@ class Ei_Creditpoint_CreditpointController extends Mage_Core_Controller_Front_Ac
30
  $code = (string) $this->getRequest()->getParam('estimate_credit');
31
  $pointsRedeem = Mage::app()->getRequest()->getParam('pointsredeem');
32
  $pointsAmount = Mage::helper('creditpoint')->getPrice($pointsRedeem);
 
33
 
34
  //if estimate_credit code set and redeemed points greater than 0
35
- if ( (!empty($pointsRedeem)) && (!empty($code)) ) {
 
36
 
37
  Mage::getSingleton('core/session')->setEstimateCredit($code);
38
  Mage::getSingleton('core/session')->setPointsRedeem($pointsRedeem);
39
  Mage::getSingleton('core/session')->setPointsPrice($pointsAmount);
 
 
 
 
 
 
 
 
40
 
41
- //call collectTotals on quote with the totals collected flag set to false.
42
- //$quote->collectTotals() one the first line checks for the totals_collected_flag,
43
- //if it is set to true it returns without doing anything but we want to update it after applying discount so its set to false.
44
- //Look at the definition : Mage_Sales_Model_Quote::collectTotals()
45
- $quote->setTotalsCollectedFlag(false);
46
- $quote->collectTotals();
47
-
48
  }else{
49
 
50
  Mage::getSingleton('core/session')->unsEstimateCredit();
@@ -54,6 +57,14 @@ class Ei_Creditpoint_CreditpointController extends Mage_Core_Controller_Front_Ac
54
  }
55
 
56
 
 
 
 
 
 
 
 
 
57
  $response = array();
58
 
59
  //here 'creditpointblock' will be key and cart block html as value for that key
30
  $code = (string) $this->getRequest()->getParam('estimate_credit');
31
  $pointsRedeem = Mage::app()->getRequest()->getParam('pointsredeem');
32
  $pointsAmount = Mage::helper('creditpoint')->getPrice($pointsRedeem);
33
+ $subTotal = $quote->getData('subtotal');
34
 
35
  //if estimate_credit code set and redeemed points greater than 0
36
+ if ( (!empty($pointsRedeem)) && (!empty($code)) && ($pointsRedeem < $subTotal) ) {
37
+
38
 
39
  Mage::getSingleton('core/session')->setEstimateCredit($code);
40
  Mage::getSingleton('core/session')->setPointsRedeem($pointsRedeem);
41
  Mage::getSingleton('core/session')->setPointsPrice($pointsAmount);
42
+
43
+
44
+ }else if( (!empty($pointsRedeem)) && ($pointsRedeem >= $subTotal) ){
45
+
46
+ $pointsRedeem = $subTotal;
47
+ Mage::getSingleton('core/session')->setEstimateCredit($code);
48
+ Mage::getSingleton('core/session')->setPointsRedeem($pointsRedeem);
49
+ Mage::getSingleton('core/session')->setPointsPrice($pointsAmount);
50
 
 
 
 
 
 
 
 
51
  }else{
52
 
53
  Mage::getSingleton('core/session')->unsEstimateCredit();
57
  }
58
 
59
 
60
+ //call collectTotals on quote with the totals collected flag set to false.
61
+ //$quote->collectTotals() one the first line checks for the totals_collected_flag,
62
+ //if it is set to true it returns without doing anything but we want to update it after applying discount so its set to false.
63
+ //Look at the definition : Mage_Sales_Model_Quote::collectTotals()
64
+ $quote->setTotalsCollectedFlag(false);
65
+ $quote->collectTotals();
66
+
67
+
68
  $response = array();
69
 
70
  //here 'creditpointblock' will be key and cart block html as value for that key
app/code/community/Ei/Creditpoint/etc/config.xml CHANGED
@@ -22,6 +22,15 @@
22
  </creditpoint>
23
  </updates>
24
  </layout>
 
 
 
 
 
 
 
 
 
25
  </frontend>
26
  <admin>
27
  <routers>
@@ -42,6 +51,15 @@
42
  </creditpoint>
43
  </updates>
44
  </layout>
 
 
 
 
 
 
 
 
 
45
  </adminhtml>
46
  <default>
47
  <creditpoint>
22
  </creditpoint>
23
  </updates>
24
  </layout>
25
+ <translate>
26
+ <modules>
27
+ <ei_creditpoint>
28
+ <files>
29
+ <default>Ei_Creditpoint.csv</default>
30
+ </files>
31
+ </ei_creditpoint>
32
+ </modules>
33
+ </translate>
34
  </frontend>
35
  <admin>
36
  <routers>
51
  </creditpoint>
52
  </updates>
53
  </layout>
54
+ <translate>
55
+ <modules>
56
+ <ei_creditpoint>
57
+ <files>
58
+ <default>Ei_Creditpoint.csv</default>
59
+ </files>
60
+ </ei_creditpoint>
61
+ </modules>
62
+ </translate>
63
  </adminhtml>
64
  <default>
65
  <creditpoint>
app/design/adminhtml/default/default/template/ei/creditpoint/creditpoint.phtml CHANGED
@@ -1,7 +1,7 @@
1
  <div id="credit-point">
2
  <div class="entry-edit">
3
  <div class="entry-edit-head">
4
- <h4 class="icon-head head-edit-form fieldset-legend">Credit Points Tab</h4>
5
  </div>
6
  <div id="group_fields4" class="fieldset fieldset-wide">
7
  <div class="hor-scroll">
1
  <div id="credit-point">
2
  <div class="entry-edit">
3
  <div class="entry-edit-head">
4
+ <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Credit Points Tab') ?></h4>
5
  </div>
6
  <div id="group_fields4" class="fieldset fieldset-wide">
7
  <div class="hor-scroll">
app/design/adminhtml/default/default/template/ei/creditpoint/sales/order/refunded.phtml CHANGED
@@ -1,7 +1,7 @@
1
  <div id="credit-point">
2
  <div class="entry-edit">
3
  <div class="entry-edit-head">
4
- <h4 class="icon-head head-edit-form fieldset-legend">Credit Points Tab</h4>
5
  </div>
6
  <div id="group_fields4" class="fieldset fieldset-wide">
7
  <div class="hor-scroll">
1
  <div id="credit-point">
2
  <div class="entry-edit">
3
  <div class="entry-edit-head">
4
+ <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Credit Points Tab') ?></h4>
5
  </div>
6
  <div id="group_fields4" class="fieldset fieldset-wide">
7
  <div class="hor-scroll">
app/design/adminhtml/default/default/template/ei/creditpoint/sales/order/total.phtml CHANGED
@@ -1,7 +1,7 @@
1
  <div id="credit-point">
2
  <div class="entry-edit">
3
  <div class="entry-edit-head">
4
- <h4 class="icon-head head-edit-form fieldset-legend">Credit Points Tab</h4>
5
  </div>
6
  <div id="group_fields4" class="fieldset fieldset-wide">
7
  <div class="hor-scroll">
1
  <div id="credit-point">
2
  <div class="entry-edit">
3
  <div class="entry-edit-head">
4
+ <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Credit Points Tab') ?></h4>
5
  </div>
6
  <div id="group_fields4" class="fieldset fieldset-wide">
7
  <div class="hor-scroll">
app/design/frontend/base/default/template/ei/creditpoint/checkout/cart/creditpoint_cart.phtml CHANGED
@@ -24,34 +24,16 @@ if ($moduleStatus == 1 && $customerLogin && $totalItemsInCart > 0):
24
  $pointsRatio = $formatRatio[0]/$formatRatio[1];
25
  $subtotalCredit = floor($pointsRatio * $subTotal);
26
 
27
-
28
- // if (($pointsRedeem == '') && ($maxCreditConfig == 0 || $maxCreditConfig == NULL) && ($currentPointAmount >= $subTotal)) {
29
- // echo $subtotalCredit;
30
- // echo 'YYY11';
31
- // $maxCredit = $subtotalCredit;
32
- // } elseif (($pointsRedeem == '') && ($maxCreditConfig == 0 || $maxCreditConfig == NULL) && ($currentPointAmount <= $subTotal)) {
33
- // echo 'YYY22';
34
- // $maxCredit = $creditPoints;
35
- // } elseif (($pointsRedeem == '') && ($maxCreditConfig >= $currentPointAmount)) {
36
- // echo 'YYY33';
37
- // $maxCredit = $creditPoints;
38
- // } elseif (($pointsRedeem == '') && ($maxCreditConfig <= $currentPointAmount)) {
39
- // echo 'YYY444';
40
- // $maxCredit = $maxCreditConfig;
41
- // } elseif ($pointsRedeem != '') {
42
- // echo 'YYY555';
43
- // $maxCredit = $pointsRedeem;
44
- // } else {
45
- // echo 'YYY';
46
- // $maxCredit = $maxCreditConfig;
47
- // }
48
 
 
49
  if (($maxCreditConfig == 0 || $maxCreditConfig == NULL) && ($currentPointAmount >= $subTotal)) {
50
  $maxCredit = $subtotalCredit;
51
  } elseif (($maxCreditConfig == 0 || $maxCreditConfig == NULL) && ($currentPointAmount <= $subTotal)) {
52
  $maxCredit = $creditPoints;
53
  } elseif (($maxCreditConfig >= $currentPointAmount)) {
54
  $maxCredit = $creditPoints;
 
 
55
  } elseif (($maxCreditConfig <= $currentPointAmount)) {
56
  $maxCredit = $maxCreditConfig;
57
  } else {
@@ -86,13 +68,13 @@ if ($moduleStatus == 1 && $customerLogin && $totalItemsInCart > 0):
86
  <?php elseif (empty($creditPoints)): ?>
87
  <div style="padding-top: 5px;">
88
  <label style="display: inline !important;">
89
- <?php echo $this->__('You do not have sufficient credit points.'); ?>
90
  </label>
91
  </div>
92
 
93
  <?php else: ?>
94
  <div style="padding-top: 5px;">
95
- <label style="display: inline !important;"><?php echo $this->__('Slide to redeem your credit points.'); ?></label>
96
  </div>
97
 
98
 
@@ -120,7 +102,7 @@ if ($moduleStatus == 1 && $customerLogin && $totalItemsInCart > 0):
120
 
121
  <div id="cart-totals-loading" style="display: none; ">
122
  <div style="text-align:center;margin-top:30px;">
123
- <img src="http://demo.mage-world.com/1611/skin/frontend/default/default/mw_rewardpoints/images/loading.gif" class="v-middle" alt="loading"> &nbsp;
124
  <?php echo $this->__('Updating cart information...');?>
125
  </div>
126
  </div>
@@ -128,8 +110,10 @@ if ($moduleStatus == 1 && $customerLogin && $totalItemsInCart > 0):
128
 
129
  <script type="text/javascript">
130
 
131
- var creditPointVal = '<?php echo $maxCredit; ?>';
132
- var pointsRedeem = '<?php echo $pointsRedeem; ?>';
 
 
133
  var time = 1000;
134
  var time_new = 1500; //was 2000
135
  var timer;
@@ -159,14 +143,26 @@ if ($moduleStatus == 1 && $customerLogin && $totalItemsInCart > 0):
159
  });
160
 
161
  if(pointsRedeem != '' && pointsRedeem == creditPointVal){
 
162
  $('credit_point').value = pointsRedeem ;
163
  $('use_max_credit_points').checked = true;
164
- }else if(pointsRedeem != '' && pointsRedeem != creditPointVal){
 
 
 
165
  $('credit_point').value = pointsRedeem ;
 
 
 
 
 
 
 
 
166
  }
167
 
 
168
  $('use_max_credit_points').observe('click', function(e) {
169
-
170
  if (this.checked)
171
  ei_sider.setPointChange(creditPointVal);
172
  else
24
  $pointsRatio = $formatRatio[0]/$formatRatio[1];
25
  $subtotalCredit = floor($pointsRatio * $subTotal);
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
+ $maxCredit = '';
29
  if (($maxCreditConfig == 0 || $maxCreditConfig == NULL) && ($currentPointAmount >= $subTotal)) {
30
  $maxCredit = $subtotalCredit;
31
  } elseif (($maxCreditConfig == 0 || $maxCreditConfig == NULL) && ($currentPointAmount <= $subTotal)) {
32
  $maxCredit = $creditPoints;
33
  } elseif (($maxCreditConfig >= $currentPointAmount)) {
34
  $maxCredit = $creditPoints;
35
+ }elseif (($maxCreditConfig > 0) &&($maxCreditConfig >= $subTotal) ) {
36
+ $maxCredit = $subtotalCredit;
37
  } elseif (($maxCreditConfig <= $currentPointAmount)) {
38
  $maxCredit = $maxCreditConfig;
39
  } else {
68
  <?php elseif (empty($creditPoints)): ?>
69
  <div style="padding-top: 5px;">
70
  <label style="display: inline !important;">
71
+ <?php echo $this->__('You do not have sufficient credit points'); ?>
72
  </label>
73
  </div>
74
 
75
  <?php else: ?>
76
  <div style="padding-top: 5px;">
77
+ <label style="display: inline !important;"><?php echo $this->__('Slide to redeem your credit points'); ?></label>
78
  </div>
79
 
80
 
102
 
103
  <div id="cart-totals-loading" style="display: none; ">
104
  <div style="text-align:center;margin-top:30px;">
105
+ <img class="ei_creditpoint_loading"> &nbsp;
106
  <?php echo $this->__('Updating cart information...');?>
107
  </div>
108
  </div>
110
 
111
  <script type="text/javascript">
112
 
113
+ var creditPointVal = parseInt('<?php echo $maxCredit; ?>');
114
+ var pointsRedeem = parseInt('<?php echo $pointsRedeem; ?>');
115
+ var subTotal = parseInt('<?php echo $subTotal; ?>');
116
+ var subTotalCredit = parseInt('<?php echo $subtotalCredit; ?>');
117
  var time = 1000;
118
  var time_new = 1500; //was 2000
119
  var timer;
143
  });
144
 
145
  if(pointsRedeem != '' && pointsRedeem == creditPointVal){
146
+
147
  $('credit_point').value = pointsRedeem ;
148
  $('use_max_credit_points').checked = true;
149
+ ei_sider.setPointChange(creditPointVal);
150
+
151
+ }else if(pointsRedeem != '' && pointsRedeem != creditPointVal && pointsRedeem < subTotal){
152
+
153
  $('credit_point').value = pointsRedeem ;
154
+ $('use_max_credit_points').checked = true;
155
+ ei_sider.setPointChange(creditPointVal);
156
+
157
+ }else if(pointsRedeem != '' && pointsRedeem > subTotal){
158
+
159
+ $('credit_point').value = subTotalCredit ;
160
+ $('use_max_credit_points').checked = true;
161
+ ei_sider.setPointChange(creditPointVal);
162
  }
163
 
164
+
165
  $('use_max_credit_points').observe('click', function(e) {
 
166
  if (this.checked)
167
  ei_sider.setPointChange(creditPointVal);
168
  else
app/locale/en_US/Ei_Creditpoint.csv ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Redeem Credit Points,Redeem Credit Points
2
+ Credit Points Available,Credit Points Available
3
+ Minimum credit points required to redeem,Minimum credit points required to redeem
4
+ You do not have sufficient credit points,You do not have sufficient credit points
5
+ Slide to redeem your credit points,Slide to redeem your credit points
6
+ Use maximum,Use maximum
7
+ Updating cart information...,Updating cart information...
8
+ Credit Points Information,Credit Points Information
9
+ Your Credit Points,Your Credit Points
10
+ Points,Points
11
+ Points/Currency Exchange Rate,Points/Currency Exchange Rate
12
+ Order #,Order #
13
+ Date,Date
14
+ Points Redeemed,Points Redeemed
15
+ Points Price,Points Price
16
+ Points Earned,Points Earned
17
+ Back,Back
18
+ Credit Points,Credit Points
19
+ Credit Points Tab,Credit Points Tab
app/locale/fr_FR/Ei_Creditpoint.csv ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Redeem Credit Points,Échangez vos points de crédit
2
+ Credit Points Available,Points de crédit disponibles
3
+ Minimum credit points required to redeem,points de crédit minimum requis pour racheter
4
+ You do not have sufficient credit points,Vous ne disposez pas de points de crédit suffisantes
5
+ Slide to redeem your credit points,Faites glisser pour échanger vos points de crédit
6
+ Use maximum,utilisation maximale
7
+ Updating cart information...,Mise à jour de l'information de la carte ...
8
+ Credit Points Information,Points de crédit d'information
9
+ Your Credit Points,Vos points de crédit
10
+ Points,Points
11
+ Points/Currency Exchange Rate,Points / Taux de change
12
+ Order #,Commande #
13
+ Date,Date
14
+ Points Redeemed,Points rachetées
15
+ Points Price,Points Prix
16
+ Points Earned,Points gagnés
17
+ Back,Arrière
18
+ Credit Points,Points de crédit
19
+ Credit Points Tab,Points de crédit Tab
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ei_creditpoint</name>
4
- <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Credit points for Customers</summary>
10
  <description>The Customer Credit points module allows customer to earn points while they shop at your store. The earned points can be redeem on cart page. The more they shop, the more they earn points.</description>
11
- <notes>Credit Points for Customers</notes>
12
  <authors><author><name>Vikram</name><user>Purohit</user><email>vikram.purohit@einfochips.com</email></author></authors>
13
- <date>2015-09-25</date>
14
- <time>07:10:30</time>
15
- <contents><target name="magecommunity"><dir name="Ei"><dir name="Creditpoint"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Orderoptions.php" hash="385602f3f9db18e649c5c218d7f093d8"/></dir></dir></dir></dir></dir><dir name="Block"><dir name="Adminhtml"><dir name="Customer"><dir name="Edit"><dir name="Tab"><file name="Creditpoint.php" hash="b515b9976fcb79d7a1f90d5872e58643"/></dir></dir></dir></dir><file name="Creditpoint.php" hash="9774c56ca6539f887b9ff595edc836c1"/><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="48c5a2befa763c883098bbeabfa9e5c7"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="f3f1844d9db3c9c75c5df42bec13dd8f"/></dir><dir name="Model"><file name="Creditpoint.php" hash="487997bbdd06df8bcf2fb0acee9a0a86"/><dir name="Mysql4"><dir name="Creditpoint"><file name="Collection.php" hash="bc0c833c9e8b66a3abe6ff2b2bed928d"/></dir><file name="Creditpoint.php" hash="aeb12f97990677204a06b33bfbd0a815"/></dir><file name="Observer.php" hash="d22cfc0e940ef4821111d604ee72e759"/><dir name="Sales"><dir name="Order"><dir name="Total"><dir name="Creditmemo"><file name="Creditpoint.php" hash="9d7162741d9db0a3c8047b95e9902688"/></dir><dir name="Invoice"><file name="Creditpoint.php" hash="1344f244d6358e53b69bb5483c2999e3"/></dir></dir></dir><dir name="Pdf"><file name="Creditpoint.php" hash="6582b18d709d887cf29329fdf401411f"/></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Creditpoint.php" hash="5061f55386b6febeee618a3ce388ce19"/></dir></dir></dir></dir></dir><dir name="RW"><dir name="Adminhtml"><dir name="Block"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="156e60a3964173aef4dc93697a3214a1"/></dir><dir name="Invoice"><file name="Totals.php" hash="a54a18f86bbad6d9c8aef8210de98717"/></dir><file name="Totals.php" hash="512f1b58a6934bfc40c8bb7d3ca4022b"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="CreditpointController.php" hash="3ba7494e74744230e4a24f76e8029fb2"/></dir><dir name="etc"><file name="adminhtml.xml" hash="7ac9642f795ddb29b07cc8c6c4e44e9e"/><file name="config.xml" hash="e131c89a942b3dd186f170e2b7ab42d9"/><file name="system.xml" hash="e551ba3bffc0edd1581911d44e85ae6f"/></dir><dir name="sql"><dir name="creditpoint_setup"><file name="mysql4-install-1.0.0.php" hash="880d0ab0ea17e21171eeba6cff9c2f8b"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="111a8005b6307bdef71131d0a919b9bd"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="ei"><file name="creditpoint.xml" hash="06142043ad10531c00e17fcc55dcecb7"/></dir></dir><dir name="template"><dir name="ei"><dir name="creditpoint"><file name="creditpoint.phtml" hash="5810d17566b9ce44af1349e67711d14d"/><dir name="sales"><dir name="order"><file name="refunded.phtml" hash="5810d17566b9ce44af1349e67711d14d"/><file name="total.phtml" hash="5810d17566b9ce44af1349e67711d14d"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="ei"><file name="creditpoint.xml" hash="3badb8166a25afedcfd7e218605d2ac2"/></dir></dir><dir name="template"><dir name="ei"><dir name="creditpoint"><dir name="checkout"><dir name="cart"><file name="creditpoint_cart.phtml" hash="3af89a2def887566f52bf7a01a0f168f"/></dir></dir><file name="creditpoint.phtml" hash="50c343c34a9fe6cd39b037b7797a169e"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ei_Creditpoint.xml" hash="ca3ddeca79bebf390ecae5ba99a02c72"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="ei"><dir name="creditpoint"><file name="creditpoint.slider.css" hash="3c907174a54c63cb47b3486c78217d29"/></dir></dir></dir><dir name="images"><dir name="ei"><dir name="creditpoint"><file name="minus_hover.png" hash="06f8452db0980deb8f57f2e97fb0a257"/><file name="minus_normal.png" hash="0cc17a65b2f6a5c614b4419ec0375a64"/><file name="plus_hover.png" hash="dc064edecd293e76d77ddd59808c683d"/><file name="plus_normal.png" hash="8c50b00bb07fefe1657d764e919507a1"/><file name="slider_bg.png" hash="908d2cbcdfcb0b4c14cab815586bd1ba"/><file name="slider_circle.png" hash="b5e94f294cbd961db5e2f697e381a484"/></dir></dir></dir><dir name="js"><dir name="ei"><dir name="creditpoint"><file name="creditpoint.slider.js" hash="a515dcefcead733829f6a55bddebe914"/></dir></dir></dir></dir></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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ei_creditpoint</name>
4
+ <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Credit points for Customers</summary>
10
  <description>The Customer Credit points module allows customer to earn points while they shop at your store. The earned points can be redeem on cart page. The more they shop, the more they earn points.</description>
11
+ <notes>Credit points for Customers</notes>
12
  <authors><author><name>Vikram</name><user>Purohit</user><email>vikram.purohit@einfochips.com</email></author></authors>
13
+ <date>2016-03-09</date>
14
+ <time>09:32:22</time>
15
+ <contents><target name="magecommunity"><dir name="Ei"><dir name="Creditpoint"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Orderoptions.php" hash="385602f3f9db18e649c5c218d7f093d8"/></dir></dir></dir></dir></dir><dir name="Block"><dir name="Adminhtml"><dir name="Customer"><dir name="Edit"><dir name="Tab"><file name="Creditpoint.php" hash="b515b9976fcb79d7a1f90d5872e58643"/></dir></dir></dir></dir><file name="Creditpoint.php" hash="9774c56ca6539f887b9ff595edc836c1"/><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="48c5a2befa763c883098bbeabfa9e5c7"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="f3f1844d9db3c9c75c5df42bec13dd8f"/></dir><dir name="Model"><file name="Creditpoint.php" hash="487997bbdd06df8bcf2fb0acee9a0a86"/><dir name="Mysql4"><dir name="Creditpoint"><file name="Collection.php" hash="bc0c833c9e8b66a3abe6ff2b2bed928d"/></dir><file name="Creditpoint.php" hash="aeb12f97990677204a06b33bfbd0a815"/></dir><file name="Observer.php" hash="0cfede4a65bb1a0212a95a1dbf715056"/><dir name="Sales"><dir name="Order"><dir name="Total"><dir name="Creditmemo"><file name="Creditpoint.php" hash="9d7162741d9db0a3c8047b95e9902688"/></dir><dir name="Invoice"><file name="Creditpoint.php" hash="1344f244d6358e53b69bb5483c2999e3"/></dir></dir></dir><dir name="Pdf"><file name="Creditpoint.php" hash="6582b18d709d887cf29329fdf401411f"/></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Creditpoint.php" hash="bcee3ca6b39e77b382456bd2ad4cfdca"/></dir></dir></dir></dir></dir><dir name="RW"><dir name="Adminhtml"><dir name="Block"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="156e60a3964173aef4dc93697a3214a1"/></dir><dir name="Invoice"><file name="Totals.php" hash="a54a18f86bbad6d9c8aef8210de98717"/></dir><file name="Totals.php" hash="512f1b58a6934bfc40c8bb7d3ca4022b"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="CreditpointController.php" hash="84adbd5dfcd4d786c4d50d3904c41bf9"/></dir><dir name="etc"><file name="adminhtml.xml" hash="7ac9642f795ddb29b07cc8c6c4e44e9e"/><file name="config.xml" hash="e59e728307f44e2532c84af365f2046d"/><file name="system.xml" hash="e551ba3bffc0edd1581911d44e85ae6f"/></dir><dir name="sql"><dir name="creditpoint_setup"><file name="mysql4-install-1.0.0.php" hash="880d0ab0ea17e21171eeba6cff9c2f8b"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="111a8005b6307bdef71131d0a919b9bd"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="ei"><file name="creditpoint.xml" hash="06142043ad10531c00e17fcc55dcecb7"/></dir></dir><dir name="template"><dir name="ei"><dir name="creditpoint"><file name="creditpoint.phtml" hash="8e707a5646fbc0f2407fb4d99c934026"/><dir name="sales"><dir name="order"><file name="refunded.phtml" hash="8e707a5646fbc0f2407fb4d99c934026"/><file name="total.phtml" hash="8e707a5646fbc0f2407fb4d99c934026"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="ei"><file name="creditpoint.xml" hash="3badb8166a25afedcfd7e218605d2ac2"/></dir></dir><dir name="template"><dir name="ei"><dir name="creditpoint"><dir name="checkout"><dir name="cart"><file name="creditpoint_cart.phtml" hash="f4f1b9adbed79b01b371c16868aedd1b"/></dir></dir><file name="creditpoint.phtml" hash="50c343c34a9fe6cd39b037b7797a169e"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ei_Creditpoint.xml" hash="ca3ddeca79bebf390ecae5ba99a02c72"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="ei"><dir name="creditpoint"><file name="creditpoint.slider.css" hash="42352cdd0f511546a94a714c48e22641"/></dir></dir></dir><dir name="images"><dir name="ei"><dir name="creditpoint"><file name="loading.gif" hash="00ef871b291bc03a497d608a5bd8ec99"/><file name="minus_hover.png" hash="06f8452db0980deb8f57f2e97fb0a257"/><file name="minus_normal.png" hash="0cc17a65b2f6a5c614b4419ec0375a64"/><file name="plus_hover.png" hash="dc064edecd293e76d77ddd59808c683d"/><file name="plus_normal.png" hash="8c50b00bb07fefe1657d764e919507a1"/><file name="slider_bg.png" hash="908d2cbcdfcb0b4c14cab815586bd1ba"/><file name="slider_circle.png" hash="b5e94f294cbd961db5e2f697e381a484"/></dir></dir></dir><dir name="js"><dir name="ei"><dir name="creditpoint"><file name="creditpoint.slider.js" hash="a515dcefcead733829f6a55bddebe914"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Ei_Creditpoint.csv" hash="57e895d7f6acc88ca2ac054cedc64bba"/></dir><dir name="fr_FR"><file name="Ei_Creditpoint.csv" hash="5247803158b677a6d1afc130d12f141f"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
skin/frontend/base/default/css/ei/creditpoint/creditpoint.slider.css CHANGED
@@ -47,4 +47,9 @@
47
  padding-right: 6px;
48
  position: relative;
49
  min-height: 10px;
 
 
 
 
 
50
  }
47
  padding-right: 6px;
48
  position: relative;
49
  min-height: 10px;
50
+ }
51
+
52
+ .ei_creditpoint_loading{
53
+ background: url("../../../images/ei/creditpoint/loading.gif") no-repeat scroll 0 0 transparent;
54
+ padding-right:25px;
55
  }
skin/frontend/base/default/images/ei/creditpoint/loading.gif ADDED
Binary file