Shipping Rates for HK Post

Description

Shipping rates calculated from open data postage rates published by Hongkong Post.

Supports following delivery services :-

Delivery Services by Shipping Zone

Store Managers can enable delivery service for each Shipping Zone giving more control over shipping options offered to customers in different geographies.

You can view the Demo here.

Contribute and translate

Help localize by adding your locale – visit translate.wordpress.org.

Screenshots

  • Shipping Method settings.
  • Add Hongkong Post shipping method to shipping zone.
  • Enable delivery services.
  • Shipping rates calculated for local destination.
  • Shipping rates calculated for international destination.

Installation

Minimum Requirements

  • PHP 7.2 or greater is recommended
  • MySQL 5.6 or greater is recommended

Automatic installation

Automatic installation is the easiest option — WordPress will handles the file transfer, and you won’t need to leave your web browser. To do an automatic install, log in to your WordPress dashboard, navigate to the Plugins menu, and click “Add New.”

In the search field type “Shipping Rates for HK Post” then click “Search Plugins.” Once you’ve found us, you can view details about it such as the point release, rating, and description. Most importantly of course, you can install it by! Click “Install Now,” and WordPress will take it from there.

Manual installation

Manual installation method requires downloading the plugin and uploading it to your web server via your favorite FTP application. The WordPress codex contains instructions on how to do this here.

Configuration

Go to plugin settings from ‘Settings’ link under the plugin on the Plugins page OR from WooCommerce > Settings > Shipping > Hongkong Post. Change the Shipping Method title and enable/disable debug mode if required.

Add Hongkong Post shipping method for a Shipping Zone by ‘Add Shipping Method’ and selecting ‘Hongkong Post’ from the dropdown.

Enable delivery service(s) by clicking on the ‘edit’ link under the ‘Hongkong Post’ shipping method to enable respective delivery service for the shipping zone.

FAQ

Are these official Hongkong Post rates?

Yes.
The plugin uses official opendata json based data published on Hongkong Post website.

Why are shipping rates not displayed?

Please check following configuration

  • Your store address (WooCommerce > Settings > General > Store Address) is set to Hong Kong.
  • Shipping calculator (WooCommerce > Shipping > Shipping Options > Calculations) is enabled.
  • Item(s) in the shopping cart have weights ( Product > Shipping > Weight ).
  • Delivery service for shipping zone ( WooCommerce > Setting > Shipping > edit Shiping Zone > edit Hongkong Post > delivery services) has been enabled.

Reviews

May 18, 2022 2 replies
Referring to the 2.2 version. I have gotten a message and error today.(2022-May) My WordPress also breaks down. Please fix it. I really need your apps. BIG THANKS! REF: // public function action_scheduler() { // if ( ! as_has_scheduled_action( 'update_rates_files', [], 'hk_post' ) ) { // as_schedule_cron_action( strtotime( 'tomorrow' ), '0 0 * * *', 'update_rates_files', [], 'hk_post' ); // } // }
December 6, 2020 1 reply
Follow the installation instructions, add to 2 different shipping zones: HK and International, still testing
Read all 3 reviews

Contributors & Developers

“Shipping Rates for HK Post” is open source software. The following people have contributed to this plugin.

Contributors

“Shipping Rates for HK Post” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Shipping Rates for HK Post” into your language.

Interested in development?

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

Changelog

2.2.1 – 2022-06-17

  • Tested upto 6.0
  • PHPCS

2.2 – 2022-03-23

  • Bug fix – incorrect file path

2.1 – 2022-03-20

  • PHP supported 7.2 onwards
  • Fixed warning cannot access private method
  • Fixed rates sorted only within HK Post

2.0 – 2022-03-17

  • Code refactor
  • Rate files auto updated

1.2.1 – 2022-01-22

  • Rate files updated

1.2.0 – 2021-03-10

  • Revised rates
  • Tested for WordPress 5.7
  • I18n

1.1.0

  • Additional delivery services
  • Instance settings for enabling delivery service for shipping zone

1.0.0

  • Major rewrite to replace SOAP based API integration with JSON data.

0.1.0

  • Inital Release