Ajax Shipping

VPCARTcomes with Ajax Shipping in the customer checkout form (shopcustomer.asp). Ajax shipping will populate any available shipping methods all in one dropdown menu.

Any shipping data methods that merchant sets up in the admin will be displayed together with other realtime shipping, if it exists.

 

The dropdown menu will be populated with the name of the shipping method and also the price for that shipping method as calculated for a particular customer.

 

This will improve the previous method by which a customer must select UPS or Fedex, etc., before they are taken to a separate page to see the rates. All applicable options and their prices will be displayed in this dropdown menu.

 

This ajax shipping supports UPS, USPS, Fedex, Australia Post, Canada Post as well as the internal VPCART shipping methods such as Fixed, and those using the shipmethods table.

 

The following Software Configuration optionis used for ajax shipping:

 

xAjaxShipping

Set this to Yes to allow ajax shipping dropdown menu.
You can set to No if you do not have any realtime shipping addon in your VPCart site.

 

In our previous shipping method version, if you have UPS, Fedex, USPS and a couple of lookup methods defined in shipmethods table, you'll get the options.

 

E.g.

 

Normal [$3.00]

Express [$5.00]

Airmail [$10.00]

UPS

Fedex

USPS

Australia Post

Canada Post

 

The previous version of shipping method dropdown menus needs you to click a second page to see the rates for UPS, Fedex, USPS, Australia Post and Canada Post.

 

With this new version of shipping method dropdown menu, you do not need to click a second page to see the shipping options and rates for UPS, Fedex, USPS, Australia Post and Canada Post.

 

 

E.g.

 

Airmail [$10.00]

Attachment

Download

Express [$5.00]

Normal [$3.00]

UPS Worldwide Express [$10.95]

UPS Wolrdwide Expedited [$12.50]

USPS Global Express Guaranteed [$8.95]

USPS Express Mail International [$9.95]

FEDEX Fedex Worldwide Economy [$7.15]

FEDEX Fedex Worldwide Priority [$10.20]

AUSTRALIAPOST Air Post [$12.98]

AUSTRALIAPOSTSea Post [$6.65]

CANADAPOST Priority Worldwide INTL Delivery date=www.canadapost.ca/?Lang=en [US$9.19]

CANADAPOST Small Packets Air Delivery date=up to 2 weeks [US$10.95]

 

(NOTE : The options above are all just examples and the actual shipping options can be different.But generally, it will display something similar to the list above.)

 

If you do not install any UPS, USPS, Fedex, Australia Post and Canada Post, the shipping method will just list the default Flat options from shipmethods table

 

E.g.

 

Airmail [$10.00]

Attachment

Download

Express [$5.00]

Normal [$3.00]

 

This shipping method dropdown menu will first check for any installed online shipping such as UPS, USPS, Fedex, Australia Post and Canada Post.

 

Check any installed realtime shipping perfom query to Shipmethods table for the "shiproutine"field.

 

For UPS, VPCART checks if the field "shiproutine" contains "upsxmlrealtime.asp." If it exists, then any UPS shipping options will be displayed into the Shipping Method dropdowns.

 

For USPS, VPCART checks if the field "shiproutine" contains "uspostalrealtime.asp." If it exists, then any USPS shipping options will be displayed into the Shipping Method dropdowns.

 

For Fedex realtime, VPCART checks if the field "shiproutine" contains "fedexrtv8.asp." If it exists, then any Fedex shipping options will be displayed into the Shipping Method dropdown menu.

 

For Australia Post, VPCART checks if the field "shiproutine" contains "austpostrealtime.asp." If it exists, then any Australia Post shipping options will be displayed into the Shipping Method dropdown menu.

 

For Canada Post, VPCART checks if the field "shiproutine" contains "canadapostxml.asp." If it exists, then any Canada Post shipping options will be displayed into the Shipping Method dropdown menu.

 

If merchant has not installed any realtime shipping, then only the flat rate from Shipmethods table will be displayed in the dropdowns list.

 

This new version will automatically populate the realtime shipping list based on the zip code or shipping zip code entered by the customer, including the customer country or shipping country selection.

 

When a customer changes the zip code or country field in the Customer Information,

orwhen the customer changes the Zip Code or country field in the Shipping Information,

Shipping method will display a loading image that the process is retrieving realtime shipping options and rates.

 

Customer then selects the appropriate shipping method and proceeds to shopcreateorder.asp.

 

If merchant does not wish to use any realtime shipping they have previously installed, please follow the steps below:

1. Go to VPCART Control Panel : Misc >Edit Tables

2. In the Select table dropdown menu, choose shipmethods and click "Edit Table"

3. Tick any realtime shipping you wish to remove.

4. Click "Delete Selected Records"

 

Any realtime shipping removed will not be displayed in the Shipping Methods dropdown menu.

 

NOTE :

If you have your browser's javascript turned off or if the config xAjaxShippingis set to No,the ajax shipping will not function and will automatically be handled like in the previousversion where the customer needs to go to another page after shopcustomer.asp to select a shipping method.

If the ajaxshipping rates are not displayed in the dropdownmenu in shopcustomer.asp, this may be due to any of the following reasons:

-    Total weight of cart items exceed the maximum per package weight from the shipping service.

-    You may have forgetten to enter the weight of your products. Please go to edit product page and make sure all items you are selling has a value in the Weight field.

-    Destination address of the customer’s (zipcode & country) is not supported by the shipping service.

-    You may have forgetten to add the UPS / OtherShipping (depend on what shipping service you are using).

To make sure, go to VPCartAdministration :Advanced Settings > Shipping & Handling, and check the setup of UPS Real-Time or Set up Other Shipping that should exist.

-    You may have invalid value or format of config “xMerchantShipZip”.

-    You may have invalid value of the user id or password or other setup from the shipping service. Shipping services like UPS, USPostal, Canada Post need you to have the correct account number or merchant ID / Password.