Last edited by hem; 18 Apr 2008 at 01:51 PM.
... hang on
Ah- found it now- I was looking in the wrong place.
1.03b (bugfix version of final beta)
Renamed 'reward_point_history' table to 'reward_status_track' to better describe its job.
Added Status Syncing and removed all core code dependencies.
Fixed base price not being used correctly when Sale/Specials in use.
Fixed Global Redeem not displaying under Admin->Customers->Redeem Points
Fixed issue with Transfer All Earned to Pending not working correctly
Added calculations for Discounted/Special/Free Reward Points.
Extra instructions
This version is the core code friendly version and doesn't modify or change any other file. I'm particularly interested in any feedback from users of mods such as Quick and Easy Checkout and the like.
If you have installed a previous version of this mod and changed the order.php you will need to reload your order.php to the pre-install version. Failure to do this will give unexpected results in the reward points.
Take note of the following from the readme.txt
3. Run the appropriate sql file using Admin->Tools->Install SQL Patch
3.1 If you are installing this mod for the first time use 'new.sql'
3.2 If you are updating this mod from a previous version use 'update.sql'
3.2.1 If you use table prefixes in ZenCart you will need to manually rename 2 Reward Point Mod tables:
3.2.1.1 Rename 'yourprefix_reward_product_points' to 'yourprefix_reward_master'
3.2.1.2 Rename 'yourprefix_reward_point_history' to 'yourprefix_reward_status_track'
Last edited by hem; 17 Apr 2008 at 03:51 PM.
Sheesh, I get sick for a few days and look at all the changes
Guess I will get busy and check things out. Thanks again Andy!
Hey PTC, hope you are okay now- Was a little under the weather myself but that was birthday-related-self-inflicted.
You use some form of Transaction Tracker mod don't you??? I would be interested in any feedback you have with this version of RP working alongside it.
The easiest would be to copy and paste the code from tpl_reward_points into your custom code. The only line you would need to change would be:
add a full stop after '$content' and before the '=' so it reads:PHP Code:
$content='<div id="'.str_replace('_', '-', $box_id . 'Content').'" class="sideBoxContent">';
PHP Code:
$content.='<div id="'.str_replace('_', '-', $box_id . 'Content').'" class="sideBoxContent">';
Bookmarks