Help with UPS Shipping
we would like too implement 2 options, currently only using ground shipping. In addition we now wish to have overnight shipping.
I can't find a rule in shipping that would make that possible.
Thanks
we would like too implement 2 options, currently only using ground shipping. In addition we now wish to have overnight shipping.
I can't find a rule in shipping that would make that possible.
Thanks
on the checkout page, add a select list to select the shipping service:
<select name="UPS_Service" id="UPS_Service">
<option value="01">Next Day Air</option>
<option value="03" selected>Ground</option>
</select>
on the confirm page, locate the other hidden form element, and add a new one to capture the value posted from the checkout page:
<input name="UPS_Service" type="hidden" id="UPS_Service" value="<?php echo((isset($_POST["UPS_Service"]))?$_POST["UPS_Service"]:"") ?>" />
on the confirm page, you now need to store the selected shipping service in a session variable. Go to the server behaviors panel and click the plus button
Select eCart -> General -> Set Session Value.
for the trigger select any for post.
set the name to "UPS_Service"
for the value, click the lightning bolt and select the "UPS_Service" form element.
In the list of server behaviors, double click the UPS Shipping server behavior.
For the Service type, click the lightning bolt and select the "UPS_Service" session variable.
I did the changes as you indicated and it's not working. Probably due to this, since I am not sure where exactly it goes:
*********************
QUOTE from your reply:
on the confirm page, locate the other hidden form element, and add a new one to capture the value posted from the checkout page:
PHP Code:
<input name="UPS_Service" type="hidden" id="UPS_Service" value="<?php echo((isset($_POST["UPS_Service"]))?$_POST["UPS_Service"]:"") ?>" />
*********************
You say 'locate the other hidden form element', which other?
I really appreciate your help.
on the confirm page click on the confirm order button in design view, then look in code view, you will see the other hidden form elements there.
I tried that while I waited for your reply, unfortunately it did not work. If I redirect to shipping failure page that's what I get , with error message 'ilegal' (dont remember the exact words, actually 3 words with / between them
in full report it contained our UPS pass ! so I had to remove the pages all together and reconfigure the cart back- not fun .
if I dont redirect it goes directly to gateway without any shipping .
We use payment gateway, Authorize Net and those are the form tags that are passed thru.
I will make one more attempt
If you could post the exact error message, it would go a long way to helping me determine the cause of the problem.
If you still have a problem, post the error message and a copy of the checkout and confirm pages in a zip archive.
Thanks Jason
This is the error:
Shipping Quote Request Failed
Missing/Illegal Service/Code
Rating and Service1.00010FailureHard110500
Missing/Illegal Service/Code
I will prepare the zip in case this is not helpful (will prepare zip,remove Pass/Key)
OK, awaiting the zip file.
Thanks Jason !
let me know if you need any other file
I assume that the old shipping rule needs to be deactivated in the cart, correct? I did ,
because I see a new one created after the new shipping configuration was set
(I must admit I even tried leaving both active in case that was reason for error.. but no luck. So I left the new rule activated only)
Do you think maybe the rule needs a different setting?
Now its: "UPS shipping quote!=0
based on UPS shipping quote vallue
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.