[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog
You are here: Home / oik-weightcountry-shipping – basic user guide

oik-weightcountry-shipping – basic user guide

The OIK Weight / Country Shipping plugin is a free WooCommerce plugin extension. It lets you set shipping charges based on the country of delivery entered on checkout and the total weight of the products in the cart. If your WooCommerce store sells and ships to multiple countries, and you need weight based, per-country (or country group) shipping cost calculation, this plugin is for you.

Installation

Standard WordPress plugin installation applies.

Configuration

Once active, the Weight/Country shipping method will appear in WooCommerce -> Settings -> Shipping.

Enable/Disable, Method Title, Tax Status and Handling Fee are common Woocommerce shipping options and work like in other shipping methods.

Shipping Rates

This is where you set your rates. Shipping rates work in tandem with Country Groups. You always assign rates to a country group. This way countries that have same shipping costs (say European Union) can share this setting.

Shipping rates require 3 parameters divided by the pipe “|” sign. They look like 50|1.10|1 First parameter (50 in our example) is the weight in the unit you choose for the shop (pounds, grams, kg, etc.). This rate applies for carts with a total weight up to 50. If the cart is heavier, the next rate is used. If there is no other rate, the “heaviest” – and usually most expensive – rate is used. Second parameter (1.10 in our example) is the shipping charge for carts weighing up to 50. Third parameter (1 in our example) is the number of the country group that this rate applies to. Optional fourth parameter is the override text for the shipping method.

Example of rates settings

You should have multiple rates for every country group. For example if your package carrier has different rates for parcels weighing 50, 100 and 250 grams for country/countries you defined in country group 1 your rates can look like this:
50|1.10|1
100|1.60|1
250|2.25|1 | up to 250 gms
In this example delivery charges will be as follows:
  • carts weighing between 1 and 50 grams – 1.10
  • carts weighing between 51 and 100 grams – 1.60
  • carts weighing between 101 and 250 grams 2.25
Carts over 250 grams will be charged 2.25 as well, as this is the highest available rate. Number of country groups – how many country groups to create? You can increase/decrease the number at any stage. Country groups – they let you select countries that share the same shipping rates. Of course, Country Groups can contain only one country if you want. Important thing about country groups is their number. This number should be used when defining rates. If country group number is 2 you define rates for this group by using “2” as the third parameter in the rate, e.g. 100|3.60|2 As you can have unlimited number of Rates and Country Groups you have great flexibility in building your international shipping rates.

Upgrades

Upgrades are supported automatically from WordPress.org.

Published: March 30, 2014 | Last updated: December 1, 2020

Information

Component:
  • oik-weightcountry-shipping – WooCommerce extension
Letters: O

Recent plugin updates

oik-weight-zone-shipping v0.2.13 oik-weight-zone-shipping v0.2.13 has been tested with WooCommerce 10.1.2 and WordPress 6.8.2 ...
SB Children Block v1.3.0 Upgrade to SB Children Block v1.3.0 for support for PHP 8.3 and PHP 8.4  ...
oik v4.15.3 Update to oik v4.15.3 for a couple of security fixes. Tested with WordPress 6.8.2 ...
oik-privacy-policy v1.4.9 Update to oik-privacy-policy v1.4.9 for a security fix. Tested with WordPress 6.8.2 and PHP 8.3 and PHP 8.4 ...
oik-nivo-slider v1.17.0 oik-nivo-slider v1.17.0 introduces the Nivo slider block - oik-nivo-slider/nivo. ...

Plugins

  • All Plugins
  • oik base plugin
  • FREE oik plugins
  • WordPress plugins
  • Premium oik plugins

Themes

  • FREE themes
  • Bespoke themes
  • Premium themes

Blocks

  • All Blocks
  • Block examples
  • About Blocks

Shortcodes

  • All Shortcodes
  • Shortcode examples
  • About Shortcodes

Reference

  • About APIs
  • All APIs
  • All Classes
  • All Files
  • All Hooks

Support

  • Contact
  • Cookies policy
  • Get API key
  • Privacy
  • Request support
  • Sitemap
  • Stay informed
  • Terms and Conditions
oik-plugins
Email: oikplug@oik-plugins.com

Weight shipping plugins

Find out which cart weight shipping plugin you need for your WooCommerce site.
Which cart weight based plugin do I need?

Site:  www.oik-plugins.com
© Copyright oik-plugins 2011-2025. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins

WordPress version: 6.8.3

Gutenberg version: 21.7.0

PHP version: 8.2.29