Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 UPS Fuel Surcharge
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mrecomm101
Starting Member

4 Posts

Posted - August 30 2006 :  10:46:45  Show Profile  Reply with Quote
How do I get the UPS Fuel Surcharge added to the Real Time shipping?

support
Administrator

4679 Posts

Posted - August 30 2006 :  18:21:13  Show Profile  Visit support's Homepage  Reply with Quote
hi there,

You need to open upsxmlrealtime.asp in Notepad and at around line 416 in the FormatMethods subroutine find the following line:

If Price<>0 then

After this line add:

price=price + 2


This will add a $2 surcharge to all shipping prices.

If you don’t want to have fixed surcharge and want to take for example 1% then you need to add the following line instead of the line above:

price=price+(price*0.01)

In this case it will add a 1% surcharge to all shipping prices.

Regards,
Michael

VP-ASP Support
Go to Top of Page

JeffBekeris
Starting Member

USA
9 Posts

Posted - April 10 2007 :  20:13:07  Show Profile  Visit JeffBekeris's Homepage  Reply with Quote
Does this apply to UPS Real Time for 6.50? I tried it and it doesn't change the figure.
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