The rule applies
The item is added, with the quantity its settings produce.
Four ways to price an item, and a quantity that can follow the cart. The table shows what each type can do; the subpages show it in figures.
| Type | Price | Tax | Quantity can be linked | Stock |
|---|---|---|---|---|
| Percentage | Share of everything that is in the cart before it | split by the tax rates in the cart | no, always exactly once | – |
| Fixed amount | Gross and net, negative a discount | own tax rate, required | yes | – |
| Free of charge | €0.00 | tax rate required, as with a fixed amount | yes | – |
| Shopware product | the product's price or free of charge | the product's tax | yes | goes down on ordering |
The plugin adds the items to the cart one after the other, sorted by the Position field. Each one is added before the next is calculated.
For fixed amounts it makes no difference. A percentage, though, is calculated on everything in the cart at that moment: the products and every item that came before it. If a subsidy comes before the insurance, the insurance is calculated on the smaller amount.
In the demo shop the insurance is at position 1 and is therefore calculated on the goods only.
Insurance at position 1
Worked example
Subsidy at position 1
Worked example
Shopware recalculates the cart on every change. Each time, the plugin checks every item again from scratch.
The item is added, with the quantity its settings produce.
At the next recalculation the item simply disappears. Nobody has to remove it.
Then no item is added, not even with an always-valid rule.
When creating or editing in the admin, no new items are added; existing ones stay.
A share of the cart, calculated once, the tax split proportionally.
Gross or net with its own tax rate, negative a discount.
A line for €0.00, as a pseudo product or as a real product.
A product from the catalogue, with stock, image and price.
The quantity follows certain products, per piece or per position.