內容簡介
作者:Suncart Store
「按重量分割訂單」外掛能夠根據商品重量將訂單分割成多份。
這個外掛可以根據購物車中商品的重量自動將訂單分割成多個訂單。顧客將會收到不同的訂單編號。
有了不同的訂單編號,顧客可以在他們的訂單紀錄中查看所有訂單編號,並分別追蹤每個項目。
「按重量分割訂單」外掛特點
A) 預設條件
當條件為預設值時,不論重量如何,訂單都會被分割。
所有購物車中的商品都會被拆成單獨的訂單。例如:若一個訂單有4個商品,則該訂單將分割為4個不同的訂單,不論其重量如何。
B) 按重量分割
當我們啟用此選項時,woocommerce 的設定中會設定一個門檻重量值。
按重量分割表示只有當產品的總重量低於門檻重量時才會拆分訂單。
如果訂單中有多個項目,拆分訂單的數量取決於這個情況的總發生次數。
Markdown 範例
我們可以通過以下範例來了解這個外掛的工作過程。
這個外掛可以根據配置中指定的重量將訂單按重量分割成多個訂單。如果重量為1磅,而購物車中有以下情況,它會拆分成以下情況。
範例:購物車項目
我們在後台設置了2公斤的門檻重量,訂單中有5個商品,其中只有兩個商品重量為1公斤,其他商品重量都小於1公斤。那麼,訂單會分成2個不同的訂單,第一個訂單包括兩個重量各為1公斤的商品,而其餘商品將在下一個訂單中。
P1 = 1公斤,P2 = 0.6公斤,P3 = 0.3公斤,P4 = 0.1公斤,P5 = 1公斤。
然後它會被分割成:
訂單1 = P1 + P5,
訂單2 = P2 + P3 + P4,
注意:這裡的 P 意味著產品。
開發人員幫助
歡迎報告錯誤和反饋。在此處報告。
許可證
這個 WordPress 外掛是免費軟件,您可以根據 GNU 通用公共許可證在自由軟件基金會發佈的第2版或任意更新版本下重新分發和/或修改它。這個 WordPress 外掛是按「原樣」提供,不提供任何形式的明示或暗示擔保或條件保證,包括默示的商業適銷性或適用於特定用途的保證。有關更多詳細信息,請參見 GNU 通用公共許可證。您應該已經收到了GNU 通用公共許可證的副本,如果沒有,請看這裡。
外掛標籤
開發者團隊
② 後台搜尋「Split order by weight for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Author: Suncart Store
“Split order by weight” Plugin allows splitting an order into separate orders based on weight.
This Plugin can be used to split an order automatically into multiple orders based on the weight of the products in the cart. The customer will receive different order ids for their ordered cart.
With different order ids, customers can view all the order ids in their Order History and track each item separately.
Split order for WooCommerce Features
A) Default Condition
When the condition is Default then the order is split irrespective of any weight.
All items in the cart available will be splitted into a seperate order.
Example: If an order has 4 products then the order is split into 4 different orders no matter what the weight of items are.
B) Split by Weight
When we enable this option, a threshold weight value is set in woocommerce settings.
Split by weight means order splits only if the total weight of products comes under threshold weight.
In case of more than one item in order, the number of split orders depends on the total occurrence of this case.
A brief Markdown Example
We can understand the work process of the Plugin with the below-given example.
This Plugin will split order by weight into multiple orders based on the specified weight in the configuration. If the weight is 1lbs and the cart has a below scenario then it will split as below scenario.
Example: Cart Items
We have set 2 Kg as threshold weight in the backend and we have 5 products in order out of which only two products have weight 1 kg others have weight less than 1 Kg. Then the order will split in 2 different orders having different order ids. In first order, two items with 1 kg weight each and the rest of items will be in next order.
P1 = 1 Kg
P2 = .6 Kg
P3 = .3 Kg
P4 = .1 Kg
P5 = 1 Kg
Then it will be split like:
Order 1 = P1 + P5,
Order 2 = P2 + P3 + P4,
Note: Here is P means = Product.
Developer Help
Bug reports and feedbacks are always welcome. Report here.
License
This WordPress plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or any later version.
This WordPress plugin 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. You should have received a copy of the GNU General Public License along with this WordPress plugin. If not, see.
