
Untitled
By: a guest on
May 6th, 2012 | syntax:
None | size: 0.70 KB | hits: 16 | expires: Never
// Additional Shipping Cost per product
foreach($products AS $product)
// if carrier name = 'usps international'
// {
// if product price is $.01 - $50 $shipping_cost = $1.85;
// if product price is $50.01 - $100 $shipping_cost =$2.35;
// if product price is $100.01 - $200 $shipping_cost =$2.90;
// if product price is $200.01 - $300 $shipping_cost =$4.85;
// if product price is $300.01 - $400 $shipping_cost =$5.95;
// if product price is $400.01 - $500 $shipping_cost =$7.05;
// if product price is $500.01 - $600 $shipping_cost =$8.15;
// if product price is $600.01 - $5000 $shipping_cost =$8.15 + ($1.10 per $100);
// }
// continue to add any aditinal sipping