johnhenry / craft-container-deposits
Container deposits for Craft Commerce, each on its own cart line and kept out of VAT and discounts. Set up for Ireland's Re-turn scheme.
Package info
github.com/john-henry/craft-container-deposits
Type:craft-plugin
pkg:composer/johnhenry/craft-container-deposits
Requires
- php: ^8.2 || ^8.3 || ^8.4
- craftcms/cms: ^5.0
- craftcms/commerce: ^5.1
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- phpstan/phpstan: ^2.2
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-27 15:30:48 UTC
README
Container Deposits for Craft Commerce
Container deposits for Craft Commerce, for Ireland's Re-turn scheme or any other deposit return scheme. Each deposit goes on its own cart line and follows the quantity. A multipack is charged for every container in it, and deposits are kept out of VAT and your discounts.
Features
- Pick a deposit type on each variant, or once on the product to cover all its variants.
- The deposit goes on a cart line of its own and follows the quantity up and down.
- Set your deposit amounts in the control panel, such as 15c on a can and 25c on a bottle.
- Say how many containers are in a unit, and a 6-pack is charged six deposits and a tray of 24 is charged 24.
- Deposits go under their own "Container Deposits (No VAT)" tax category, made when you install. They stay VAT-free as long as your tax rates are worked out per line item rather than on the order total.
- Coupons, sales and catalog pricing rules never touch a deposit, and deposits don't count toward a discount's minimum spend or quantity.
- Twig helpers and example templates for product cards, the cart, and producer invoices and till receipts laid out the way Re-turn asks.
- Works across multiple sites and Commerce stores.
- Cans and bottles inside a Bundle Builder bundle are charged their deposit too.
Documentation
Full documentation is at johnhenry.ie/plugins/container-deposits/docs.
Requirements
- Craft CMS 5.0 or later
- Craft Commerce 5.1 or later
- PHP 8.2 or later
Accessibility
How accessible the plugin is, what's been checked, and how to report a problem are all in the accessibility statement.
Support
Need a hand? Open an issue on the GitHub Issues page.
License
Proprietary. Copyright (c) 2026 John Henry Donovan.