Allowing customer to select different shipping options
How do I allow the customer to select a different shipping method. For example, UPS Ground, UPS Overnight, UPS 2nd Day Air, etc...
We have a UPS shipping account
Terry
How do I allow the customer to select a different shipping method. For example, UPS Ground, UPS Overnight, UPS 2nd Day Air, etc...
We have a UPS shipping account
Terry
This is not a supported modification in powerstore and wil require some hand coding to accomplish.
you would need to add the service select list to the checkout page:
<select name="UPS_Service" id="UPS_Service">
<option value="01">Next Day Air</option>
<option value="02">2nd Day Air</option>
<option value="03" selected>Ground</option>
<option value="07">Worldwide Express</option>
<option value="08">Worldwide Expedited</option>
<option value="11">Standard</option>
<option value="12">3 Day Select</option>
<option value="13">Next Day Air Saver</option>
<option value="14">Next Day Air Early AM</option>
<option value="54">Worldwide Express Plus</option>
<option value="59">2nd Day Air AM</option>
<option value="65">Express Saver</option>
</select>
and add a hidden form element to capture the selected service on the confirm page:
<input name="UPS_Service" type="text" id="UPS_Service" value="<?php echo((isset($_POST["UPS_Service"]))?$_POST["UPS_Service"]:"") ?>" />
then edit the ups shipping code to use the sellected service:
$Shipping_Parameters["CarrierCode"] = "".($_POST["UPS_Service"]) ."";
the issue you will run into is that not all services are valid in some shipping scenarios.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.