Surcharges & discounts

Percentage surcharges and discounts in the cart

A percentage of the cart, for instance 10% transport insurance, a 2% discount for payment in advance or a B2B discount for the retailer customer group. Calculated once, on everything already in the cart when it is added.

The amount grows with the cart.

An example: 10% transport insurance at position 1. Put the main product into the cart once, twice and three times, and the amount grows accordingly, without any change to the item.

Transport insurance, 10%

  1. 1 × main product, €495.95€49.60
  2. 2 × main product, €991.90€99.19
  3. 3 × main product, €1,487.85€148.79

Worked example

  • In the administration this means: Type of surcharge/discount set to Percental, the percentage in the Surcharge/discount field. Nothing else is needed; the Tax rate field is locked.

What it is calculated on.

On everything in the cart at that moment: the products and the plugin's items that came before it. Which ones those are is decided by the Position field, lower numbers first.

If a surcharge should only be calculated on the goods, give it the lowest position. If it should include subsidies and fees, give it a higher one than those.

How the tax is split.

A percentage surcharge has no tax rate of its own. Shopware splits it proportionally across the tax rates of the lines it is calculated on, as with a percentage discount in Shopware itself.

Cart with two tax rates

  1. Product at 19%€100.00
  2. Product at 7%€50.00
  3. 10% surcharge, of which at 19%€10.00
  4. 10% surcharge, of which at 7%€5.00

Worked example: €15.00 surcharge, split proportionally

What a percentage can and cannot do.

  • Discount with a minus

    A negative percentage such as −2% produces a discount, calculated like any other percentage. A pickup discount works the same way, with a rule that checks the shipping method used for pickup.

  • Always exactly once

    The quantity cannot be linked to products. The percentage already applies to the whole cart anyway.

  • Only as a pseudo product

    Percentages exist on the Pseudo Product tab. A Shopware product carries its own price or is free of charge.

Transport insurance Payment method

The types in detail.