Surcharges & discounts

Plugin for Shopware 6 · Rules from the Rule Builder What belongs to the order is already in the cart.

As soon as a rule applies, the plugin adds an item automatically: a surcharge, a discount, a free item or a real product from the catalogue. The customer does not have to do anything, and you do not have to recalculate anything.

Try it in the demo shop In the Shopware Store

How to set it up See 8 examples

RuleRule Builder

  • Shipping address: CountryIs one of Austria Switzerland
  • and
  • Customer groupIs one of Retailer

Transport insurance +10%

Pseudo productsCatalogues

  1. Transport insurance (+ 10%)1
  2. Shipping subsidy (- 10,- EUR)2
  3. Free magazine (with image, deletable)3
  4. Gift wrapping (+ 1,- EUR per product in the shopping cart)4

You pick a rule for every line.

Cart5 items

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

  1. Main product1 piece €495.95
  2. Transport insuranceautomatic 10% of the goods value €49.60
  3. Shipping subsidyautomatic fixed amount −€10.00
  4. Free magazineautomatic removable by the customer €0.00
  5. Gift wrappingautomatic 1 × €1.00 per piece €1.00

Subtotal€536.55

Product pageNote

Main product

€495.95

1Add to cart

Please note that a surcharge of 10% of the value of the goods is payable to the carrier for this product if it is shipped by a forwarding agent.

Gift wrappingper piece

1€1.00

2€2.00

3€3.00

The quantity follows the product.

  • For Shopware 6
  • Rules from the Rule Builder
  • Free trial month
  • In e-invoices too

No more recalculating.
No more follow-up questions.

Without the plugin

  • Somebody adds the freight surcharge by hand after the order
  • The warehouse adds the insert, nobody sees it in the cart
  • The customer learns about the surcharge only from the invoice
  • If a retailer's mandatory item is missing, someone has to follow up

With the plugin

  • The item is in the cart as soon as the rule applies
  • Percentage, fixed amount, free of charge or a real product from the catalogue
  • A note explains it, either on the product page or in the cart
  • Every special case is a rule in the Rule Builder the shop already has

What Shopware does out of the box and what the plugin adds

The principle

One rule, one item. The Rule Builder decides whether it belongs in the cart. The cart works out what it costs.

Set up in five steps.

Everything happens in the admin. The condition comes from the Rule Builder, the item from the plugin.

The plugin configuration has a single switch: Activate plugin, per sales channel.

The detailed guide
  1. Create a rule

    Under Settings › Automation › Rule builder you describe when the item should be added, for instance by Shipping address: Country, Customer group or Applied payment method. An existing rule works just as well.

  2. Create the item

    Under Catalogues › Pseudo products you click Add pseudo product and give it an internal name.

  3. Choose type and price

    A pseudo product with title, number and surcharge/discount, or a Shopware product from the catalogue, free of charge if you like.

  4. Assign rule and sales channels

    On the Basic Data tab, in the Rules card, you choose the rule and the sales channels the item applies to.

  5. Quantity and notes, if you like

    On the Quantity, Cart Note and Product Note tabs. Then save: as soon as the rule applies, the item is in the cart.

Four ways to price an item.

Every item is either created from scratch or taken from your catalogue. Items created from scratch have neither stock nor a product page.

  • Percentage

    A share of the cart, for instance 10% for transport insurance. It is calculated once, over the whole cart, and the tax is split proportionally across the cart's tax rates.

  • Fixed amount

    Gross and net like any Shopware price, with a tax rate of its own. Negative, it becomes a discount.

  • Free of charge

    A magazine, a sample, a card: €0.00 and still a line of its own the customer can see.

  • Real product

    From the catalogue, with the product's name, image and price, or free of charge. On ordering, the stock goes down as with any other product.

More on the calculation

The quantity follows the cart.

One gift wrap per product, one bulky goods surcharge per bulky product. You decide what counts.

  • Per piece

    With three pieces in the cart, the item has a quantity of three. If the customer changes the quantity, the amount adjusts immediately.

  • Per position

    Once per cart line, however many pieces are in it.

  • Only certain products

    What counts is what you select: individual products, dynamic product groups or tags. Variants count through their parent product. If the rule applies, though, the item is always in the cart at least once.

How it is counted

