View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Add a flat-rate shipping option to UPS list

Thread began 9/23/2009 4:32 pm by christy342106 | Last modified 9/30/2009 8:49 pm by christy342106 | 4206 views | 11 replies

christy342106

Adding Flat Rate to UPS Service

Thanks for your quick reply! You guys are always such a HUGE help for all of my little issues!!

Okay, I just want to make sure I'm changing things in the right places so I don't cause any issues with what it already working --

1. On my checkout page, I have a select list with the UPS service names along with "01, 02, etc." as their list values. I am adding a flat rate USA as well as a flat rate International along with a corresponding number as a list value, such as "50"? I don't make the list value the rate of the shipping in this step, correct?

2. On my confirm page, under the shipping label, I have a piece of code:
switch($_SESSION['UPS_Service']) {
case 01:
echo("Next Day Air");
break;
case 02:
...and so on.
To this list do I add case 50: echo("Standard USA"); break; and another for International?

I'm thinking I should be going to the bindings panel and setting a session variable for the two flat rate items on the list - I'm a little unclear how and where to set this variable.

3. In my ecart object, I am setting up a new shipping rule for each of the flat rate shipping options. The condition for each rule will be if the session variable exists or based on the value of a session variable?

4. Finally, I am editing my UPS shipping rule to have the conditions UPS shipping quote ! = 0 AND the session variable for the flat rate option does not exist, correct? I'm not quite sure how to tell it to not trigger if the session variable does exist.

Thanks again!!

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