close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Storing Order's Total Weight in Database

Thread began 12/15/2011 3:00 am by martin400112 | Last modified 3/21/2012 9:21 am by martin400112 | 958 views | 5 replies


Hi Nathan,
Thanks for coming back to me a while ago. sorry I've not got back to you.

I think you have misunderstood what I am looking for. Here's the scenario: (site name has changed since my original request) have a site where the shipping costs are calculated based on the total weight of the cart.

In order to pay their carrier for the shipping, they need to know how much the order is going to weigh, based on the designated shipping costs.

eCart calculates the total weight of the cart correctly and bills the customer appropriately.

However...I have tried to add the TOTALWEIGHT session variable (which I would expect to be the total weight of the cart) to the database which I have managed to do successfully....BUT:

The TOTALWEIGHT session variable does not appear to be the total weight of the only ever saves the total weight of the first line of the cart to the database and NOT the total weight of the entire cart.

So, herein lies the problem - how do I save the total weight of the cart to the database?

Thanks for your help.


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





Ease of use


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...