This is a great mod and I've been using it for sometime now without problem, but I just got nailed by a customer who used a %off coupon and got the free shipping based on the subtotal before the discount.
I'd like to set it up so that the free shipping applies to the discounted subtotal. However, if a customer does not use a coupon it should apply to the undiscounted subtotal.
Below is a snippet of the code where it bases whether or not free shipping applies on the "subtotal"
Code:
if ($row && ($tempcart["subtotal"] >= $freeOverAmount))
{
$rate = 0;
Does anyone know what I would add so the conditions above are met?
Thanks!
Curtis