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

postcode + weight x parcel size help

Thread began 11/29/2016 4:43 pm by Christopher West | Last modified 12/02/2016 10:35 pm by Christopher West | 422 views | 3 replies

Christopher WestCommunity Expert

I thought to do a series of IF statements. I have a separate php file that does the delivery calculations, so I assume I just do all the IF statements in there, checking...
for one of the delivery companies they provided me with these calculations:

150 cm as a longest length.
300 cm length and girth combined.
30 kilos.

Any variation of the box dims that doesn’t exceed this is fine on any service.

Here are some examples
100 cm x 50 cm x 50 cm – L / W / H – The reasoning here is 50 plus 50 CM (two smallest dims – of the 3 – L / W / H) added together equals 100 – 100 x 2 = 200 and 200 – Plus the outstanding and remaining 1 dimension of 100 cm = 300 CM L and G Combined.
Another example is 60 x 60 x 60 cm – using the same maths –

do you think thats straight forward to do with a bunch of IF statements? I would need to do a first IF statement to check to see if the size falls for that particular delivery company.

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