Posts Tagged ‘2 country shipping quotes’

Two shipping quotes – Free for domestic and Flat rate for international

January 22, 2011

So what I was trying to do was to get 2 shipping prices for the t-shirts. Basically I want to make shipping within New Zealand free and I want to charge a flat rate of $12 to all orders to the UK.

Now I was not really aware of how the shipping quotes actually work when I first tried to do this and I got myself in a bit of a situation where I was adding a charge onto each garment ordered. So I went back to first principles and read about flat rate shipping quotes on the ubercart website.

Basically its really easy to set up the flat rate shipping options. Here are the steps –

 

Enable countries

admin/store/settings/countries/edit – here you can enable which countries you would like to offer shipping to. I have chosen 5 countries but I have only enabled 2 right now. These are the two which I will create shipping quotes for.

Set up the 2 shipping quotes

admin/store/settings/quotes/methods/flatrate/add – Add the flat rates for the 2 countries here. I have created NZ as $0 and UK as $12. Look carefully here as this is where I had my initial problem (of the shipping being multiplied by how many garments the customer bought)

The ‘base price’ is your shipping charge and ‘Default product shipping rate’ is where you can add a rate that will get added ON TOP of the base price, for each product in the checkout. Ah ha! I had been entering my shipping price into both and then having to fix that in the individual product settings where it is possible to over-ride this setting.

So you can see here the base price of $12 and the default product rate of $0.

 

And here you can see where I was doin an over-ride before in product settings. I now no longer have to do this and I am able to leave this blank (rather than $0.0000) The main benefit of this is that I do not have to go into each product separately and enter this – that was such a pain!)

 

Adding Conditional Actions

admin/store/ca – Here we are in the store administration and in conditional actions. The shipping quote setting is a conditional action. Basically what that means is that you are able to set conditions for each shipping rate so that it is only applied when those conditions are set. For example you could have free shipping on all large orders of ten or more, or you can have, like me, free shipping to one country but not to another.

So in here we have to set up the 2 conditional actions (shipping prices) for the two countries.

First I did New Zealand, which is free. In meta data I just gave it the title ‘Shipping Quote in New Zealand’. I think its best to keep names really descriptive so that if I am away from the site for a long time I will know exactly what everything is when I come back.

Its in the conditions where the magic happens.

So in conditions the settings look like this –

Basically all I have done is add a condition from the drop down list called ‘Check an order’s shipping country’ and then click on New Zealand in the list of countries that pops up at the bottom. Now what will happen is that this shipping quote will be applied when the shipping country is New Zealand – yay!

I had to also do the same for UK shipping (but obviously highlight United Kingdom rather than New Zealand!)

Now the shipping is “calculated” on which country is chosen at the checkout. Its only a flat rate tho so I am still not sure why they have to ask for province etc but I will fix that another day. For now it works and thats good enough for me!