[TEP-COMMIT] CVS: catalog/catalog checkout_shipping.php,1.20,1.21

cvs-OfajU3CKLf1/[email protected] Tue, 16 Mar 2004 22:22:41 +0100
Newsgroups gmane.comp.web.oscommerce.cvs
Message-ID <[email protected]>
Update of /pack/cvsroots/oscommerce/catalog/catalog
In directory sunsite.dk:/tmp/cvs-serv5363

Modified Files:
	checkout_shipping.php 
Log Message:
Fix for free shipping bug as reported in bug 1063

Index: checkout_shipping.php
===================================================================
RCS file: /pack/cvsroots/oscommerce/catalog/catalog/checkout_shipping.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- checkout_shipping.php	2004/02/14 21:04:00	1.20
+++ checkout_shipping.php	2004/03/16 20:14:22	1.21
@@ -86,7 +86,7 @@
     }
 
     $free_shipping = false;
-    if ( ($pass == true) && ($order->info['total'] >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) {
+    if ( ($pass == true) && ( ($order->info['total'] - $order->info['shipping_cost']) >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) {
       $free_shipping = true;
 
       include(DIR_WS_LANGUAGES . $osC_Session->value('language') . '/modules/order_total/ot_shipping.php');



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click