close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Fedex Shipping Options

Thread began 7/31/2009 5:41 pm by karen192393 | Last modified 8/17/2009 7:51 pm by Eric Mittman | 2131 views | 6 replies |

karen192393

Fedex Shipping Options

Below is what the documentation has to say about adding the shipping options. My question is exactly what code do I need to put into these two fields of the shipping wizard. My site is not a dynamic site so I can not select it from the Dynamic Data dialog. So I will need to know the line of code to insert into these two fields of the shipping wizard so that the shipping can be calculated based on what the consumer selects during checkout.

Here are the two fields and the info that the documentation has:

Carrier type: Chooses the primary carrier method, either FedEx Ground or FedEx Express. To allow the customer to choose the option, insert the FedEx Carrier Type snippet in the shipping form and select that form list's name from the Dynamic Data dialog.

Service type: Selects the specific kind of service desired. To allow the customer to choose the option, insert the FedEx Service Type snippet in the shipping form and select that form list's name from the Dynamic Data dialog.

Sign in to reply to this post

Eric Mittman

There are three snippets for FedEx. If you cannot use the dynamic selection then use the correct code for the field in the checkout wizard. For any of these that you use you must ensure that you use that snippet on the checkout page.

Service Type:
<?php echo((isset($_POST["FedEx_Service"]))?$_POST["FedEx_Service"]:"") ?>

Carrier:
<?php echo((isset($_POST["FedEx_Carrier"]))?$_POST["FedEx_Carrier"]:"") ?>

Package Type:
<?php echo((isset($_POST["FedEx_PackageType"]))?$_POST["FedEx_PackageType"]:"") ?>

After you insert the snippet for the service type you will need to ensure that you add a hidden form element with the same name to the confirm page and set the value to this same element.

Sign in to reply to this post

karen192393

Thank you for that information. I am now getting an error on the confirmation of:

ERROR: Invalid value in element ReturnShipmentIndicator.

I did not change the Return Type and it was working before I added the Carrier and Service type.

Also, it's it confusing for hte consumer to have all those choices for the Service Type? And not all of them would apply for each Carrier type. Is there a best way to simplify the choices?

Sign in to reply to this post

karen192393

Also, for he hidden field on the confirm page do I add:

<input type="hidden" name="FedEx_Service" id="FedEx_Service" value="<?php echo((isset($_POST["FedEx_Service"]))?$_POST["FedEx_Service"]:"") ?>" />

<input type="hidden" name="FedEx_Carrier" id="FedEx_Carrier" value="<?php echo((isset($_POST["FedEx_Carrier"]))?$_POST["FedEx_Carrier"]:"") ?>" />

or is this not right either?

Sign in to reply to this post

Eric Mittman

I'm not really sure why are you are getting this error. To help you determine what may be going wrong I will need to see your checkout pages, specifically the confirm page. I have logged a support ticket for you. Please login to WebAssist.com and visit your support history to update the ticket and include your confirm page.

Sign in to reply to this post

karen192393

Shipping Method and Service

Not sure what people are suppose to do for selecting a Shipping Service. Once they select a Shipping Method - either ground or express, then they have to select from 16 different Shipping Services which obviously can't all apply to all situations.

I've done a lot of web shopping and never before have I encountered such a dizzy array of options and I hoping you can help me narrow this done without scaring people off my clients site.

My client ships all over the world. So what are the best Shipping Service options that I can setup for the Ground and Express Shipping Methods without confusing the customer and without giving them options that either don't apply or aren't valid choices?

Thanks for your support

Sign in to reply to this post

Eric Mittman

There are a couple of ways you can do this. There is no requirement to offer you user's all of the shipping service options, you can simply remove the ones that your customers would not need or are not likely to use.

If you wanted to further make it dynamic you can store the service and carrier types in two separate tables in your db and make sure to associate the service type to the carrier type through a foreign key relationship. Once you have done that you can then use Dynamic Dropdowns to filter the service options dependent on the carrier options chosen.

Sign in to reply to this post

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