close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Changing Shipping Provider

Thread began 1/18/2010 10:50 am by jebrandon343719 | Last modified 4/08/2010 9:36 am by jebrandon343719 | 5577 views | 20 replies

Eric Mittman

Glad to hear that you have come so far. I have looked over the document that you have for the shipping and it seems very straight forward. The idea is that you pass along the values for the package to ship as URL parameters when contacting the service. The service will then respond with the rate or an error message.

I think the biggest thing for you to work out will be how you determine the package size to ship. If you make a request for each item then you could potentially have many quotes for the same order. If you make the request once for all items to ship you will need to calculate the dimensions of the package on the fly and use these in shipping quote request.

I think you should do this all with a single package. To make this easier after you add in your columns to the cart for the dimensions you should add in some calculated columns to hold the accumulated dimensions for that line item. This would multiply the particular dimension by the quantity so that you can calculate the entire dimensions for that line item.

Once you have done that you can just accumulate the dimensions based on the total of these calculated columns. You would then pass in the accumulated dimensions for all the items in the cart.

When it comes to sending the info to the server you should make use of cURL to do this, then you can capture the response to get the value for the quote. You can see an example of what cURL calls to servers look like in some of the eCart source files.

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