[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

oik-weightcountry-shipping.php


Lines:

1 to 61 of 61
<?php

/**
 * Plugin Name: oik Weight/Country Shipping
 * Plugin URI: https://www.oik-plugins.com/oik-plugins/oik-weightcountry-shipping
 * Description: WooCommerce extension for Weight/Country shipping
 * Version: 1.3.4
 * Author: bobbingwide
 * Author URI: https://www.oik-plugins.com/author/bobbingwide
 * License: GPL2
 * Text Domain: oik-weightcountry-shipping
 * Domain Path: /languages/
 
    Copyright Bobbing Wide 2014-2017 ( email : [email protected] ) 
    Copyright 2012 andyswebdesign.ie 

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License, version 2, as
    published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    The license for this software can likely be found here:
    http://www.gnu.org/licenses/gpl-2.0.html
*/


/* function init_oik_shipping() – Implement "plugins_loaded" action for oik-weightcountry-shipping */
/* class OIK_Shipping */
/* function OIK_Shipping::__construct() – Constructor for OIK_Shipping class */
/* function OIK_Shipping::init() – */
/* function OIK_Shipping::init_form_fields() – */
/* function OIK_Shipping::display_country_groups() – */
/* function OIK_Shipping::calculate_shipping() – Calculate shipping rates */
/* function OIK_Shipping::get_countrygroup() – Retrieve the number of the country group for the country selected by the user on checkout */
/* function OIK_Shipping::get_rates_by_countrygroup() – Retrieves all rates available for the selected country group */
/* function OIK_Shipping::set_countrygroup_title() – Set the title for this country group rate */
/* function OIK_Shipping::pick_smallest_rate() – Picks the right rate from available rates based on cart weight */
/* function OIK_Shipping::sort_ascending() – Sort the rates array by ascending weight */
/* function OIK_Shipping::no_shipping_available() – Implement "woocommerce_cart_no_shipping_available_html" */
/* function OIK_Shipping::admin_options() – Display Weight/Country shipping options */

  
/* function add_oik_shipping() – Implement ‘woocommerce_shipping_methods’ filter for oik-weightcountry-shipping */

/* function init_oik_weightcountry_l10n() – Implement ‘woocommerce_init’ to load l10n versions and then initialise weight/country shipping */
  
//add_action( 'plugins_loaded', 'init_oik_shipping', 0 );
add_filter( 'woocommerce_shipping_methods', 'add_oik_shipping' );
add_action( 'woocommerce_init', 'init_oik_weightcountry_l10n' );

if ( !function_exists( "bw_trace2" ) ) {
/* function bw_trace2() – */
/* function bw_backtrace() – */
}


 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: oik-weightcountry-shipping.php
      Plugin ref: oik-weightcountry-shipping – WooCommerce extension
      Version: 1.3.4
      Deprecated?: No
      API Letters: O,P,S,W

      Published: March 14, 2017 | Last updated: March 14, 2017

      Information

      File name: oik-weightcountry-shipping.php
      Plugin ref: oik-weightcountry-shipping – WooCommerce extension
      Version: 1.3.4
      Deprecated?: No
      API Letters: O,P,S,W

      Recent plugin updates

      oik-weight-zone-shipping v0.2.3 

      Update to fix a problem if some of your products use shipping classes. Tested with WooCommerce v4.9.1.

       ...
      oik-weight-zone-shipping v0.2.2 

      Upgrade to oik-weight-zone-shipping v0.2.2 for internationalized strings for migration. This version may also resolve a problem where a Warning message is produced while listing Shipping classes.

       ...
      oik-weight-zone-shipping v0.2.1 

      oik-weight-zone-shipping v0.2.1 fixes a problem with v0.2.0 on worpress.org, where two new files weren't included in the SVN repository.

       ...
      oik-weightcountry-shipping v1.4.0 

      oik-weightcountry-shipping v1.4.0 has been tested with WordPress 5.6 and WooCommerce 4.8.0. It is no longer supported. We suggest you switch to the oik weight zone shipping plugin.

       ...
      oik-weight-zone-shipping v0.2.0 

      oik-weight-zone-shipping v0.2.0 now supports migration from oik weight/country shipping. You can create Multi Rate shipping tables and methods restricting shipping classes.

       ...

      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: [email protected]

      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-2021. All rights reserved.


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