The customer learns about it beforehand.

A surcharge nobody knew about costs you trust. That is why every item can carry two notes.

  • On the product page

    Above the price, above the cart button or below it, for the products, product groups or tags you select.

  • In the cart

    As soon as the item is added, in the off-canvas cart too. Once per session or every time.

  • In four colours

    As success in green, as a note in blue, as a warning in yellow or as danger in red.

All about the notes

What else comes with it.

Besides price, quantity and notes, every item has these settings.

Removable or mandatory

You decide whether the customer may remove the item. Once removed, it stays away for the session. In a new session it comes back if the rule still applies.

Limit per customer

A limit per customer, summed over all quantities and counted across previous orders. Cancelled ones do not count.

Sequence

The Position field decides the order in which the lines enter the cart.

Per sales channel

Every item applies only in the channels you select.

Delivery time

A delivery time of its own, or hide the information altogether.

Image or symbol

An image from the media library or one of 18 symbols for the line.

Editing orders

If you edit an order in the admin, the existing items stay. No new ones are added.

E-invoice

The items appear in the ZUGFeRD invoice like any other line.

All 41 settings in the manual

What shops do with it.

Every example is one rule in the Rule Builder and one item in the plugin. None of it needs custom code.

One price, everything included.

You rent the extension in the Shopware Store. The first 30 days are free; after that, you pay yearly or monthly.

  • Free trial month
  • All updates
  • Support from digitvision

Which Shopware versions the extension supports is kept up to date in the store listing.

Surcharges / discounts in the cart with rules

€249 a year €25 a month

that is €20.75 a month, plus VAT€51 saved cancellable monthly, plus VAT

Try it free for 30 days

Rental and trial month run through the Shopware Store.

Frequently asked questions.

Do I need a plugin for surcharges in the cart?

For surcharges and add-ons, yes. In Shopware, Promotions always deduct and only change products that are already in the cart; a surcharge only exists there if you write it as an app script. The plugin adds a line of its own per rule, without code. Plain discounts can still run through Promotions.

Do I need to program anything?

No. The condition is a rule in the Rule Builder, and you create the item in the admin under Catalogues › Pseudo products.

What is a pseudo product?

A cart line without a link to the catalogue. It has a name, a number and a price, but no stock and no product page.

How many items can I create?

As many as you like. Every item has its own rule, and the plugin checks all active ones every time the cart is recalculated.

Can a real product be added automatically too?

Yes. Name, image and price then come from the product, optionally free of charge. You can adjust the name and number in the checkout with Twig, for instance with {{ product.translated.name }}. On ordering, the stock goes down as with any other product.

What is a percentage surcharge calculated on?

On everything in the cart at that moment, including other surcharges with a lower Position number. You control the order with the Position field. A percentage surcharge is always added exactly once; its quantity cannot be linked.

Can the customer remove an item?

If you mark it as removable, the line gets a cross. Once removed, it stays away for the running session, even if the cart changes afterwards.

How often may a customer get a free item?

Without a limit, with every order the rule applies to. With the limit per customer you set how often they can get it in total, counted over all quantities. The plugin checks previous orders by the product number for that; cancelled ones do not count. Once the limit is reached, the item no longer enters the cart. For guests and customers who are not logged in it only applies to the current cart.

What ends up in the order?

Every item becomes a line of its own in the order, with quantity and price. A Shopware product is ordered as a real product. The items also appear in the ZUGFeRD invoice.

What happens when I edit an order in the admin?

The existing items stay. No new ones are added and none are removed.

Does it apply in every sales channel?

Only in those you select on the item. On top of that, the whole plugin can be switched off per sales channel.

Does it work with Custom Products?

Yes. Products from Custom Products also count towards the quantity.

Which Shopware versions does it support?

Shopware 6. The store listing always shows the currently supported versions.

What does it cost?

€249 a year, that is €20.75 a month, or €25 a month, cancellable monthly. Plus VAT in both cases; the first month is free.

Can I try it out first?

Yes, in two ways: in the demo shop without installing anything, and for 30 days free of charge in your own shop with the rental's 30-day free trial.

Ready to let your cart do the maths?

Put a product into the cart in the demo shop and watch four items appear. Or try it free for 30 days in your own shop.

Open the demo shop View in the store