By default, SalesCart provides you with the ability to create fixed shipping lookup tables based on the total weight of all of the products. This provides you with virtually limitless capability to configure shipping costs, because you can provide as many choices and as many ranges as you want. To configure shipping, refer to the shipping section in this manual. Weight-based shipping is very accurate and most shipping charges are based on the weight of the product.
However, in some cases, you may wish to configure shipping based on the total value or price of the items ordered as opposed to the weight. One reason may be difficulty in determining the weights of all your products. In these cases, you would continue to setup the fixed shipping lookup tables, but substitute price ranges (or volume) for the weight ranges. In addition, you will need to modify the shopping chart to pass for comparison the total weight (or the total volume).
Change the value that SalesCart uses to compare against the fixed shipping lookup tables as follows:
<meta HTTP-EQUIV="Refresh" CONTENT="0; URL=shipping2.php?country=<% echo $shipcountry; %>&subweight=<% echo $subweight; %>">
echo $subweight;
<meta HTTP-EQUIV="Refresh" CONTENT="0; URL=shipping2.php?country=<% echo $shipcountry; %>&subweight=<% echo $subtotal; %>">
OR
<meta HTTP-EQUIV="Refresh" CONTENT="0; URL=shipping2.php?country=<% echo $shipcountry; %>&subweight=<% echo $subvolume; %>">