
內容簡介
這個外掛可讓您針對每個 WooCommerce 產品設定保證金,例如瓶子保證金等等。此外掛已提供德文翻譯。如有需要客製化設定,請透過聯絡我們進行。
這個外掛原本是為了德國飲品店所開發,他們需要針對瓶子和盒子等物品設定保證金,並且需要顯示在稅金計算之外。
使用這個外掛,您只需要在「產品 - 保證金類型」中加入價格就能將保證金加至任何 WooCommerce 產品中。
請注意:由於 WordPress 允許使用者新增多個值並使用逗號分隔,您必須使用「.」作為小數分隔符號輸入價格,而不受 WooCommerce 設定的影響。
功能
可翻譯(已提供德文翻譯)
使用 WordPress 和 WooCommerce 內建功能,因此完全相容於其他外掛,例如 WP 匯出/匯入工具
業者友善(未來將提供更多鉤子和文件)
自訂程式碼
由於不同使用者應會有不同的客製化需求,如:
與 WooCommerce German Market 相容(停用保證金稅金計算)
連結保證金至運輸區域或客戶語言
設定強制出售(例如每 X 瓶啤酒必須購買 1 個啤酒盒)
啟用稅金計算
Github 存儲庫:https://github.com/nerdissimo-de/woocommerce-pfand
聯絡方式:http://www.nerdissimo.de
過濾器
`get_deposit`
(int) 計算保證金時啟動。
`wc_deposit_settings`
(array) 設定欄位正在進行配置時啟動。
`add_deposit_value_to_totals`
(bool) 增加保證金費用之前啟動(待更名?)
`dep_total_before_add_fee`
(int) 增加保證金費用之前啟動
`tax_class_before_add_fee`
(string) 增加保證金費用之前啟動
`display_deposit`
(bool) 當外掛確定要增加保證金時啟動
外掛標籤
開發者團隊
② 後台搜尋「Pfand (Deposit) for WooCommerce Products」→ 直接安裝(推薦)
原文外掛簡介
Dieses Plugin ermöglicht es, jedem Woocommerce Produkt Pfandwerte zuzuweisen und somit Dinge wie Flaschenpfand abzubilden. Deutsche Übersetzung liegt bei. Für Anpassungen bitten wir um Kontaktaufnahme.
This plugin was written for a German beverage store. They needed deposits for bottles as well as boxes, which would be displayed separately and excluded from tax calculation.
With this plugin you can add a deposit to any WooCommerce product by adding the price under Products - Deposit Types.
Note: Because WordPress allows users to add multiple values and
comma-separate them, you have to input the prices with ‘.’ (period) as the decimal separator, independent of WooCommerce settings.
Features
Translation-ready (German translation included)
Uses built-in functionality of WordPress and Woocommerce thus fully compatible with, e.g. WP Export/Import tools
Developer-friendly (more hooks & documentation to come)
Custom code
Since there are a lot of different ways you or your customer may want this set up, please contact us for customizations such as:
Compatibility with WooCommerce German Market (disable taxing off deposit)
Link deposit to shipping zones’ methods or customer language
Force sells (e.g. 1 beer crate for every x bottles)
Enabling of tax calulation
Github Repository: https://github.com/nerdissimo-de/woocommerce-pfand
Contact: http://www.nerdissimo.de
Filters
`get_deposit`
(int) runs when deposit is calculated.
`wc_deposit_settings`
(array) runs when the settings tab is being configured.
`add_deposit_value_to_totals`
(bool) runs before deposit fee is added (to do: rename?)
`dep_total_before_add_fee`
(int) runs before deposit fee is added
`tax_class_before_add_fee`
(string) runs before deposit fee is added
`display_deposit`
(bool) runs when the plugin determines to add deposit
