Zen Cart Logo
Forums / All Other Contributions/Addons / Reward Points Module for ZC v13x

Reward Points Module for ZC v13x

Locked

Views: 470,587

Results 2,081 to 2,100 of 2,476
This thread is locked. New replies are disabled.
18 Jul 2012, 11:08 PM
#2081
neparker avatar

neparker

New Zenner

Join Date:
Apr 2009
Posts:
79
Plugin Contributions:
0

Reward Points Module for ZC v13x

I keep reading and maybe it's because I've been on so long, I have it set it so every dollar spent = 1 point but how do I make it so every 15 points redeemed can equal $1.00. Can someone please advise. I'm sure I'm just thinking too much.

Also, did anyone figure out how to make it to it doesn't round up at all? So if they purchase something for $4.99 it only gives them 4 points not 5? Even if they purchase something for $4.75 it rounds up. And if it's $4.49 or down it's 4 points.

18 Jul 2012, 11:16 PM
#2082
neparker avatar

neparker

New Zenner

Join Date:
Apr 2009
Posts:
79
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Sorry, also, I see a .sql file called prep_IPN_RP_orders.sql what is this for?
Does this work with Paypal IPN yet?

23 Jul 2012, 4:17 PM
#2083
schobook avatar

schobook

New Zenner

Join Date:
Jul 2012
Posts:
52
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Does anyone know where I go to enter an expiration date for reward points? I want them to expire 1 year after they have been earned.

Thank you,

23 Jul 2012, 5:29 PM
#2084
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Configuration > Reward Points > Delete Old Reward Transactions Period (set it to 365).

23 Jul 2012, 5:51 PM
#2085
schobook avatar

schobook

New Zenner

Join Date:
Jul 2012
Posts:
52
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Athens Collectibles:

Configuration > Reward Points > Delete Old Reward Transactions Period (set it to 365).

Thank you.

31 Jul 2012, 12:36 PM
#2086
memorydave avatar

memorydave

New Zenner

Join Date:
Apr 2012
Posts:
24
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

reward points tag.

I have a problem, my reward points in the product listing and side boxes and everywhere else is showing as "PRODUCT_REWARD_POINT_TAG" etc.

Not as it should be doing.

I have searched this thread and I have found others who had the same problem got it solved by making sure they had uploaded the files to the correct place. But all the threads are years old and are for older version. But I have tried and it still doesnt work.

The site is Mazda Bongo

Obviously I am using a theme, so im wondering if thats the problem

31 Jul 2012, 1:36 PM
#2087
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Does anybody know how to disable the reward points box for Group Discount customers on the checkout page?

These customers are already getting a large discount and we don't want to give them reward points on top of that.

31 Jul 2012, 1:44 PM
#2088
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Reward Points Module for ZC v13x

memorydave:

reward points tag.

I have a problem, my reward points in the product listing and side boxes and everywhere else is showing as "PRODUCT_REWARD_POINT_TAG" etc.

Not as it should be doing.

I have searched this thread and I have found others who had the same problem got it solved by making sure they had uploaded the files to the correct place. But all the threads are years old and are for older version. But I have tried and it still doesnt work.

The site is Mazda Bongo

Obviously I am using a theme, so im wondering if thats the problem

This is cause by not uploading the files in the right place or all the file didn't upload. In any case the error you are having is cause by the extra_definitions/reward_points file not being found or is in the wrong place. To correct the problem make sure the Reward Points custom template folder is name to whatever template name you are using.
includes/languages/english/extra_definitions/your_template**/reward_points.php**

31 Jul 2012, 2:18 PM
#2089
memorydave avatar

memorydave

New Zenner

Join Date:
Apr 2012
Posts:
24
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

countrycharm:

This is cause by not uploading the files in the right place or all the file didn't upload. In any case the error you are having is cause by the extra_definitions/reward_points file not being found or is in the wrong place. To correct the problem make sure the Reward Points custom template folder is name to whatever template name you are using.
includes/languages/english/extra_definitions/your_template**/reward_points.php**

OK great. My theme is called /theme185/. Now inside the /extra_definitions/ folder there are only two folders. One is called "custom" and one is called "classic" Do I need to rename the "custom" folder (where reward_points.php is located along with one other file called "IncExTaxMod_defines.php") to "theme185" or do I need to make a new folder called "theme185" and upload it to this new folder?

31 Jul 2012, 3:14 PM
#2090
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Reward Points Module for ZC v13x

memorydave:

OK great. My theme is called /theme185/. Now inside the /extra_definitions/ folder there are only two folders. One is called "custom" and one is called "classic" Do I need to rename the "custom" folder (where reward_points.php is located along with one other file called "IncExTaxMod_defines.php") to "theme185" or do I need to make a new folder called "theme185" and upload it to this new folder?

You need to create a folder within the extra_definitions/ folder named theme185 and put the files in there. Any time you install a module and you see a custom folder, a your_template folder change the name to whatever your theme folder is named. Same with the admin folder.

31 Jul 2012, 3:21 PM
#2091
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Reward Points Module for ZC v13x

