yes... it's written in that way... not working for me..i didnt make any modification to the original zen cart files..
okey.. some "<?php" were missing.. but they are missing in the original package.
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. : )
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
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![]()
Thanks for the fix! However, there is an error in the tpl_reward_points.php
Change this:
To this:Code:$reward_points+=getRewardPoints($product['id']))*$product['quantity'];
Looks like the one line had an extra ) in it.Code:$reward_points+=getRewardPoints($product['id'])*$product['quantity'];
Works fine now for me.
Thanks again andy.