VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 General help me questions
 Hide other UPS shipping method
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP New User

130 Posts

Posted - May 19 2009 :  00:41:58  Show Profile  Reply with Quote

I have setup UPS realtime shipping. But I want to only offer "UPS Ground" shipping method, how to hide other shipping method such as "UPS Next Day Air", "UPS 2nd Day Air" and others?



4284 Posts

Posted - May 19 2009 :  02:41:30  Show Profile  Visit support's Homepage  Reply with Quote
Hi madbug,

To hide other UPS shipping method please follow the steps below:

1) Plese open upsxmlrealinterface.asp in any html editor/notepad

2) Locate the shipping method around line 289

Addservice "01", "UPS Next Day Air"
Addservice "02", "UPS 2nd Day Air"
Addservice "03", "UPS Ground"
Addservice "07", "UPS Worldwide Express"
Addservice "08", "UPS Worldwide Expedited"
Addservice "11", "UPS Standard"
Addservice "12", "UPS 3-Day Select"
Addservice "13", "UPS Next Day Air Saver"
Addservice "14", "UPS Next Day Air Early AM"
Addservice "54", "UPS Worldwide Express Plus"
Addservice "59", "UPS 2nd Day Air AM"
Addservice "65", "UPS Express Saver"

comment all the method out, except UPS Ground

3) Locate the code around line 343


comment the above code out as well.

4) Test order, the UPS method should only showing "UPS Ground"

VPASP Support

Go to Top of Page

Starting Member

12 Posts

Posted - October 21 2009 :  12:09:32  Show Profile  Visit cvelzke's Homepage  Reply with Quote
We would like to rearrange the order of how the different UPS shipping methods are displayed. Right now, Next Day Air is listed first and, because it is first, it is selected as the default method. We want UPS Ground to be selected as the default but right now it is listed third out of the four methods we are offering.

How can we rearrange the order of the different methods or is there a better way to have UPS Ground automatically selected as the default?

Thank you, God bless.
- carl
Go to Top of Page

VP-ASP New User

61 Posts

Posted - December 09 2009 :  10:56:48  Show Profile  Reply with Quote
In order to get rid of the "select" option being displayed in the shipping pulldown menu, locate the line in shopcustomerform.asp that starts "GenerateSelectV" (it's somewhere around line 170 if you haven't made edits to the original scripting). Replace the last value in the line with double double-quotes, so it looks like this:

GenerateSelectV shippingmethods,shippingvalues,ShipMethodType,"shipmethodType",shippingcount,""

Once this is done, the first option will automatically be shown as the default.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000