swamyg1:

Does anybody know how to disable the reward points box for Group Discount customers on the checkout page?

These customers are already getting a large discount and we don't want to give them reward points on top of that.
You will have to uninstall it in admin/modules/order total/reward points.

31 Jul 2012, 3:57 PM
#2092
memorydave avatar

memorydave

New Zenner

Join Date:
Apr 2012
Posts:
24
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

countrycharm:

You need to create a folder within the extra_definitions/ folder named theme185 and put the files in there. Any time you install a module and you see a custom folder, a your_template folder change the name to whatever your theme folder is named. Same with the admin folder.

Again thank you for taking the time to help me. It is very much appreciated

31 Jul 2012, 4:53 PM
#2093
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Reward Points Module for ZC v13x

memorydave:

Again thank you for taking the time to help me. It is very much appreciated

Your very welcome. I assume that fixed it for you. You didn't mention if it did. If it did just say so, so the next time someone else has this same problem they will know what to do.

1 Aug 2012, 2:03 PM
#2094
cli12 avatar

cli12

New Zenner

Join Date:
Jul 2012
Posts:
2
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hi how do i get my reward points to not round up if anything i need to round down to the nearest pound.
we are giving 0.02p for every point earned, £1 = 1 point.

1 Aug 2012, 5:17 PM
#2095
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

I think my question may have been overlooked.

I'd like to know if there's a way to exclude group discount customers from using their reward points, or disabling reward points for these customers completely. I would appreciate any help with this if possible.

1 Aug 2012, 5:47 PM
#2096
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Reward Points Module for ZC v13x

cli12:

hi how do i get my reward points to not round up if anything i need to round down to the nearest pound.
we are giving 0.02p for every point earned, £1 = 1 point.

Go to admin/configurations/Reward Points config/ Reward Point Rounding and change the value from 0.0 to 0.75 and click update.

1 Aug 2012, 5:49 PM
#2097
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Reward Points Module for ZC v13x

swamyg1:

I think my question may have been overlooked.

I'd like to know if there's a way to exclude group discount customers from using their reward points, or disabling reward points for these customers completely. I would appreciate any help with this if possible.

If you would look back one page you will see that I did indeed answer your question..

10 Aug 2012, 8:19 PM
#2098
curt_l avatar

curt_l

New Zenner

Join Date:
Dec 2007
Posts:
12
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

to get the points to show up as just a number instead of $400.00 , i used the following code edit in super_orders.php

change:

<?php 
	for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
	  echo ' <tr>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Text">' . $order->totals[$i]['title'] . '</td>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
' </tr>' . "\n";
	}

to:

<?php 
	for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
		if ($order->totals[$i]['class'] == 'ot_reward_points_display') {
        	$display_title = $order->totals[$i]['title'];
		$display_text = substr(ltrim($order->totals[$i]['text'],"$"),0,-3);
      }
      else {
                $display_title = $order->totals[$i]['title'];
		$display_text = $order->totals[$i]['text'];
      }		
		
echo ' <tr>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Text">' . $display_title . '</td>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $display_text . '</td>' . "\n" .
' </tr>' . "\n";
	}

One issue I still have though: when I 'Edit Order Totals' and change the Reward Points Earned, it changes in Super Orders but the actual amount awarded in RPM doesn't change. Any ideas?

10 Aug 2012, 8:33 PM
#2099
curt_l avatar

curt_l

New Zenner

Join Date:
Dec 2007
Posts:
12
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

I also have Super Orders and Edit Orders installed, and wanted the Reward Points to transfer from Pending to Earned when the order is paid (Complete). I don't use batch updating, so my workaround is just when the order is updated in Super Orders, check the status and run the appropriate Reward Points function.

In super_order.php, under case 'update_order': , after this:

// OK, we have our Customer Notified Status Number, now update the Order Status History Table       
          update_status($oID, $status, $customer_notified, $comments);
// Is the Customer Notified Status Number a 1, then send the customer and E-Mail with the status update.          
          if ($customer_notified == '1') {
            email_latest_status($oID);
          }

I added this:

if(($check_status->fields['orders_status'] < 5 && $status == 5)){
          //if previous status was Pending, Shipped, or Returned AND new status is Complete/Paid
          TransferCustomerPointsFromPending($oID);
          $messageStack->add_session('Pending points transferred for Order ' . $oID , 'success');
}
if(($check_status->fields['orders_status'] == 5 && $status < 5)){
	  //if previous status was Complete Paid AND new status is Pending, Shipped, or Returned
	  //take back the points if somehow they un-pay 
	  TransferCustomerPointsToPending($oID);
	  $messageStack->add_session('Earned points transferred back to Pending for Order ' . $oID , 'success');
}
10 Aug 2012, 8:37 PM
#2100
curt_l avatar

curt_l

New Zenner

Join Date:
Dec 2007
Posts:
12
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Does anyone have a report already written to show Points Redeemed per customer over time? (Just looking for a way to track how much $ we're "giving away".)

Thanks all in advance!