Forums / All Other Contributions/Addons / Reward Point Mod beta now available

Reward Point Mod beta now available

Views: 56,815

Results 101 to 120 of 323
7 Mar 2008, 5:36 AM
#101
jc67 avatar

jc67

New Zenner

Join Date:
Jan 2007
Posts:
49
Plugin Contributions:
0

Reward Point Mod beta now available

okay, I noticed something. I did a test:

Order

Qty Product price
2 test $149

                       **total:** $298.00

now in shopping cart it shows this:

$298.00
298 reward points with purchase

but in Reward Points sidebox, it says this:

149 reward points in cart
0 points earned

0 points pending

shouldn't it also say 298 reward points in cart?

not sure if has to do with my install or is a clitch. Anyone get else get the same problem?

Thanks

7 Mar 2008, 10:53 AM
#102
pinetreecandles avatar

pinetreecandles

Zen Follower

Join Date:
Feb 2008
Location:
West Virginia
Posts:
135
Plugin Contributions:
0

Re: Reward Point Mod beta now available

JC67:

okay, I noticed something. I did a test:

Order

Qty Product price
2 test $149

                       **total:** $298.00

now in shopping cart it shows this:

$298.00
298 reward points with purchase

but in Reward Points sidebox, it says this:

149 reward points in cart
0 points earned

0 points pending

shouldn't it also say 298 reward points in cart?

not sure if has to do with my install or is a clitch. Anyone get else get the same problem?

Thanks

Your right. I use the shopping cart box with the reward Points and it displays correctly. It's the box reward Point box that doesn't account for more than one of the same item. The code used to display both should be pretty close to the same. I will see if I can see something that can be fixed by me. If not, will have to wait for andy to do it.

I did notice something when I was doing some final testing. Here is what I did and the result:

I placed 10 different items in the cart. Each item was 4.75. Total for cart was 47.50. Total reward points was 50. I know how it got that since it rounded each item up. so each item was worth 5 points. I don't mind rounding the final total up but each item can lead to a rather large amount at the end of the day.

Say you have a fairly busy store and you sell 500 items in total at the end of the day. Say each sale gave an avg. of 1 point extra after rounding. Now you have given out 500 points free in one day. Over time that can really add up.

I really don't know how you could do it any other way though than andy has designed it. I guess you could do it on the subtotal of the cart, but then you would have to have a global ratio and not have varying ratios like you can have now.

Of course this works in reverse. If you have 10 items in your cart and each one is 4.25 your total is 42.50, but your earning 40 reward points. The customer doesn't mind the first scenario, but may wonder about the second one.

One way around this is make sure everything you give reward points on is within .05 cents either side of even. This way the change is not a big difference.

Just my thoughts.

Zen Cart: 1.3.8a
PHP: 5.2.4
MySQL: 5.0.45

Pine Tree Candles

7 Mar 2008, 11:00 AM
#103
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Point Mod beta now available

Sheesh- I have to go on the road for one day... :shocking:

Right- what questions do I need to answer???

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

7 Mar 2008, 11:56 AM
#104
pinetreecandles avatar

pinetreecandles

Zen Follower

Join Date:
Feb 2008
Location:
West Virginia
Posts:
135
Plugin Contributions:
0

Re: Reward Point Mod beta now available

Your right. I use the shopping cart box with the reward Points and it displays correctly. It's the reward Point sidebox that doesn't account for more than one of the same item. The code used to display both should be pretty close to the same. I will see if I can see something that can be fixed by me. If not, will have to wait for andy to do it.

Ok, I can see why the one in the cart displays correctly with multiples of the same item in the cart and the rewards sidebox doesn't, but I can't fix it. I tried, but I'm no coder so will have to wait for andy to do it.

Sheesh- I have to go on the road for one day...

Right- what questions do I need to answer???

lol...welcome back or good luck if your on your way.

Just a couple things we noticed while testing. I tried fixing one of them, but to no avail. Read my last post and you will get an idea on what we found.

Zen Cart: 1.3.8a
PHP: 5.2.4
MySQL: 5.0.45

Pine Tree Candles

7 Mar 2008, 2:53 PM
#105
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Point Mod beta now available

PTC- thanks to you and JC for covering while I was away. I'm back now.

I've attached an interim fix for the incorrect reward points problem. I'm currently coding the "Reward Point/Order State change" functionallity which will allow store admins to decide which of the Order Status's make reward points pending and which make reward points earned (and which to ignore- like "Update"). I've also coded in your "Remove Sidebox When Empty and/or Not Signed In"

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

