jimmie:
eliminating the decimals
this way is probaly the better
ceil(1137 * 1.583949313621964) = 1801
You cannot make up results you only can use what will really calculate ...
ceil(1137 * 1.583949313621964) = 1800
So if:
**Quantity 1.25 and Weight 1.25**
ceil(1.25 * 1.25) = 2
**Quantity 1200 and Weight 1.583949313621964**
ceil(1200 * 1.583949313621964) = 1901
**Quantity 1136.4 and Weight 1.583949313621964**
ceil(1136.4 * 1.583949313621964) = 1800
work for you, then use in your code for Weight:
'Weight' => ceil($product['quantity'] * $product['weight']),
Linda McGrath
If you have to think ... you haven't been zenned ...
**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!