close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Help With Origin Shipping Rate Calculation

Thread began 8/27/2012 4:35 am by sfranzken73972 | Last modified 8/29/2012 11:03 am by Jason Byrnes | 1290 views | 6 replies |

sfranzken73972

Help With Origin Shipping Rate Calculation

I need to setup a rule that is based on subtotal of cart and country of origin.

How would I go about setting up a custom expression that says for example, For Domestic orders shipped within U.S., for orders that are $.01 to $40.00 (cart subtotal) = $3.00 shipping and is United States use this formula? How would I write that?

Because below I have to make a distinction that excludes the United States for international rates that would be if order is .01 to $40.00 = $12.00 and NOT United States?

How would I go about creating a custom shipping method for this, would this come in to play on the page where the customer enters their information on country and cc info?

Please help me as Im very lost.

shopping-cart.php

Here are the rules.

For Domestic: If the purchase is:

$.01 to $40.00 = $3.00 shipping

40.01 - 80.00 = 5.00 shipping

80.01 - and up = 7.00 shipping




Can you set the price for International shipping.

.01 to $40.00 = $12.00

40.01 to 80.00 = $15.00

80.01 to and up = $17.00

Sign in to reply to this post

Jason ByrnesWebAssist

when the checkout form posts to the confirm page, the shipping country is stored in a session variable named:
eCartCheckoutForm_shipping_country


you would need to create separate shipping rules for each price break, for domestic and international.


the rules will set the price breaks by using the Based on taxable total trigger, but then add another trigger for session Variable is set "eCartCheckoutForm_shipping_country" and Based on Session Variable value.

for the domestic shipping rules use:
session variable "eCartCheckoutForm_shipping_country" is "=" a value of "US"

for the international rules use:
session variable "eCartCheckoutForm_shipping_country" is "!=" a value of "US"

Sign in to reply to this post

sfranzken73972

Quick Question

I dont see a trigger in shipping tab for Based on taxable total trigger; see screenshot to be sure Im doing this correctly thus far?

Sign in to reply to this post

Jason ByrnesWebAssist

your looking in the list of calculations type list, not the triggers list.

Sign in to reply to this post

sfranzken73972

Ok

Ok so they are all triggers then I need to create?

Sign in to reply to this post

sfranzken73972

So this would be the first for domestic correct?

Thanks for your guidance

Sign in to reply to this post

Jason ByrnesWebAssist

yes, that is correct for the triggers.

in the calculation section, use a flat rate calculation of 3.00

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