7 Mar 2008, 5:07 PM
#106
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Reward Point Mod beta now available

Hem,

Have you checked this with Easy Sign Up and Login yet? Im thinking of reinstalling it again after all the updates you have made :)

Regards

7 Mar 2008, 5:15 PM
#107
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Point Mod beta now available

Berserker- I'm going to hold off until the mod comes out of beta. Plus I've got my hands pretty full at the mo so not really got any spare time trying to decode someone elses mod.

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

7 Mar 2008, 6:07 PM
#108
jc67 avatar

jc67

New Zenner

Join Date:
Jan 2007
Posts:
49
Plugin Contributions:
0

Re: Reward Point Mod beta now available

pinetreecandles:

Your right. I use the shopping cart box with the reward Points and it displays correctly. It's the box reward Point box that doesn't account for more than one of the same item. The code used to display both should be pretty close to the same. I will see if I can see something that can be fixed by me. If not, will have to wait for andy to do it.

I did notice something when I was doing some final testing. Here is what I did and the result:

I placed 10 different items in the cart. Each item was 4.75. Total for cart was 47.50. Total reward points was 50. I know how it got that since it rounded each item up. so each item was worth 5 points. I don't mind rounding the final total up but each item can lead to a rather large amount at the end of the day.

Say you have a fairly busy store and you sell 500 items in total at the end of the day. Say each sale gave an avg. of 1 point extra after rounding. Now you have given out 500 points free in one day. Over time that can really add up.

I really don't know how you could do it any other way though than andy has designed it. I guess you could do it on the subtotal of the cart, but then you would have to have a global ratio and not have varying ratios like you can have now.

Of course this works in reverse. If you have 10 items in your cart and each one is 4.25 your total is 42.50, but your earning 40 reward points. The customer doesn't mind the first scenario, but may wonder about the second one.

One way around this is make sure everything you give reward points on is within .05 cents either side of even. This way the change is not a big difference.

Just my thoughts.

Yeah I see your point. So another question, what about when they do redeem the points and you have to ship out the product. Anyone have any idea's on how to offset the cost, from a business prospective (since points really only monopoly money)? lol

for my i am thinking of just putting the points funds from the orders in an high interest savings, so when the points are redeem, it cost me nothing to ship.

example

5000 points = $50.00 in really dollars, well set aside in a high interest savings account.

any thoughts?

7 Mar 2008, 7:47 PM
#109
godowsky avatar

godowsky

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Re: Reward Point Mod beta now available

Hello. Very Nice mod. but i have a problem.. dont know how to exit also because none seems to have it. Everything is working but in the admin area i cant see the menu entry. At its place i see only after configuration:
BOX_REWARD_POINTS, 'link' => zen_href_link(ADMIN_FILENAME_REWARD_POINTS, '', 'NONSSL')); ?>
and there is no entry in catalog. I checked a lot of times and i placed all the files in the correct folder. any ideas? thanks

7 Mar 2008, 8:45 PM
#110
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Point Mod beta now available

JC67:

Yeah I see your point. So another question, what about when they do redeem the points and you have to ship out the product. Anyone have any idea's on how to offset the cost, from a business prospective (since points really only monopoly money)? lol

for my i am thinking of just putting the points funds from the orders in an high interest savings, so when the points are redeem, it cost me nothing to ship.

example

5000 points = $50.00 in really dollars, well set aside in a high interest savings account.

any thoughts?

Add a Config item which allows reward points only to be redeemed against other products and not shipping???

And I'll move the rounding to the final total rather than each item.

Finally there was an earlier question about what the reward points are based on- They are rewarded against the base price of any product so sales and specials are not currently taken into effect.

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

7 Mar 2008, 8:48 PM
#111
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Point Mod beta now available

Godowsky:

Hello. Very Nice mod. but i have a problem.. dont know how to exit also because none seems to have it. Everything is working but in the admin area i cant see the menu entry. At its place i see only after configuration:
BOX_REWARD_POINTS, 'link' => zen_href_link(ADMIN_FILENAME_REWARD_POINTS, '', 'NONSSL')); ?>
and there is no entry in catalog. I checked a lot of times and i placed all the files in the correct folder. any ideas? thanks

Check this file admin/includes/boxes/èxtra_boxes/reward_points_catalog_dhtml.php- it should read

<?
  $za_contents[] = array('text' => BOX_REWARD_POINTS, 'link' => zen_href_link(ADMIN_FILENAME_REWARD_POINTS, '', 'NONSSL'));
?>

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

7 Mar 2008, 8:56 PM
#112
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Point Mod beta now available

