close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

wrong weight being calculated

Thread began 8/14/2014 1:32 pm by Christopher West | Last modified 8/14/2014 4:30 pm by Christopher West | 1458 views | 9 replies

Christopher WestCommunity Expert

So how do I fix this? as if I were to look in my database and manually add up all the weights of the products and product options that are in the cart my calculator says 348.

as earlier below are all the products that are in the cart with the corrisponding weights in the database:

(main product) ball bracelet is 40g
(product option) Charm Type Small Diamond is 40g
(product option) Charm Type Small Diamond is 40g
(product option) Charm Type Small Heart is 40g

(main product) Ascending Double Print Large Keyring is 40g
(product option) Ascending Small Charm Heart is 0g
(product option) Ascending Large Charm Diamond is 0g

(main product) Ascending Double Print Large Keyring is 40g
(product option) Ascending Small Charm Heart is 0g
(product option) Ascending Large Charm Diamond is 0g

Silver Cleaning Cloth is 1g
Silver Cleaning Cloth is 1g
Silver Cleaning Cloth is 1g
Pandora Charm Carrier is 40g
Sterling Silver Initial is 40g
Dinky Fingerprint Impression Kit is 5g
Dinky Fingerprint Impression Kit is 5g
Dinky Fingerprint Impression Kit is 5g
Dinky Hand/Footprint/Paw Print Kit is 5g
Dinky Hand/Footprint/Paw Print Kit is 5g

So the calculation should be 348 not 428 :(

In the paypal-cart.php file i provided in previous post. on line 91 the weights calculations start there. I had to use 3 recordsets to account for the different shipping types (beena while cannot remember why).

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...