SaraL Posted February 1, 2007 Share Posted February 1, 2007 Ran into a slight problem. Right now we calculate qualifying for free shipping based on having $50 or more with of products in the cart. Problem is, you have to pick your shipping option at checkout_shipping before you have the chance to enter coupon codes on checkout_payment. So we've gotten into a few situations where someone has $50 in thier cart, picks free shipping, and then enters a 30% off coupon code, so they're getting free shipping on $35. Is is possible to move the CCGV prompts and processing to checkout_shipping, and have the page refresh itself so that the calculation for free shipping can be run correctly? Quote Link to comment Share on other sites More sharing options...
happygolucky Posted April 30, 2009 Share Posted April 30, 2009 Hi I am also having the same problem . Any body has the solution? Quote Deepa Devan Project Manager Euphontec Solutions and Services Link to comment Share on other sites More sharing options...
happygolucky Posted May 7, 2009 Share Posted May 7, 2009 Hi I am also having the same problem . Any body has the solution? Hi I got a solution for this. Add the following code in includes/classes/order_total.php, in function process(), after the line $GLOBALS[$class]->process(); if ($GLOBALS['ot_coupon']->enabled) $GLOBALS['ot_coupon']->collect_posts(); That will get the value of cc_id again so we dont need to refresh the page. This is for oscommerce RC2 Hope this will be of use to somebody Quote Deepa Devan Project Manager Euphontec Solutions and Services 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.