Weight/Country Shipping for WooCommerce

Description

If your WooCommerce store needs to calculate shipping charges based on cart weight and country of delivery
and you’re still using WooCommerce 2.5 or earlier then this plugin is for you.

You can group countries that share same delivery costs (e.g. USA and Canada, European Union countries, etc.) or
set the shipping costs on a per-country basis.

If you’re using WooCommerce 2.6 you should use Weight zone shipping for WooCommerce 2.6
as this is integrated with Shipping Zones.

Features

New in version 1.3.2

  • Russian language version

New in version 1.3.1

  • Support for maximum cart weight
  • French language version

New in version 1.2

  • Ability to set zero cost shipping for certain weight ranges
  • No longer chooses the lowest rate from a higher weight range

New in version 1.1

  • Enabled for localization in your language.
  • Tested with WooCommerce 2.3.8

New in version 1.0.9

  • Set the Shipping Method Title per Rate

New in version 1.0.5

  • Supports carts with zero weight
  • Supports default rates when Country is not listed in a country group

In version 1.0.4

  • Set multiple shipping rates based on cart weight and delivery country
  • Group countries sharing same rates and set rates once for all of them
  • Unlimited groups of countries
  • Unlimited rates
  • Works with WooCommmerce 2.0 and 2.1
  • Works on WPMS

Known Limitations

  • Requires Countries to have been added to the Specific Countries list, if your Selling Location(s) option is to ‘Sell to specific countries only’
  • Calculates charges based on the total cart weight; it doesn’t pay any attention to shipping classes or product categories
  • Doesn’t support different charges to state or region
  • Doesn’t take into account dimensions
  • Only returns one shipping rate per weight/country group combination.

For multiple shipping rates upgrade to Multi rate weight/country shipping for WooCommerce plugin

For WooCommerce 2.6+ use either
Weight zone shipping for WooCommerce 2.6+
or Multi rate weight zone shipping for WooCommerce 2.6+

Documentation

After installation activate this shipping method.

Go to WooCommerce->Settings->Shipping select Weight/Country Shipping and tick enable box.

Rates are set based on “Country Groups”.
Country Groups are groups of countries (or a single country) that share same delivery rates.

Screenshots

  • Weight and Country shipping settings part one
  • Weight and Country shipping settings part two
  • WooCommerce Checkout shipping rate
  • Enable Shipping Debug Mode when modifying rates

Installation

  1. Upload ‘oik-weightcountry-shipping’ to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set your delivery rates in WooCommerce->Settings->Shipping using the Weight/Country tab

FAQ

Installation Instructions
  1. Upload ‘oik-weightcountry-shipping’ to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set your delivery rates in WooCommerce->Settings->Shipping using the Weight/Country tab
Installation
  1. Upload ‘oik-weightcountry-shipping’ to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set your delivery rates in WooCommerce->Settings->Shipping using the Weight/Country tab
Which version of WooCommerce does this work on?

The latest version has been tested with both WooCommerce 2.5.5, WooCommerce 2.6.14

What is the separator for the shipping rate table?

You can use vertical bars, forward slashes or commas.
Blanks around values will be ignored.

0|9.99|0
1 | 92.99 | 0
1 | 92.98 | 2
100 | 93.97 | 2
30|120.00|1
0| 1.23 | 3
1 / 1.24 / 3
2 , 3.45 , 3
How do I set the Method Title?

If you want to use a different title per rate then add this for each rate where the Method Title should be different from the default.

0|9.99|0 | Unknown destination - zero weight
1 | 92.99 | 0 | Country group 0
1 | 92.98 | 2
100 | 93.97 | 2
30|120.00|1
0| 1.23 | 3
1 / 1.24 / 3
2 , 3.45 , 3 / CG3
Does this support multiple rates per weight/country combination?

If you have a requirement to offer multiple shipping rates then we recommend using WooCommerce 2.6 with

If you’re still using WooCommerce 2.5 you’ll need:

The Multi rate version supports multiple rates per weight/country combination e.g.

100 | 1.23 | 1 | UK standard
100 | 2.34 | 1 | UK premium
Are there any other FAQs?

Yes. See oik weight/country shipping FAQS
and Multi rate weight/country shipping for WooCommerce FAQ’s

Reviews

So good

Hello, i use this plugin since severals years and it is the best for me in France for La Poste,
I add another for Mondial Relay.

So i am allways afraid you do not follow your plugin because i cannot life without it

Read all 18 reviews

Contributors & Developers

“Weight/Country Shipping for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

“Weight/Country Shipping for WooCommerce” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Weight/Country Shipping for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.3.4

  • Tested: With WordPress 4.7
  • Tested: With WooCommerce 2.6.14
  • Tested: With PHP 7.1

1.3.3

  • Tested: With WordPress 4.7 and WooCommerce 2.5 or 2.6
  • Added: Russian language version. Unverified.
  • Changed: Updated readme to point you to Weight zone shipping for WooCommerce 2.6

1.3.2

  • Fixed: Issue #6 – Correct dummy bw_trace2() function
  • Tested: With WordPress 4.4 and WooCommerce 2.4.11

1.3.1

  • Added: Support for maximum cart weight
  • Added: French language version. Props to Rémy Perona and WooCommerce
  • Changed: Now using semantic version numbering

1.3

  • Fixed: Notice: Undefined offset from line 331

1.2

  • Fixed: Responds to ‘woocommerce_init’ rather than ‘init’
  • Changed: Changed the pick_smallest_rate method to pick the rate for the given weight band.

1.1

  • Added: Responds to ‘init’ to load language versions and initialise the logic
  • Added: Sample language files for the bbboing language ( locale bb_BB )

1.0.9

  • Changed: Supports optional setting of the Method Title on each line in the shipping rate table

1.0.8

  • Changed: Supports separator characters of |=vertical bar, /=forward slash and/or ,=comma in the shipping rates table
  • Tested: With WordPress 4.1 and WooCommerce 2.2.10

1.0.7

  • Changed: Support blanks in the shipping rates table
  • Changed: Set text domain to “oik-weightcountry-shipping” instead of “woocommerce”. No language versions yet.
  • Changed: Added some docblocks for API documentation
  • Tested: With WordPress 4.0 and WooCommmerce 2.2.4

1.0.6

  • Fixed: Remove dummy bw_trace2() and bw_backtrace() functions and calls.

1.0.5

  • Changed: Calculates shipping charges for zero weight carts
  • Changed: Calculates charges for “any other country” using country group 0
  • Fixed: Should no longer produce Warning messages

1.0.4

  • Fixed: Removed calls to trace functions: bw_trace2() and bw_backtrace().

1.0.3

  • New: New version for delivery from oik-plugins.co.uk
  • Changed: Removed some links.
  • Changed: Fixed some PHP Notify messages.

1.0.2b

1.0.1

  • Fixed a bug causing tax on shipping not being calculated
  • Fixed a bug causing delivery being displayed as free when a country was in allowed countries list, but no rate was specified for this country.
  • Fixed a bug causing delivery method being displayed to the user when no rate was specified for selected country of delivery
  • Fixed some typos
  • Changed some option labels to make them more clear

1.0

  • First release