Just below the code to set the session variable add in this php code to set another session variable to the name of the service type:
<?php
$_SESSION['UPS_ServiceName'] = "";
switch($_SESSION['Shipping']){
case "01":
$_SESSION['UPS_ServiceName'] = "Next Day Air";
break;
case "02":
$_SESSION['UPS_ServiceName'] = "2nd Day Air";
break;
case "03":
$_SESSION['UPS_ServiceName'] = "Ground";
break;
case "07":
$_SESSION['UPS_ServiceName'] = "Worldwide Express";
break;
case "08":
$_SESSION['UPS_ServiceName'] = "Worldwide Expedited";
break;
case "11":
$_SESSION['UPS_ServiceName'] = "Standard";
break;
case "12":
$_SESSION['UPS_ServiceName'] = "3 Day Select";
break;
case "13":
$_SESSION['UPS_ServiceName'] = "Next Day Air Saver";
break;
case "14":
$_SESSION['UPS_ServiceName'] = "Next Day Air Early AM";
break;
case "54":
$_SESSION['UPS_ServiceName'] = "Worldwide Express Plus";
break;
case "59":
$_SESSION['UPS_ServiceName'] = "2nd Day Air AM";
break;
case "65":
$_SESSION['UPS_ServiceName'] = "Express Saver";
break;
default:
$_SESSION['UPS_ServiceName'] = "NA";
break;
}
?>
You would then use the $_SESSION['UPS_ServiceName'] variable wherever you would like to see the service type used.