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

Reward Points Module for ZC v13x

Locked

Views: 470,586

Results 2,061 to 2,080 of 2,476
This thread is locked. New replies are disabled.
5 Jun 2012, 11:43 PM
#2061
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Reward Points Module for ZC v13x

Limitless:

I've got the rewards system installed and enabled and its working great, but I would like to modify the 'XXX reward points' that displays on the product info page.

I would like to make the rewards points text a hyperlink to the EZ page that I have set up explaining how the rewards point system works instead of having the customers scroll down to the footer to click the link.

Possible? Code snippet would be wonderful!

Thanks!
Here is what I added to my tpl_product_info_display.php file:

<!--bof Product Reward Points block --> 
<p style="font-size:1em;">Earn <?php /** * display the product reward points */ include($template->get_template_dir('/tpl_product_reward_points.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_product_reward_points.php'); ?> for this purchase!</p>
<!--eof Product Reward Points block -->

I added it right after this code, but this code may be altered from the original--I can't remember:

<h2 id="productPrices" class="productGeneral">
<?php
// base price
  if ($show_onetime_charges_description == 'true') {
    $one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />';
  } else {
    $one_time = '';
  }
  echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']);
?></h2>

And in includes/languages/english/extra_definitions/custom/reward_points.php I have this:

Line #3 : define('PRODUCT_REWARD_POINT_TAG', '<a href="/index.php?main_page=points">reward points</a>'); 
6 Jun 2012, 4:14 AM
#2062
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

WebKat:

And in includes/languages/english/extra_definitions/custom/reward_points.php I have this:

Line #3 : define('PRODUCT_REWARD_POINT_TAG', '<a href="/index.php?main_page=points">reward points</a>');


I think that was the bit I was missing.
7 Jun 2012, 1:41 PM
#2063
iris_karen avatar

iris_karen

New Zenner

Join Date:
May 2012
Location:
Melbourne, Australia
Posts:
15
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

countrycharm:

This is how Reward Points suppose to work out of the box. I don't use Shipworks so I can't help you there. I guess you can hire someone to get it to work with Shipworks. No plans in the near future to make it work with Reward Points.

It's not just Shipworks that is doing this. We are having an issue with the Paymate module as well. The orders return fine & update from "Pending" to "Delivered" however the Reward points are not updating & stay in Pending.

We run a download based store, so the more automated the better as we are wanting to focus more on customer service & support than manually updating orders all day.

2: I have noticed that the rewards points either round up, or down and that they only are able to be cashed in $5 amounts. So, I earnt 25 points, I received 50 points, my new total is now 1275 points, however I can only cash out at $10 not $12.75. Is this a built in feature, or is this something we have overlooked in the setup?

I would also like to see in the future a reward point history that the customers can view in their account. We are offering a promotion to earn reward points, I wouldn't feel right about it if we couldn't notify the customer or have them at least see an account history.

The points system is a good system.

Cheers.

IRIS - Karen
https://www.irissimulations.com/cart

7 Jun 2012, 3:44 PM
#2064
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Reward Points Module for ZC v13x

iris - karen:

It's not just Shipworks that is doing this. We are having an issue with the Paymate module as well. The orders return fine & update from "Pending" to "Delivered" however the Reward points are not updating & stay in Pending.

We run a download based store, so the more automated the better as we are wanting to focus more on customer service & support than manually updating orders all day.

2: I have noticed that the rewards points either round up, or down and that they only are able to be cashed in $5 amounts. So, I earnt 25 points, I received 50 points, my new total is now 1275 points, however I can only cash out at $10 not $12.75. Is this a built in feature, or is this something we have overlooked in the setup?

I would also like to see in the future a reward point history that the customers can view in their account. We are offering a promotion to earn reward points, I wouldn't feel right about it if we couldn't notify the customer or have them at least see an account history.

The points system is a good system.

Cheers.

IRIS - Karen
www.irissimulations.com/cart

It's not just Shipworks that is doing this. We are having an issue with the Paymate module as well. The orders return fine & update from "Pending" to "Delivered" however the Reward points are not updating & stay in Pending.
Go to your admim/configuration/Reward Points, set the Reward Point Status Track to advance,
and tick the Delivered: box to earned and see what happens. You have to play with different combination to see what will work and what doesn't work for you.

2: I have noticed that the rewards points either round up, or down and that they only are able to be cashed in $5 amounts. So, I earnt 25 points, I received 50 points, my new total is now 1275 points, however I can only cash out at $10 not $12.75. Is this a built in feature, or is this something we have overlooked in the setup?
go to your admim/configuration/Reward Points, and set the Reward Point Redeem Minimum, and the Reward Point Redeem Maximum of earned points that can be redeemed against a single order.

Go to Modules/order total Reward Points set the Point Redeem Method.
Select how the customer redeems their points:
Automatic will select all Reward Points earned by the customer.
Manual will allow the customer to enter a number of points to redeem.
In both cases the total number allowed to redeem is capped by the order total and the 'Reward Point Redeem Maximum' configuration setting.

I would also like to see in the future a reward point history that the customers can view in their account. We are offering a promotion to earn reward points, I wouldn't feel right about it if we couldn't notify the customer or have them at least see an account history.

The customer has that feature now. Every order they purchase they can see it from there account. It shows the Reward Point history of how many Reward Points they earned with each order they purchase.

22 Jun 2012, 1:57 AM
#2065
iris_karen avatar

iris_karen

New Zenner

Join Date:
May 2012
Location:
Melbourne, Australia
Posts:
15
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

countrycharm:

go to your admim/configuration/Reward Points, and set the Reward Point Redeem Minimum, and the Reward Point Redeem Maximum of earned points that can be redeemed against a single order.
Cheers :D Worked

Go to Modules/order total Reward Points set the Point Redeem Method.
Select how the customer redeems their points:
Automatic will select all Reward Points earned by the customer.
Manual will allow the customer to enter a number of points to redeem.
In both cases the total number allowed to redeem is capped by the order total and the 'Reward Point Redeem Maximum' configuration setting.
I like it! Works great - +1 cookie!

The customer has that feature now. Every order they purchase they can see it from there account. It shows the Reward Point history of how many Reward Points they earned with each order they purchase.
But there's no summary page or a way to show if an admin has added to their account. Is there a way to get the mod to do it? Like a banking statement?

I'm still having issues with the manual/automatic settings nothing seems to work. We're moving servers next week, i'll try a fresh installation and put through some fake orders and see if it was a conflict somewhere.

Thanks for your help!
~K

22 Jun 2012, 5:58 PM
#2066
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Reward Points Module for ZC v13x

iris - karen:

Cheers :D Worked

I like it! Works great - +1 cookie!

But there's no summary page or a way to show if an admin has added to their account. Is there a way to get the mod to do it? Like a banking statement?

I'm still having issues with the manual/automatic settings nothing seems to work. We're moving servers next week, i'll try a fresh installation and put through some fake orders and see if it was a conflict somewhere.

Thanks for your help!
~K

But there's no summary page or a way to show if an admin has added to their account. Is there a way to get the mod to do it? Like a banking statement?

When you add Reward Points to one of your customers accounts send them and email letting them know. There is no plan of creating additional summary page for that. You could always hire someone to do it for you if you need that feature.

I'm still having issues with the manual/automatic settings nothing seems to work. We're moving servers next week, i'll try a fresh installation and put through some fake orders and see if it was a conflict somewhere.

Yes I would try it out on a clean install to see if it will work for you. I always install modules on a test site to get them to work like I want them to before I install them to a live site, that way you know always know if they will work or not.

30 Jun 2012, 7:03 AM
#2067
soel05 avatar

soel05

New Zenner

Join Date:
Mar 2011
Posts:
14
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

I see no way for customer to redeem their points earned. :(

Please could someone help me? I am using 2 payment methods (PayPal and FreeCharge) there is no place to input points if a customer wishes to use them.

Everything else is perfect!

1 Jul 2012, 3:06 PM
#2068
soel05 avatar

soel05

New Zenner

Join Date:
Mar 2011
Posts:
14
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

SoEl05:

I see no way for customer to redeem their points earned. :(

Please could someone help me? I am using 2 payment methods (PayPal and FreeCharge) there is no place to input points if a customer wishes to use them.

Everything else is perfect!

Okay I figured it out, it was simple oversight but will leave my fix for anyone with similar issue.

1st I double checked all files installed. Then I went to Admin --> Modules ---> Order Total.

I needed to turn on Reward Points. I then set this to manual. Problem solved!

I would like to re-write the wording shown in the box on the checkout page so if anyone knows which file I need to change I would sure appreciate it!!

6 Jul 2012, 10:51 AM
#2069
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Same taxe problem here :

Sub-Total: ...................................11.00
Group Discount 10% : ..................-$1.10
Value of Redeemed Reward Points:    0.27
Forida TAX 7.0%:..........................$0.69

Total:..........................................$10.32

Tax is 0.69 for 7% which means is has been calculated on 9.9 which is 11-10%=9.9.
Tax has to be calculated on (11-10%-0.27)= 9.63 x7%= $0.67.

Adding a rule in the Advanced rules does not soved the problem, the rules are applied for points calculation, so it affects on which total the points are earned but not how the redeemed amount is in the order total modules.

I also played with the sort order in the order total modules, but it doesn't modify anything.

As this have been said somewhere before in the thread, the configuration has to get a setting so that it can do the good calculation.

This mod is great, it's sad if we cannot use it because of this little but blocking mystake.

Hubert

8 Jul 2012, 6:36 AM
#2070
billyboyle avatar

billyboyle

Zen Follower

Join Date:
Jul 2011
Location:
Glasgow, Scotland
Posts:
115
Plugin Contributions:
1

Re: Reward Points Module for ZC v13x

SoEl05:

I would like to re-write the wording shown in the box on the checkout page so if anyone knows which file I need to change I would sure appreciate it!!

use the developer tools in the admin area put the text you'd like to find in the bottom row first box. Catalogue selected in the drop down list and php only in the next. Then follow the file paths shown at the top.

9 Jul 2012, 1:46 PM
#2071
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

regarding the tax problem
(#2068 just two lines before)

I think reward points module have to get an "Include Tax" and "Re-calculate tax" settings as to_coupon.php has.

Can someone tell us if adding these keys in the configuration table would be enough so that a order total function from the default install would see it and do the calculation ?

12 Jul 2012, 9:42 PM
#2072
coins2012 avatar

coins2012

New Zenner

Join Date:
Jan 2012
Posts:
89
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

I would appreciate if someone could clarify this feature:

Delete Old Reward Transactions Period
Set the age (in days) to keep the reward point transactions. Outstanding reward points pending after this period will be lost. Set to 0 to keep all transactions.

Is this mean that any points that are earned will not be deleted no matter what? I setup this module using Sunrise Period of 1 so pending points become earned the next day but I like these earned points to be deleted after 30 days but looks like the system doesn't delete earned points?

Below is my setup and any input would be appreciated.

[Attachment no longer available]

13 Jul 2012, 1:07 AM
#2073
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

OK, noone answering my tax question but many people seems to use this module.

So can you please answer, don't you have tax in your Order Total ?
Don't you notice that tax are not well calculated and if they are right please can you explain me your setup so that I get the tax calculated on Sub-Total less reward points redeemed ?

I must be missing something, no ?

Thanks for your help

Hubert

13 Jul 2012, 7:54 PM
#2074
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Reward Points Module for ZC v13x

hubert:

OK, noone answering my tax question but many people seems to use this module.

So can you please answer, don't you have tax in your Order Total ?
Don't you notice that tax are not well calculated and if they are right please can you explain me your setup so that I get the tax calculated on Sub-Total less reward points redeemed ?

I must be missing something, no ?

Thanks for your help

Hubert

When folks don't answer it may very well mean they don't have an answer to give.. did you search the support thread to see if there is an answer posted already?? (use the thread search to search this thread vs the forum search)

14 Jul 2012, 12:57 AM
#2075
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

DivaVocals:

When folks don't answer it may very well mean they don't have an answer to give.. did you search the support thread to see if there is an answer posted already?? (use the thread search to search this thread vs the forum search)

Of course I did, and the only thing I see is another question like mine with no answer.
Such a great module with so many features with this little (but blocking) mistake seems incredible.

I can't believe other people are using it with a miscalculation in the taxes in order total neither believe so many people are using Zen Cart without tax calculation.

So there was not enough questions and answers to make me sure of either I'm missing something or the error is there and cannot be circumvented.

14 Jul 2012, 1:16 AM
#2076
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Reward Points Module for ZC v13x

hubert:

Of course I did, and the only thing I see is another question like mine with no answer.
Such a great module with so many features with this little (but blocking) mistake seems incredible.

I can't believe other people are using it with a miscalculation in the taxes in order total neither believe so many people are using Zen Cart without tax calculation.

So there was not enough questions and answers to make me sure of either I'm missing something or the error is there and cannot be circumvented.It is entirely possible that this module could have such an error with no resolution (especially since the original author is no longer actively maintaining this add-on), and it's also entirely possible that people have just decided to live with it.. It's also possible that those who have the answer are just not sharing.. shrugs My suggestion is that if the feature/fix is important to you that perhaps you might want to consider paying a developer to make the required changes for you..

14 Jul 2012, 1:45 AM
#2077
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hubert:

Same taxe problem here :

Sub-Total: ...................................11.00
Group Discount 10% : ..................-$1.10
Value of Redeemed Reward Points: 0.27
Forida TAX 7.0%:..........................$0.69

Total:..........................................$10.32

> 
> Tax is 0.69 for 7% which means is has been calculated on 9.9 which is 11-10%=9.9.
> Tax has to be calculated on (11-10%-0.27)= 9.63   x7%= $0.67.
> 
> Adding a rule in the Advanced rules does not soved the problem, the rules are applied for points calculation, so it affects on which total the points are earned but not how the redeemed amount is in the order total modules.
> 
> I also played with the sort order in the order total modules, but it doesn't modify anything.
> 
> As this have been said somewhere before in the thread, the configuration has to get a setting so that it can do the good calculation.
> 
> This mod is great, it's sad if we cannot use it because of this little but blocking mystake.
> 
> HubertDisclaimer...  I have never used this mod....

However it looks like it is behaving like a "payment" module rather than an "order total" module.
Much like coupons are an order total module.
and gift vouchers are a payment module.

Order total modules can calculate before taxes.
But Payment modules have to process AFTER taxes are calculated.

Comparing the differences between order total and payment modules may shed some light on this for you.
16 Jul 2012, 8:04 PM
#2078
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

However it looks like it is behaving like a "payment" module rather than an "order total" module.
Much like coupons are an order total module.
and gift vouchers are a payment module.

Order total modules can calculate before taxes.
But Payment modules have to process AFTER taxes are calculated.

Thanks, perhaps I misplaced some files, I'll verify. Thanks you for the clue.

Hubert

16 Jul 2012, 8:16 PM
#2079
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hubert:

Thanks, perhaps I misplaced some files, I'll verify. Thanks you for the clue.

Hubert

No misplaced files, this module is an Order Total one, all files are ot_.
I'll have do dig into PHP files to see how to add tax calculation option, but I'm not sure to succeed as I'm not a PHP coder.

Thank you very much for taking care of my question.

Hubert

17 Jul 2012, 6:14 PM
#2080
coins2012 avatar

coins2012

New Zenner

Join Date:
Jan 2012
Posts:
89
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Any replies to post 2071 would be appreciated, trying to figure out if it's possible for the earned points to expire within the time limit set in the settings.

Thanx,