eabrams
VP-CART New User
USA
72 Posts |
Posted - August 17 2002 : 12:07:51
|
We have may shipments that are not domestic (US) and needed a way to charge shipping based on weight. What we did was charge shipping on all US and Canadian orders by weight and not charge shipping or international orders.
The international orders will be billed actual shipping (2nd charge) when the order is shipped.
Here is what I did:
-Created 3 ship methods
United States 2.45 0.6 Canada 8.95 1.1 International Outside USA/Canada 0 0
-Made the country field required.
-in shopshippingcalc.asp I made the following changes
Sub UpdateShippingSessionData() ' called from shop customer to process form and get shipping price Dim optionname .......... other code here .......... 'changed by EJA for weight'''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''' If Request.Form("StrCountry") = "US" then ShipMethodType = "United States" elseif Request.Form("StrCountry") = "CA" then ShipMethodType = "Canada" else ShipMethodType = "International Outside USA/Canada" end if ''''''''''''''''''''''''''''''''''''''''''''''''''''
|
|