actually, I was just looking at it, and i'm sorry, my custom cart_sidebox is all on the CSS .. so the code is the same as the default one
basically what I'd liek is to instead of just having
I'd liek the entire info that is available on$content .= '<div class="cartBoxRewardPoints">' . (int)$reward_points . ' ' . PRODUCT_REWARD_POINT_TAG . '</div>';
tpl_reward_points (sidebox)
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">';
Looks like the global redeem is working...kind of. Take a look at these two screen shots.
You can see in the admin pic (2) that the redeem value is $21.00 as it should be. However, when I go to make a purchase, it shows $0.00 on the Payment page for Value Rewards Points (pic 1). So it's showing correctly in the admin, but not on the checkout pages.
It works fine with the Ty Package tracking mod.No modifications were needed to that mod.
It does not work with the Better Together mod. I have two different things set up. One is buy one and get the other at 50% off. It's giving full redeem value for both. The other is buy one get another free. It's giving full value for both.
I have it setup in admin to give 0 for free items and to use discount price and not base.
It works fine when using Zens built in discount and sales mods, but not the Better Together or the Quantity discount mods.
Other than that It all appears to work for me. Looking very nice.![]()
Andrew
the update.swl does not work for me
I initially got
so I skip that and now I get#1050 - Table 'reward_master' already exists
any ideas ?#1060 - Duplicate column name 'redeem_ratio'
NUllMind, if you updating from the last mod he posted to the thread here, then the only thing you need to run is:
I don't think he has changed or adding anything else other than that line above from 1.03 to this one. That is all I changed and it's working alright execpt for the couple things I mentioned in my post above. Just remember, that if you use an extention in you database you need to add it to the above statement.Code:RENAME TABLE `reward_point_history` TO `reward_status_track`;
Mine reads like this:
Code:RENAME TABLE `zen_reward_point_history` TO `zen_reward_status_track`;
Okay- let's try again (no need to rerun update.sql- just rename reward_point_history to reward_status_track)
Last edited by hem; 18 Apr 2008 at 01:51 PM.