martinerko Posted March 14, 2011 Share Posted March 14, 2011 Hi all, I am trying to connect One Page Checkout (http://addons.oscommerce.com/info/6646) with Points and Reward module (http://www.oscommerce.com/community/contributions,3220) ? I have added a button into checkout page, when user clicks on this button, I want to recalculate the total for order and give him discount based on his points from previous orders. Functionality should be the same principle as gift vouchers, a value for discount (reward points) is stored in database. I know how to call ajax function, I know how to update DOM, I just do not know, how to recalculate the total. Can someone help me please? Thank you Martin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.