Problem with WEIGHT.. Help me!! : LUSENET : S-Mart Shopping Cart : One Thread


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 (, 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 (, July 31, 2000.

Moderation questions? read the FAQ