這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Shipping Rates for HK Post

描述

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.

螢幕截圖

  • 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.

安裝

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.

常見問題

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.

評價

2024年11月16日 2 replies
The live rates are working. Unfortunately the plugin will only shown in fixed HKD in number during checkout. My site is selling in USD, when customer purchased a USD30 item, and shipping is HKD50. The total will be USD80. There are no setting to change this so I can’t use this plugin….
2022年5月18日 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' ); // } // }
2020年12月6日 1 reply
Follow the installation instructions, add to 2 different shipping zones: HK and International, still testing
閱讀全部4個評價

貢獻者及開發者

“Shipping Rates for HK Post” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Shipping Rates for HK Post 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Shipping Rates for HK Post 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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