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

Shipping USA and International

Thread began 12/01/2011 1:44 pm by bearpawwd431893 | Last modified 3/27/2012 8:23 pm by Jason Byrnes | 1236 views | 21 replies |

bearpawwd431893

Shipping USA and International

I want to set up my cart to calculated shipping based on various cost of the sub total of the cart. I understand how to do the various shipping costs. However, how do you distinguish different amounts for USA shipping and for international shipping.

Thanks,

Sign in to reply to this post

Jason ByrnesWebAssist

the selected shipping country is stored in a session named:
eCartCheckoutForm_shipping_country

on the shipping rules, set the triggers:
Session Variable "eCartCheckoutForm_shipping_country" Exists:

AND Based on Session Variable Value.


for US Shipping, Use:
if session variable "eCartCheckoutForm_shipping_country" has a value "=" to "US"

for international shipping use:
if session variable "eCartCheckoutForm_shipping_country" has a value "!=" to "US"

Sign in to reply to this post

bearpawwd431893

The US and International are the same. Is that correct?

Sign in to reply to this post

Jason ByrnesWebAssist

the difference is the comparison.

in the us rule the comparison is
eCartCheckoutForm_shipping_country" has a value "=" to "US"

using the equals to operator

in the international rule the comparison is:
eCartCheckoutForm_shipping_country" has a value "!=" to "US"

using the Not Equals to operator.

Sign in to reply to this post

bearpawwd431893

I understand. Thanks for the quick reply.

Sign in to reply to this post

johna1964

Quick Question

Hi,

I understand the not equal to operator. If I need to add addtional country flat rate shipping could I use:

eCartCheckoutForm_shipping_country" has a value "!=" to "US, CA, MX" (for example)


then new rules for each with appropriate triggers for the flat rates for US and CA and MX ?

Thank you!

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

no, you would need to use :

triggers:
eCartCheckoutForm_shipping_country" has a value "!=" to "US"

OR
eCartCheckoutForm_shipping_country" has a value "!=" to "CA"

OR
eCartCheckoutForm_shipping_country" has a value "!=" to "MX"

Sign in to reply to this post

johna1964

International Shipping Questions

Hi Jason,

I am currently using the eCart Object originally set up through the wizard and only shipping in US only (I am trying to set up International)

The state text field is presently a required field. How do I get around this when other countries may not have an input state or perhaps it is not listed? What is the usual thing to do about this?

Also, when I set up the international shipping through the eCart Object step by step:

1. Open the cart page
2. Edit the eCart Object from the server behaviors panel
3. Shipping Tab

Do I edit the Shipping & Handling rule then add a new rule for International?

Do I need to do anything else to get this to work?

Also the MX and CA flat shipping is different, I would need to set up those as additional rules?

Thank you!

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

you will need to add a new shipping rule for each region.


you will need separate shipping rules for MX and CA and separate shipping rules for international.

Sign in to reply to this post

johna1964

Hi Jason,

When I edit the shipping & handling rule, adding the following as you explained earlier in the thread:

the selected shipping country is stored in a session named:
eCartCheckoutForm_shipping_country

on the shipping rules, set the triggers:
Session Variable "eCartCheckoutForm_shipping_country" Exists:

AND Based on Session Variable Value.


for US Shipping, Use:
if session variable "eCartCheckoutForm_shipping_country" has a value "=" to "US"

I am receiving the error message that is uploaded as a screen shot. Also,the shipping amount is missing from the confirm.php and the html code is showing in the special instruction text area that was properly viewable before trying to add the international shipping rules.

What else do I need to do to make this work?

Thank you!

johna1964

Attached Files
error_message.zip
Sign in to reply to this post
loading

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