Author |
Topic |
|
bardentech
Starting Member
39 Posts |
Posted - June 27 2011 : 13:01:53
|
Version: VPASP 6.5
I've been running a promotion to offer free shipping over $50 in the US only. I did the following to make it work:
modified the HandleFreeShipping sub in shopshippingcalc.asp. If productcost>=shipcost then If Request.Form("shipCountry") <> "US" then exit sub end if
And I put 50 into the xfreeshipping field in the setup/shipping section of admin.
The problem is that for some reason one out of every 15 or 20 orders does not change to 0 for shipping cost when an order meets the criteria. I end up having to refund shipping. I would like to do it another way, but not sure how to go about it.
Currently no matter what the order amount is, when a customer gets to checkout and select shipping options, they see US Shipping $7, Canada $20, International $27. It continues through as if shipping will cost them $7 and is only taken out just before they process their credit card. I would like to have the shipping options show US $0.00 when they checkout and not the $7 option if they are over $50. Can I do that?
Any help would be appreciated. |
|
diegomilito
VP-CART Expert
Argentina
779 Posts |
Posted - July 01 2011 : 03:21:59
|
barden, try this :
1) file shopshippingcalc.asp and check the following code :
If getconfig("xshippingfree")<>""
change that to become :
If getconfig("xshippingfree")<>"" and getsess("shipcountry") = "US" then
maybe this will help.
Diego
With the code above, xshippingfree is only applicable for shipping to UK. |
|
|
diegomilito
VP-CART Expert
Argentina
779 Posts |
Posted - July 01 2011 : 03:23:36
|
sorry, i must have the last line wrong, it should be :
with the code above, xshippingfree is only applicable for shipping to US please.
Diego, from argentine |
|
|
|
Topic |
|