Surcharges & discounts

Transport insurance for retailers, automatically in the cart

The example from the store description: if certain products are in the cart, the delivery goes to Austria or Switzerland and a retailer orders, 10% transport insurance is added. It is mandatory and cannot be removed.

Type
Pseudo product, percental
Value
10%
Rule
Three conditions, joined by And
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

  • Items in cartIs one of Product A Product B Product C
  • and
  • Shipping address: CountryIs one of Austria Switzerland
  • and
  • Customer groupIs one of Retailer

Transport insurance +10%

  • Pseudo productsCatalogues
  • Basic DataProduct typePseudo product
  • Basic DataPosition1
  • Basic DataRemovableoff
  • Basic DataRuleTransport AT/CH retailers
  • Pseudo ProductTitleTransport insurance
  • Pseudo ProductType of surcharge/discountPercental
  • Pseudo ProductSurcharge/discount10%
  • Cart NoteType · DisplaySuccess (green) · Once
  • Product NoteDisplayBelow the cart button

What the customer sees.

10% of €495.95 is €49.60. With two pieces it is €99.19, with three €148.79, as measured in the demo shop, where the same item runs with an always-valid rule.

Cart2 items

Please note that we have automatically added transport insurance to your shopping basket!

  1. Product A1 piece €495.95
  2. Transport insuranceautomatic 10% of the goods value €49.60

Subtotal€545.55

Why it is set up this way.

Why percental

The insurance should grow with the value of the goods. A percentage does exactly that, and the tax is split across the cart's tax rates automatically.

Why position 1

A percentage surcharge is calculated on everything that is in the cart before it. At position 1 those are only the products, no other surcharges.

Why two notes

The product note says it before the purchase; the cart note confirms it once per session. The texts above are those from the demo shop.

What to watch out for: Once none of the three products is left in the cart, the rule no longer applies, and the insurance disappears automatically at the next recalculation.

Percentage Notes Cart processing

All examples.