[ic] Help Free Shipping

Chaim Klar interchange-users@interchange.redhat.com
Fri Apr 19 14:05:00 2002


HI:

we would like to offer free ground shipping for our customers if the order
total exceeds the amount of $100.00.
I have implemented it in the shipping.asc and it seems to work in the
shopping cart, but when I want to display
all the shipping options (through the shipping function) at checkout it does
not display the ground shipping (upsg)
when the order is more then $100.00.

Below is my shipping.asc and the shipping function.

Shipping.asc
----------------------------------------------------------------------------
---------------------------------
upsg	UPS Three Day (ground prices)	price	0	100	m>>upsg1
upsg	UPS Three Day (ground prices)	price	100	999999	m>>freeship
upsg1	UPS Three Day (ground prices)	weight	0	0	e Nothing to ship!
upsg1	UPS Three Day (ground prices)	weight	0	150	f [ups-query mode="GNDRES"
weight="@@TOTAL@@"]
upsg1	UPS Three Day (ground prices)	weight	150	999999	e @@TOTAL@@ lbs too
heavy for UPS
freeship	UPS Three Day (ground prices)	weight	0	0	e Nothing to ship!
freeship	Free Shipping for orders over $100	weight	f 0	150	0		{'free' =>
'free' }
freeship	UPS Three Day (ground prices)	weight	e 150	999999	e @@TOTAL@@ lbs
too heavy for UPS

shipping function
----------------------------------------------
[shipping
	label=1
	free=1
      mode=|[data table=country key='US' col=shipmodes]|
	format=|<input type="radio" name="mv_shipmode" VALUE="%M" %C>%D (%F)<br>|
]


Any help will be appriciated.

Thank You
Chaim Klar