johnhenry/craft-container-deposits
Composer 安装命令:
composer require johnhenry/craft-container-deposits
包简介
Container deposits for Craft Commerce - built for any deposit return scheme, Re-turn (Ireland) ready out of the box
README 文档
README
Container Deposits for Craft Commerce
Add container deposits to Craft Commerce products for any deposit return scheme - Ireland's Re-turn, or your own region's equivalent. Deposits appear as their own line item in the cart, scale automatically with quantity, and stay outside the scope of VAT or sales tax.
Features
- Per-product deposits – Pick a deposit type for any product or variant from a custom field
- Auto-managed line items – Deposits show up as their own line items and keep pace with quantity changes
- Admin-managed deposit list – Keep a list of deposit tiers in the control panel (e.g. €0.15 cans, €0.25 bottles)
- Multipacks handled properly – Tell it how many containers are in a unit and a 6-pack charges six deposits, a tray of 24 charges 24
- Tax-exempt (VAT/sales tax) – Deposit line items sit under a dedicated "Container Deposits (No VAT)" tax category
- No discount leakage – Deposits are non-promotable, so catalog pricing rules never touch them
- Product and invoice display helpers – Twig helpers and example templates for product cards, carts, and Re-turn-shaped producer invoices and till receipts
- Multi-site and multi-store ready – Deposit purchasables propagate to every site out of the box
- 🇮🇪 Re-turn ready – Matches the official Irish Deposit Return Scheme structure out of the box
Documentation
You'll find the full documentation at https://johnhenry.ie/plugins/container-deposits/
Requirements
- Craft CMS 5.0 or later
- Craft Commerce 5.0 or later
- PHP 8.2 or later.
Support
Need a hand? Head over to the GitHub Issues page
License
Proprietary - Copyright (c) 2026 John Henry Donovan
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2026-06-04