Surcharges & discounts

Svenja charges the deposit per bottle and per crate

Svenja delivers drinks in her area and sells them through her shop. Every crate carries the deposit for the crate and its bottles, every single-use bottle the single-use deposit. The plugin adds a line of its own to the cart for each deposit amount, and its quantity follows the drinks.

Type
Pseudo product, absolute
Value
€3.10 per crate
Quantity
Per piece, tag Deposit 3.10
Removable
No

The rule and the item.

On the left the rule in the Rule Builder, on the right the item's fields that matter. Everything else stays as it is when you create the item.

RuleRule Builder

  • Item with tagIs one of Deposit 3.10

Deposit crate 20 × 0.5 l €3.10 per piece

  • Pseudo productsCatalogues
  • Basic DataRemovableoff
  • Basic DataRuleCrate 20 × 0.5 l in the cart
  • Pseudo ProductTitleDeposit crate 20 × 0.5 l
  • Pseudo ProductHide delivery timeon
  • Pseudo ProductType of surcharge/discountAbsolute
  • Pseudo ProductSurcharge/discount (gross)€3.10
  • Pseudo ProductTax rate19%
  • QuantityLink quantity to productson
  • QuantityMultiplierPer piece
  • QuantityTagsDeposit 3.10
  • Product NoteTagsDeposit 3.10
  • Product NoteType · DisplayNote (blue) · Above the cart button
  • Product NoteMessageplus €3.10 deposit (crate and 20 bottles)
  1. Rule Builder › Item with tag

    Is one of: Deposit 3.10

  2. Basic Data tab › Removable

    off

  3. Basic Data tab › Rule

    Crate 20 × 0.5 l in the cart

  4. Pseudo Product tab › Title

    Deposit crate 20 × 0.5 l

  5. Pseudo Product tab › Hide delivery time

    on

  6. Pseudo Product tab › Type of surcharge/discount

    Absolute

  7. Pseudo Product tab › Surcharge/discount (gross)

    €3.10

  8. Pseudo Product tab › Tax rate

    19%

  9. Quantity tab › Link quantity to products

    on

  10. Quantity tab › Multiplier

    Per piece

  11. Quantity tab › Tags

    Deposit 3.10

  12. Product Note tab › Tags

    Deposit 3.10

  13. Product Note tab › Type · Display

    Note (blue) · Above the cart button

  14. Product Note tab › Message

    plus €3.10 deposit (crate and 20 bottles)

What the customer sees.

Three drinks, three deposit amounts: two crates of pilsner at €3.10 each, one crate of water at €3.30 and four bottles of iced tea at €0.25 each. If a third crate of pilsner is added, that line shows €9.30.

Cart6 items

  1. Pilsner, crate 20 × 0.5 l2 pieces €33.98
  2. Mineral water, crate 12 × 0.7 l1 piece €6.49
  3. Iced tea 1.5 l, single-use4 pieces €5.16
  4. Deposit crate 20 × 0.5 l2 × €3.10 per piece €6.20
  5. Deposit crate 12 × 0.7 l1 × €3.30 per piece €3.30
  6. Single-use deposit4 × €0.25 per piece €1.00

Subtotal€56.13

Three deposit amounts in one cart.

Each deposit amount is an item of its own with a tag of its own. Its quantity is the number of products carrying that tag in the cart.

ItemTagPer pieceQuantityDeposit
Deposit crate 20 × 0.5 lDeposit 3.10€3.102€6.20
Deposit crate 12 × 0.7 lDeposit 3.30€3.301€3.30
Single-use depositDeposit 0.25€0.254€1.00
Deposit in total€10.50

In the example, €3.10 is the crate at €1.50 plus 20 bottles at €0.08 each, and €3.30 is the crate at €1.50 plus 12 bottles at €0.15 each. You enter the amounts yourself.

Why it is set up this way.

Why one amount per crate

The quantity counts products in the cart, not the bottles inside them. A crate is one product, so its deposit item covers the crate and the bottles together.

Why tags

A tag on the product is enough, and a new drink counts without anyone editing the item. Variants inherit their parent product's tags unless they have their own.

Why a product note

The deposit is shown on the product page already, not only in the cart. The note uses the same tag as the quantity, so the amount always matches the drink.

What to watch out for: The rule needs the Item with tag condition. Without it the deposit item would be in every cart at least once, even without a drink carrying that deposit: the quantity only decides how often it is added, not whether.

Quantity Notes Orders and invoices

Questions about the bottle deposit.

How do I charge a deposit per bottle?

With an item at a fixed amount, for instance €0.25, whose quantity is linked to the deposit products: per piece, through a tag that every bottle with this deposit carries. The rule checks with Item with tag whether one of them is in the cart. Six bottles make six times €0.25.

How do I set up the deposit for a crate?

A crate is one product, so the item counts crates, not bottles. Its amount is the deposit for the crate and the bottles together, €3.10 for a crate with 20 bottles in the example. For every crate size with a different deposit, create an item of its own with a tag of its own.

Can returnable and single-use deposits share a cart?

Yes. Each amount is an item of its own with its own rule and tag. If returnable crates and single-use bottles are in the cart together, each deposit appears on its own line.

What about six-packs and cartons?

A six-pack is one product with one amount for all six bottles or cans, for instance €1.50 for six times €0.25. It gets the tag of that amount, and the item counts six-packs.

Which tax rate does the deposit get?

The tax rate you choose on the item. If you sell drinks with different tax rates, create one item per deposit amount and tax rate.

Does the deposit appear in the order and on the invoice?

Yes. Each deposit item becomes a line of its own in the order, with quantity, unit price and tax rate, and so it also appears in the ZUGFeRD invoice.

Does the deposit count towards a small order fee?

No. Deposit items are not goods, so the subtotal of goods does not count them. A small order fee below €50.00 therefore depends on the drinks alone.

All examples.