[WordPress] 外掛分享: Pfand Manager

首頁外掛目錄 › Pfand Manager
全新外掛
安裝啟用
尚無評分
53 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.2+ v1.0.4 上架:2026-02-17

內容簡介

總結:Pfand Manager 是一個輕量的 WooCommerce 外掛,可讓您為每個產品添加一筆按產品的押金("Pfand"),並將其自動顯示為購物車和結帳時的獨立費用。這個外掛適合飲料押金、可重複使用包裝、瓶押金系統或任何需要可退還押金的場景。

問題與答案:
1. Pfand Manager 可讓您如何在 WooCommerce 產品中添加押金?
- 將 Pfand(€)輸入欄位添加到 WooCommerce 產品中。

2. 在購物車和結帳時,Pfand Manager 如何計算 Pfand 的費用?
- 根據每個產品單獨定義的 Pfand 值,並乘以購物車中的產品數量,顯示為單一費用行。

3. 使用 Pfand Manager 外掛的好處是什麼?
- 通過在購物車和結帳時將 Pfand 顯示為獨立費用,保持產品價格的乾淨和透明。

4. 如何在產品中設置 Pfand?
- 前往「產品」→「編輯產品」,輸入 Pfand 金額(例如 0.25),保存產品後將其加入到購物車中。

5. 如何使用篩選器自訂標籤和稅收行為?
- 可以使用篩選器來更改費用標籤或將 Pfand 設置為應納稅項。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Pfand Manager」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Pfand Manager is a lightweight WooCommerce plugin that allows you to add a per-product deposit (“Pfand”) and automatically display it as a separate fee in the cart and checkout.
The Pfand value is defined individually for each product and multiplied by the product quantity in the cart. The resulting amount is shown as a single fee line, keeping product prices clean and transparent.
This plugin is ideal for beverage deposits, reusable packaging, bottle Pfand systems, or any scenario where a refundable deposit is required.
Features

Adds a Pfand (€) input field to WooCommerce products
Calculates Pfand per product × quantity
Displays Pfand as a separate fee in cart and checkout
Pfand is not taxable by default
Lightweight and fast — no settings page required
Fully compatible with WooCommerce cart calculations

Usage

Go to Products → Edit Product
Enter a Pfand amount (e.g. 0.25)
Save the product
Add the product to the cart

The Pfand will automatically appear as a separate fee in the cart and checkout.
Filters
You can customize the label and tax behavior using filters:
Change the fee label:
add_filter(‘pfand_manager_fee_label’, function () {
return ‘Deposit’;
});
Make the Pfand taxable:
add_filter(‘pfand_manager_fee_taxable’, function () {
return true;
});

延伸相關外掛

文章
Filter
Apply Filters
Mastodon