Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Free Shipping over $50 in US only
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bardentech
Starting Member

39 Posts

Posted - June 27 2011 :  13:01:53  Show Profile  Reply with Quote
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  Show Profile  Reply with Quote
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.
Go to Top of Page

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - July 01 2011 :  03:23:36  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00