Ignore previous post- the edit didn't work

hem:

Check this file admin/includes/boxes/èxtra_boxes/reward_points_catalog_dhtml.php- it should read

<?php $za_contents[] = array('text' => BOX_REWARD_POINTS, 'link' => zen_href_link(ADMIN_FILENAME_REWARD_POINTS, '', 'NONSSL')); ?>

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

7 Mar 2008, 9:01 PM
#113
godowsky avatar

godowsky

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Re: Reward Point Mod beta now available

yes... it's written in that way... not working for me..i didnt make any modification to the original zen cart files..

7 Mar 2008, 9:13 PM
#114
godowsky avatar

godowsky

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Re: Reward Point Mod beta now available

okey.. some "<?php" were missing.. but they are missing in the original package.

7 Mar 2008, 9:17 PM
#115
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Point Mod beta now available

Godowsky:

okey.. some "<?php" were missing.. but they are missing in the original package.

Correct- They should be '<?php'- I'll change them for the next release.

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

7 Mar 2008, 9:24 PM
#116
jc67 avatar

jc67

New Zenner

Join Date:
Jan 2007
Posts:
49
Plugin Contributions:
0

Re: Reward Point Mod beta now available

hem:

Add a Config item which allows reward points only to be redeemed against other products and not shipping???

actually I was talking about the product. When someone redeems points (example on my site a camcorder $900)

They have enough points to buy a $900 camcorder. I need to pay for that product somewhere, but the reward points really have no money value. So i have to pay for the camcorder at my own expense (says my cost $600 for the camcorder). I was just looking for Idea's on how to offset this. my thought on how i would do this is:

customer earns 5000 reward points on an order, which translate to $50. I would just take $50 from my profit of that order and put in a high interest savings, until the customer actually used the points, plus I would be earning interest.

So just wondering how others are doing this. : )

7 Mar 2008, 9:26 PM
#117
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Reward Point Mod beta now available

huh? give them a reasonable percent only. Say 10% or 5% of the total (depends on your percent of profit)

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

7 Mar 2008, 9:47 PM
#118
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Point Mod beta now available

JC67:

actually I was talking about the product. When someone redeems points (example on my site a camcorder $900)

They have enough points to buy a $900 camcorder. I need to pay for that product somewhere, but the reward points really have no money value. So i have to pay for the camcorder at my own expense (says my cost $600 for the camcorder). I was just looking for Idea's on how to offset this. my thought on how i would do this is:

customer earns 5000 reward points on an order, which translate to $50. I would just take $50 from my profit of that order and put in a high interest savings, until the customer actually used the points, plus I would be earning interest.

So just wondering how others are doing this. : )

If you think about it- if you are using the default values (1 point per $1 and 1 cent when redeeming) all you are really doing is giving them a 1% discount. In order for someone to buy $900 item using only reward points they would have had to have spent $90,000 at your store- And that's the kind of customer you want to keep :wink:

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

7 Mar 2008, 10:32 PM
#119
jc67 avatar

jc67

New Zenner

Join Date:
Jan 2007
Posts:
49
Plugin Contributions:
0

Re: Reward Point Mod beta now available

hem:

If you think about it- if you are using the default values (1 point per $1 and 1 cent when redeeming) all you are really doing is giving them a 1% discount. In order for someone to buy $900 item using only reward points they would have had to have spent $90,000 at your store- And that's the kind of customer you want to keep :wink:

So true! :smile:

7 Mar 2008, 11:18 PM
#120
pinetreecandles avatar

pinetreecandles

Zen Follower

Join Date:
Feb 2008
Location:
West Virginia
Posts:
135
Plugin Contributions:
0

Re: Reward Point Mod beta now available

hem:

PTC- thanks to you and JC for covering while I was away. I'm back now.

I've attached an interim fix for the incorrect reward points problem. I'm currently coding the "Reward Point/Order State change" functionallity which will allow store admins to decide which of the Order Status's make reward points pending and which make reward points earned (and which to ignore- like "Update"). I've also coded in your "Remove Sidebox When Empty and/or Not Signed In"

Thanks for the fix! However, there is an error in the tpl_reward_points.php

Change this:

$reward_points+=getRewardPoints($product['id']))*$product['quantity'];

To this:

$reward_points+=getRewardPoints($product['id'])*$product['quantity'];

Looks like the one line had an extra ) in it.

Works fine now for me.

Thanks again andy.

Zen Cart: 1.3.8a
PHP: 5.2.4
MySQL: 5.0.45

Pine Tree Candles