This always happens to me. I put my head on the pillow for the night (it's almost 4am) and my brain remembers something that could work, so I have to get out of bed and try it.
For anyone else having a similar issue, add the following to ot_coupon around line 267
Code:
// bof: disable discount coupons on free shipping
if (substr_count($_SESSION['shipping']['id'], 'freeoptions') !=0) {
$foundvalid = false;
}
// eof: disable discount coupons on free shipping
if (!$foundvalid) {
$this->clear_posts();
}
This isn't specific for any particular coupon code but for the time being works. What this does is remove the discount coupon or not allow any coupon code to be entered when free shipping is selected. There is an error message that gets triggered, just change it to suit your needs languages>english.php the define is TEXT_INVALID_COUPON_PRODUCT.
Now I can sleep.
Bookmarks