Author Stephanie on 10-27-1999 at 01:26 (EST)
|I am selling one thing, a book. The shipping varies by country ($5 US; $7 Canada; $13 International). I am having a lot of trouble figuring out how to do this with the applets. Help.
|Messages In This Discussion|
| 1. Shipping Question|
Author Charlie Edmunds on 10-27-1999 at 18:28 (EST)
Take a look at this and see if it answers your questions. There is a lot of good information on this subject on our support site: http://www.uburst.com/uShop/Ref_uShopReference.html
uShop Shipping Setup
Admittedly, the shipping parameter is one of the more difficult parameters to setup in the uShopOrder applets. However, once you understand the format of the parameter, you will be able to setup almost any type of Shipping Method/Calculation.
The shipping name can be anything you want to call the shipping method. For example, you can name the shipping method "UPS", "FED EX", or whatever you want to call it.
The calculation method can be one of four values:
"FLAT RATE" - If you want to specify a flat rate to charge for shipping.
"BY_SUBTOTAL" - If you want to calculate shipping based on the product subtotal.
"BY_QUANTITY" - If you want to calculate shipping based on the total quantity of items.
"BY_WEIGHT" - If you want to calculate shipping based on the product weight. (If you use "BY_WEIGHT" you should be sure to specify the "WEIGHT" parameter in all of your product input applets.)
The shipping table is a list of value=rate pairs separated by commas and can best be described in an example.
Suppose you want to calculate shipping base on the subtotal and the shipping table is specified as:
This table would be interpreted as: for orders with subtotals between $0.00 and $10.00, shipping is $1.00, for orders with subtotals between $10.00 and $20.00, shipping is $2.00, for orders with subtotals between $20.00 and $30.00, shipping is $3.00, and for all subtotals greater than $30.00, shipping is $4.00.
If you were to use the same shipping table to calculate shipping based on weight, the table would be interpreted as: for orders with weight totaling between 0 and 10, shipping is $1.00, for orders with weight totaling between 10 and 20, shipping is $2.00, for orders with weight totaling between 20 and 30, shipping is $3.00, and for all orders with weight totaling more than 30, shipping is $4.00.
PUTTING IT ALL TOGETHER
The shipping parameter is made by putting the Shipping Name, Calculation Method, and Shipping Table together in one comma separated string. As an example:
This shipping parameter would be interpreted as: Call this shipping method "UPS", Calculate the shipping based on "SUBTOTAL", and for subtotals up to $20 charge $5.00 shipping, for subtotals up to $35 charge $7.00 shipping, for subtotals up to $50 charge $10.00 shipping, and for subtotals greater than $50 charge $15.00 shipping.
SPECIFYING MULTIPLE SHIPPING OPTIONS
You can specify multiple shipping methods/calculations by just separating each one with a semicolon (;).
NOTE: DO NOT include a semicolon after the last shipping option.
Please post again if you are still having trouble.
Thanks, Charlie Edmunds
Microburst Technologies, Inc.