Problem with WEIGHT.. Help me!!greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread |
Hi,I would like to use the shipping by weight feature, but when i test it and order multiple quantity's of a product it only counts the weight of 1 product... How can I correct this?
Please help me!
-- Federico Andrade (fepa2@usa.net), July 01, 2000
The weight sub was my idea, so I have to fix it... Here goes.. The problem is in the # Email Shared functions - sub Find: $totalweight += $weight;Replace with:
$totalweight = ($weight*$itemquant) + $totalweight;
-- Eddie Deboard (eddie@paragould.net), July 31, 2000.