Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-Cart 8.00 Issues
 [solved] Restricting UPS options?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

[email protected]
VP-CART New User

149 Posts

Posted - August 11 2015 :  16:43:29  Show Profile  Reply with Quote
Hi,
I''d like to restrict some of the UPS options such as Next Day Air and 2nd Day Air.

I tried to comment out these lines in shopUPSshippingajax
AddServiceAjax "01", "UPS Next Day Air"
AddServiceAjax "02", "UPS 2nd Day Air"

But it still brought back results and just said "unkknown (13)".

Where can I comment out what services are being requested?


Edited by - [email protected] on August 25 2015 09:45:55

g3nnin
VP-CART Super User

209 Posts

Posted - August 11 2015 :  17:18:05  Show Profile  Reply with Quote
Hi,

Have you tried commenting out this code in shopUPSshippingajax.asp & upsxmlrealinterface.asp files:

TempMethods(tempmethodscount) = Service
TempPrices(tempmethodscount) = price
tempmethodscount = tempmethodscount + 1


Hope this helps!
Go to Top of Page

[email protected]
VP-CART New User

149 Posts

Posted - August 12 2015 :  10:57:23  Show Profile  Reply with Quote
g3nnin,
you are awesome!

The combination of commenting out the lines you suggested and commenting out the unwanted services worked brilliantly!

Thanks :)
Go to Top of Page

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - August 25 2015 :  04:04:41  Show Profile  Reply with Quote
that worked for me too, gennin! i was having same thing when editing the file and luckily i got this post.
diego.
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