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