View Single Post
  #47  
Old 08-12-2005, 07:34 AM
 
spacetoast spacetoast is offline
 

Member
  
Join Date: May 2005
Posts: 29
 

Default

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
__________________
Curtis Durham
4.6.4
www.bathnation.com
Reply With Quote