The fee for cash on delivery
A second item with a rule of its own: Applied payment method is Cash on delivery, type Absolute, a fixed amount with tax rate. With both items in place, the payment method decides which one is added.
Customers who pay in advance get a 2% discount; customers who choose cash on delivery pay a fixed fee. Two items, two rules with the Applied payment method condition.
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
Prepayment discount −2%
Is one of: Paid in advance
Pseudo product
off
Payment: paid in advance
Prepayment discount
Percental
−2%
Success (green) · Always
2% of €495.95 is €9.92. A negative percentage produces a discount, calculated over the cart like any percentage.
Cart2 items
Subtotal€486.03
A second item with a rule of its own: Applied payment method is Cash on delivery, type Absolute, a fixed amount with tax rate. With both items in place, the payment method decides which one is added.
The customer chooses the payment method at checkout. If they switch it, the cart is recalculated, and the item comes or goes with the rule.
Once would mean: once per session. With a discount that comes and goes with the payment method, it is clearer if the note shows every time.
What to watch out for: Until the customer chooses a payment method at checkout, the rule checks the preset one. So the discount can already be in the cart if payment in advance is preset.
If product A, B or C is in the cart, the delivery goes to Austria or Switzerland and the customer is a retailer.
For deliveries to certain countries the shop pays part of the shipping costs.
A discount for payment in advance, a fee for cash on delivery: one item per payment method.
A surcharge per bulky product when delivery is by freight.
A real product from the catalogue that retailers get once, with their first order.
Once the goods total reaches €50.00, a catalogue product is added free of charge.
A magazine or a sample that the customer can see and remove.
The catalogue is in the parcel with the first order. The customer sees it neither in the cart nor in the order confirmation.
In Advent, one gift wrap per product in the cart, which the customer can remove.
Below €50.00 of goods, €5.00 is added; from €50.00 the fee disappears on its own.
A deposit per bottle and per crate as lines of their own, the quantity follows the drinks in the cart.
If the delivery address is on an island, a surcharge is added, recognised by the postcode.