前言介紹
- 這款 WordPress 外掛「Class Based Shipping for WooCommerce — Define shipping methods per shipping class」是 2022-07-25 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2022-07-26,距離現在已有 1013 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.5 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
shipping | shipping class | shipping method | customize shipping | class based shipping |
內容簡介
這個免費的外掛可以讓您輕鬆地為每個運送類別自定義運送方式,因此您可以根據產品類別提供不同的運送選項。
它如何運作?
簡單地創建或編輯現有的運送類別,然後在運送類別的說明欄位中設置可用的運送方式(見下面語法)。當購物車中有一個或多個項目符合自訂的運送方式類別時,外掛程式將將默認的運送方式更改為指定的運送方式。
自訂語法
要為 WooCommerce 運送類別自定義可用的運送方式,只需在運送類別的說明欄位中使用以下外掛程式語法:CLASS_BASED_SHIPPING(shipping_method_1_id, shipping_method_2_id [, etc])
例如,您可能希望有一個運送類別,供可以在當地取貨或使用固定運費方式運送的產品使用:CLASS_BASED_SHIPPING(flat_rate, local_pickup)
運送類別的說明欄位還可以包括其他文本,只要不干擾上面外掛程式標籤的語法即可。
原文外掛簡介
This free plugin allows you to customize with ease the shipping methods available for each shipping class, so that you can offer different shipping options per product class.
How does it work?
Simply create or edit an existing shipping class, and set the available shipping methods in the Description field of the shipping class (see below syntax). The plugin will then the default shipping methods to the ones specified when one or more items in the cart match the customized shipping methods class.
Custom syntax
To customize the available shipping methods for a WooCommerce shipping class, simply use the following plugin syntax inside the description field of the shipping class: CLASS_BASED_SHIPPING(shipping_method_1_id, shipping_method_2_id [, etc])
For example, one may wish to have a shipping class for products which can be picked up locally or shipped using a flat rate method: CLASS_BASED_SHIPPING(flat_rate, local_pickup)
The class description field may also include additional text, as long as it does not interfere with the syntax of the plugin tag above.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Class Based Shipping for WooCommerce — Define shipping methods per shipping class」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。