[WordPress] 外掛分享: Shipping Labels for DHL eCommerce APAC

首頁外掛目錄 › Shipping Labels for DHL eCommerce APAC
WordPress 外掛 Shipping Labels for DHL eCommerce APAC 的封面圖片
100+
安裝啟用
☆☆☆☆
1.5/5 分(2 則評價)
7 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.1.8 上架:2023-03-20

內容簡介

Shipping Labels for DHL eCommerce APAC 外掛能自動化您的運送工作流程,將 WooCommerce 商店與 DHL eCommerce APAC 服務連接,並支援 WooCommerce HPOS,提供自動追蹤狀態更新功能。

【主要功能】
• 直接從 WooCommerce 控制台生成和列印運送標籤
• 自動追蹤貨件並透過 Webhooks 更新訂單狀態
• 在結帳時提供 DHL 運送選項
• 根據目的地、重量和尺寸計算準確的運費
• 支援 WooCommerce HPOS(高效能訂單儲存)
• 簡易介面生成和列印運送標籤

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.8) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Shipping Labels for DHL eCommerce APAC」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The Shipping Labels for DHL eCommerce APAC plugin, developed by Algoleap Technologies Pvt Ltd, automates your shipping workflow by connecting your WooCommerce store to DHL eCommerce APAC services — with full support for WooCommerce HPOS and now automatic tracking status updates via Webhooks.
Key Features

Generate and print shipping labels directly from WooCommerce admin.
Automatically track shipments and update order status via Webhooks.
Offer DHL shipping options at checkout.
Calculate accurate shipping rates based on destination, weight, and dimensions.
Supports WooCommerce HPOS (High-Performance Order Storage).
Easy-to-use interface for generating and printing shipping labels.
Seamless integration with WooCommerce checkout process.
Detailed documentation and support available.

New in Version 1.1.8

Fixed: Fatal Error on Order Edit Screen (Critical Fix)

Resolved “Call to a member function get_data() on bool” crash occurring on line 108 of the shipping label class.
Root cause: $getOrderproductmname was a redundant second wc_get_order() call that could return false (bool) when the order ID variable was undefined, causing a fatal error when get_data() was called on it.
Fix: Removed the redundant wc_get_order() call entirely. The already-resolved $dhl_order order object is now reused directly, which is guaranteed valid by the guard above it.
$dhl_order_id has been restored and is always correctly set from $dhl_order->get_id().
The order guard has been strengthened from a loose truthy check (!$dhl_order) to a strict type check (!$dhl_order instanceof WC_Order), preventing any non-order value from passing through.

Fixed: Fatal Error on Cash on Delivery Field (Critical Fix)

Resolved “Call to a member function get_total() on null” crash occurring on line 434 of the shipping label class.
Root cause: The Cash on Delivery input field in the meta box HTML was still referencing the old $getOrderproductmname variable, which no longer exists after the above fix.
Fix: Replaced $getOrderproductmname->get_total() with $dhl_order->get_total(), which is the correct, already-validated order object.
All remaining references to $getOrderproductmname have been removed from the file — a full scan confirms zero occurrences remain.

Improved: Order Object Handling

Eliminated all redundant wc_get_order() calls inside the meta box render function.
Order data, items, and totals are now all retrieved from a single validated $dhl_order instance.
Reduces database queries per page load on the order edit screen.

Configuration

Enter your DHL eCommerce APAC API credentials.
Configure your default package dimensions and shipping preferences.
Enable Webhook tracking updates (enabled automatically).
Enable debug logging if needed.

Usage
Creating Shipping Labels

Go to WooCommerce → Orders.
Open any order and find the “DHL eCommerce APAC” panel.
Fill in shipping details and click Generate Label.
Download and print the generated label.

Bulk Label Creation

Go to WooCommerce → Orders.
Select multiple orders.
Choose Create DHL eCommerce APAC Labels from the Bulk Actions dropdown.

Automatic Tracking Updates

DHL’s ELR system automatically sends tracking updates to your webhook endpoint.
The WooCommerce order table updates the Tracking Status automatically.

WooCommerce HPOS Compatibility
Fully compatible with WooCommerce High-Performance Order Storage.
Privacy & Logging
Webhook and API logs are stored securely in WooCommerce → Status → Logs (when enabled).
Disclaimer
This plugin is an independent DHL eCommerce APAC integration and is not officially endorsed by DHL.
Support
Contact the WordPress plugin support forum or [email protected].

延伸相關外掛

文章
Filter
Apply Filters
Mastodon