
Originally Posted by
Jeff_Mash
That's a very good suggestion, Cindy. Now I just need Twitchtoo to let me know where to put that function in his module so that it can be used to disable the rewards from being assigned during the checkout process. I'm sure it's just a matter of finding where he updates the database to insert the points during checkout......but I don't have the time to dig through and figure out where that might be.
Just for documentation purposes, here is what I did.
I edited the tpl_modules_opc_credit_selections.php file, and added the following code after Line 47:
Code:
if(zen_in_guest_checkout() && !strcmp($ot_class,"Reward_points"))
continue;
What this does is it removes the Reward Points block from being displayed on a Guest account. Again, the reason why this was necessary is because the guest account was accumulating Reward Points.........so a new guest customer could potentially checkout and use free earned credit that they didn't pay for.
So hopefully, this little custom modification will resolve the issue for us, because it won't display the Reward Points box to any "guest" to apply any points. Might not be the best workaround but I think it might accomplish what we need.
Bookmarks