Surcharges / discounts in the cart with rules
Description
Highlights
- Surcharges and discounts added to the cart automatically: as a percentage, a fixed amount or free of charge, as soon as a rule applies
- Any Rule Builder rule as the trigger: products, customer group, country, postal code, shipping method, payment method, order value
- Per payment method too: a prepayment discount or a cash on delivery fee, each as its own cart line
- Small order fee, bottle deposit, bulky goods, island surcharge or shipping subsidy without programming, plus real products from the catalogue, invisible as an insert if you like
- Every item appears in the order, the invoice and the ZUGFeRD e-invoice as its own line with quantity, price and tax rate
Features
- Pseudo products: cart lines with title, product number, price and an optional image, without stock and without a product page
- Surcharge or discount as a percentage of the cart (tax split proportionally across the tax rates) or as a fixed gross/net amount with its own tax rate; negative means a discount
- Shopware products added to the cart automatically, priced or free of charge, with stock deduction; name and number via Twig
- Quantity linked to products, dynamic product groups or tags, per piece or per line
- Mandatory or removable: if the customer removes an item, it stays away for the session
- Maximum quantity per customer, counted across earlier orders
- Display for customers: hide free items during the checkout or add them only when the order is placed, a catalogue as an insert for example
- Order via the position field, which decides what a percentage is calculated on
- Note in the cart (once per session or always) and in the buy box of the product page, in three places and four colours
- Sales channels selectable per item, the whole extension can be switched off per sales channel
About the Extension
DEMO SHOP AVAILABLE
Try every feature in our demo shop first: storefront with a prepared customer account and full administration, reset every night. Access via "Go to demo" below the screenshots.
WEBSITE
More about Surcharges / discounts in the cart with rules on shop-auf-abschlaege.de.
DESCRIPTION
Surcharges and discounts added to the cart automatically, driven by rules from the Rule Builder: as soon as a rule applies to the customer and the cart, the extension adds a line of its own to the cart. That can be a surcharge, a discount, a free item or a real product from the catalogue. Once the rule no longer applies, the line disappears on its own.
This turns a fee or discount per payment method, a small order fee, a bottle deposit, bulky goods and island surcharges or a shipping subsidy into settings in the administration, without programming. Every item can be mandatory, or the customer may remove it again. So you define mandatory surcharges and discounts or suggest optional add-ons.
What you can set up with it
- Payment method: a discount for prepayment or a fee for cash on delivery, one item with its own rule per payment method.
- Small order fee: for example €5.00 below a goods value of €50.00. From €50.00 it disappears on its own.
- Bottle deposit: per bottle or per crate, the quantity follows the deposit products. One item per amount for returnable and one-way deposits.
- Bulky goods surcharge: per bulky product for freight delivery. Two sofas, two surcharges.
- Island and international surcharge: through the postal code or the country of the shipping address.
- Shipping subsidy: for example €10.00 off deliveries to Austria, as a line of its own next to the shipping costs.
- Transport insurance, handling fee, dangerous goods surcharge: as a percentage or a fixed amount as soon as the rule applies.
- Mandatory product for retailers: for example once per customer, counted across earlier orders.
- Free gift and insert: a free product from a certain order value, or an insert at €0.00, visible or invisible to the customer, a catalogue for example.
- Gift wrapping and cross-selling: for example one wrapping per product in the Christmas season.
How to add a surcharge or discount per payment method
- Create a rule: under Settings › Automation › Rule Builder, a rule with the condition "Applied payment method", for example paid in advance or cash on delivery.
- Create an item: under Catalogues › Pseudo products, a pseudo product with title and product number, such as "Prepayment discount" or "Cash on delivery fee".
- Choose the amount: a percentage, such as a −2 % discount, or a fixed amount with its own tax rate. Negative is a discount, positive a surcharge.
- Assign rule and sales channels and save. If the customer changes the payment method at checkout, the cart is recalculated and the item comes or goes with the rule.
Worked example: with goods worth €495.95, a 2 % prepayment discount is €9.92. The line appears in the cart, in the order and on the invoice.
The four types of an item
- Percentage: a share of everything in the cart at that moment. The tax is split proportionally across the tax rates in the cart. Negative is a discount.
- Fixed amount: gross and net with its own tax rate, optionally times the quantity of matching products. Negative is a discount.
- Free of charge: a pseudo product at €0.00 or a product from the catalogue marked as free.
- Shopware product: name, image, price, weight and dimensions come from the product. On ordering it is a real product line, and the stock goes down as in standard Shopware.
Every pseudo product gets a name and a product number. An optional image gives it a better look.
Invisible inserts: display for customers
A free item does not have to be visible to the customer. In the Basic Data tab you choose one of three values under "Display for customers":
- Visible: as usual in the cart, the checkout and the order confirmation.
- Hide during checkout: the item is part of the cart and counts for rules, weight and shipping costs, but the customer sees it neither in the cart nor in the checkout. The order confirmation and the confirmation mail show it.
- Add only when the order is placed: the item is only added with the order. The customer does not see it in the order confirmation and the confirmation mail either.
Afterwards the item is a normal line of the order, on the delivery note and the invoice, a Shopware product with stock deduction. This way you add a catalogue, a flyer or a product sample without the customer seeing it while ordering, for example a catalogue with the first order only through the maximum quantity per customer. A note in the cart can still point it out. Hiding is only possible for items at €0.00.
Rules
The extension uses the powerful and versatile Rule Builder to map and combine any rules and conditions. With the Rule Builder the possibilities are endless, and you can map any situation you need.
- Products
e.g. product A or B in the cart - Customer group
e.g. end customers only - Shipping method
e.g. DHL or UPS only - Payment method
e.g. PayPal or prepayment only - Country and postal code
e.g. Germany or Austria only, or islands through the postal code - Order value
e.g. below €50.00 through the "Subtotal of goods"
Example: mandatory transport insurance
Add a mandatory transport insurance to your customers' cart if:
- product A, product B or product C is in the cart
- AND the delivery goes to Austria or Switzerland
- AND the customer group is "Retailer"
With 10 % on position 1, that is €49.60 on goods worth €495.95.
What Shopware cannot do on its own
Discounts run through Promotions in Shopware. Their calculators always deduct, though, and only change products that are already in the cart. A surcharge only exists there if you write it as an app script. The extension adds what is missing:
- surcharges as a percentage or a fixed amount, set up in the administration
- a discount and a fee per payment method
- products that are added to the cart on their own, priced or free of charge, with stock deduction
- inserts the customer does not see while ordering that still appear in the order, the delivery note and the invoice
- a quantity that follows products, product groups or tags
- a note in the cart and in the buy box of the product page
Notes in the cart and on the product page
A note in the cart explains the line, once per session or always. A note in the buy box of the product page says it before the purchase, in three places and four colours, for selected products, dynamic product groups or tags.
In the order and on the invoice
Every item becomes a line of its own in the order, with quantity, unit price and tax rate, and appears that way in the ZUGFeRD e-invoice too. A Shopware product is ordered as a real product, and its stock goes down as in standard Shopware.
Instructions
- Install the extension.
- In the administration you will find the new menu item "Pseudo products" under "Catalogues".
General information
- Snippets
The extension uses snippets so that all texts and labels can easily be translated into other languages in the administration. - Multi-shop ready
Relevant configuration options can be adjusted individually for each sales channel. - Compatibility
The extension is always compatible with the latest Shopware version and the Shopware default theme. - Incompatibility
If you use a custom theme and/or third-party extensions, please test the extension thoroughly before buying. Compatibility cannot be guaranteed. - Responsive
Desktop PC, tablet or smartphone: the extension is fully responsive. - Free to try and use
Paid extensions can be tested free of charge and without obligation for 30 days (free trial month of the rental license). Free extensions stay free of charge for as long as you use them. - Features
The features described in the description, the screenshots and the demo shop always refer to the latest version of the extension. - Individual change requests
Every company is unique and requires individual solutions that are precisely tailored to its own workflows. Feel free to contact me without obligation: I will gladly adapt my extensions to your requirements and integrate them seamlessly into your in-house processes. - Liability disclaimer
The manufacturer of this extension is not liable for damages, in particular not for direct or indirect consequential damages, data loss, lost profits, system or production failures resulting from the use of the extension, except in cases of intent or gross negligence.
Contact information
- Phone
+49 (0) 234 97354482 - Internet
info@digitvision.de
https://www.digitvision.de - Address
Hevener Straße 65
44797 Bochum
About me
- 20+ years of experience
More than 20 years in e-commerce, more than 10 of them exclusively with Shopware. Your specialist with extensive industry and technical knowledge. - Reliable
Shopware is my passion and my hobby. I take care of your project reliably and with commitment, as if it were my own. - Quality
High service quality is my focus. I use state-of-the-art design patterns, current technologies and innovative tools.
Your competent partner
For more than 20 years I have been working as a passionate web developer in e-commerce. In this time I have advised and supported many companies in interesting projects. I stand for uncomplicated communication, future-proof solutions, modern technologies and a high level of commitment.
Every company is unique and requires individual solutions that are precisely tailored to its own workflows. Feel free to contact me without obligation: I will gladly adapt my extensions to your requirements and integrate them seamlessly into your in-house processes. I would be happy to provide you with offers for adaptations or individually developed extensions according to your wishes.
DEMO SHOP AVAILABLE
Try every feature in our demo shop first: storefront with a prepared customer account and full administration, reset every night. Access via "Go to demo" below the screenshots.
WEBSITE
More about Surcharges / discounts in the cart with rules on shop-auf-abschlaege.de.
DESCRIPTION
Surcharges and discounts added to the cart automatically, driven by rules from the Rule Builder: as soon as a rule applies to the customer and the cart, the extension adds a line of its own to the cart. That can be a surcharge, a discount, a free item or a real product from the catalogue. Once the rule no longer applies, the line disappears on its own.
This turns a fee or discount per payment method, a small order fee, a bottle deposit, bulky goods and island surcharges or a shipping subsidy into settings in the administration, without programming. Every item can be mandatory, or the customer may remove it again. So you define mandatory surcharges and discounts or suggest optional add-ons.
What you can set up with it
- Payment method: a discount for prepayment or a fee for cash on delivery, one item with its own rule per payment method.
- Small order fee: for example €5.00 below a goods value of €50.00. From €50.00 it disappears on its own.
- Bottle deposit: per bottle or per crate, the quantity follows the deposit products. One item per amount for returnable and one-way deposits.
- Bulky goods surcharge: per bulky product for freight delivery. Two sofas, two surcharges.
- Island and international surcharge: through the postal code or the country of the shipping address.
- Shipping subsidy: for example €10.00 off deliveries to Austria, as a line of its own next to the shipping costs.
- Transport insurance, handling fee, dangerous goods surcharge: as a percentage or a fixed amount as soon as the rule applies.
- Mandatory product for retailers: for example once per customer, counted across earlier orders.
- Free gift and insert: a free product from a certain order value, or an insert at €0.00, visible or invisible to the customer, a catalogue for example.
- Gift wrapping and cross-selling: for example one wrapping per product in the Christmas season.
How to add a surcharge or discount per payment method
- Create a rule: under Settings › Automation › Rule Builder, a rule with the condition "Applied payment method", for example paid in advance or cash on delivery.
- Create an item: under Catalogues › Pseudo products, a pseudo product with title and product number, such as "Prepayment discount" or "Cash on delivery fee".
- Choose the amount: a percentage, such as a −2 % discount, or a fixed amount with its own tax rate. Negative is a discount, positive a surcharge.
- Assign rule and sales channels and save. If the customer changes the payment method at checkout, the cart is recalculated and the item comes or goes with the rule.
Worked example: with goods worth €495.95, a 2 % prepayment discount is €9.92. The line appears in the cart, in the order and on the invoice.
The four types of an item
- Percentage: a share of everything in the cart at that moment. The tax is split proportionally across the tax rates in the cart. Negative is a discount.
- Fixed amount: gross and net with its own tax rate, optionally times the quantity of matching products. Negative is a discount.
- Free of charge: a pseudo product at €0.00 or a product from the catalogue marked as free.
- Shopware product: name, image, price, weight and dimensions come from the product. On ordering it is a real product line, and the stock goes down as in standard Shopware.
Every pseudo product gets a name and a product number. An optional image gives it a better look.
Invisible inserts: display for customers
A free item does not have to be visible to the customer. In the Basic Data tab you choose one of three values under "Display for customers":
- Visible: as usual in the cart, the checkout and the order confirmation.
- Hide during checkout: the item is part of the cart and counts for rules, weight and shipping costs, but the customer sees it neither in the cart nor in the checkout. The order confirmation and the confirmation mail show it.
- Add only when the order is placed: the item is only added with the order. The customer does not see it in the order confirmation and the confirmation mail either.
Afterwards the item is a normal line of the order, on the delivery note and the invoice, a Shopware product with stock deduction. This way you add a catalogue, a flyer or a product sample without the customer seeing it while ordering, for example a catalogue with the first order only through the maximum quantity per customer. A note in the cart can still point it out. Hiding is only possible for items at €0.00.
Rules
The extension uses the powerful and versatile Rule Builder to map and combine any rules and conditions. With the Rule Builder the possibilities are endless, and you can map any situation you need.
- Products
e.g. product A or B in the cart - Customer group
e.g. end customers only - Shipping method
e.g. DHL or UPS only - Payment method
e.g. PayPal or prepayment only - Country and postal code
e.g. Germany or Austria only, or islands through the postal code - Order value
e.g. below €50.00 through the "Subtotal of goods"
Example: mandatory transport insurance
Add a mandatory transport insurance to your customers' cart if:
- product A, product B or product C is in the cart
- AND the delivery goes to Austria or Switzerland
- AND the customer group is "Retailer"
With 10 % on position 1, that is €49.60 on goods worth €495.95.
What Shopware cannot do on its own
Discounts run through Promotions in Shopware. Their calculators always deduct, though, and only change products that are already in the cart. A surcharge only exists there if you write it as an app script. The extension adds what is missing:
- surcharges as a percentage or a fixed amount, set up in the administration
- a discount and a fee per payment method
- products that are added to the cart on their own, priced or free of charge, with stock deduction
- inserts the customer does not see while ordering that still appear in the order, the delivery note and the invoice
- a quantity that follows products, product groups or tags
- a note in the cart and in the buy box of the product page
Notes in the cart and on the product page
A note in the cart explains the line, once per session or always. A note in the buy box of the product page says it before the purchase, in three places and four colours, for selected products, dynamic product groups or tags.
In the order and on the invoice
Every item becomes a line of its own in the order, with quantity, unit price and tax rate, and appears that way in the ZUGFeRD e-invoice too. A Shopware product is ordered as a real product, and its stock goes down as in standard Shopware.
Instructions
- Install the extension.
- In the administration you will find the new menu item "Pseudo products" under "Catalogues".
General information
- Snippets
The extension uses snippets so that all texts and labels can easily be translated into other languages in the administration. - Multi-shop ready
Relevant configuration options can be adjusted individually for each sales channel. - Compatibility
The extension is always compatible with the latest Shopware version and the Shopware default theme. - Incompatibility
If you use a custom theme and/or third-party extensions, please test the extension thoroughly before buying. Compatibility cannot be guaranteed. - Responsive
Desktop PC, tablet or smartphone: the extension is fully responsive. - Free to try and use
Paid extensions can be tested free of charge and without obligation for 30 days (free trial month of the rental license). Free extensions stay free of charge for as long as you use them. - Features
The features described in the description, the screenshots and the demo shop always refer to the latest version of the extension. - Individual change requests
Every company is unique and requires individual solutions that are precisely tailored to its own workflows. Feel free to contact me without obligation: I will gladly adapt my extensions to your requirements and integrate them seamlessly into your in-house processes. - Liability disclaimer
The manufacturer of this extension is not liable for damages, in particular not for direct or indirect consequential damages, data loss, lost profits, system or production failures resulting from the use of the extension, except in cases of intent or gross negligence.
Contact information
- Phone
+49 (0) 234 97354482 - Internet
info@digitvision.de
https://www.digitvision.de - Address
Hevener Straße 65
44797 Bochum
About me
- 20+ years of experience
More than 20 years in e-commerce, more than 10 of them exclusively with Shopware. Your specialist with extensive industry and technical knowledge. - Reliable
Shopware is my passion and my hobby. I take care of your project reliably and with commitment, as if it were my own. - Quality
High service quality is my focus. I use state-of-the-art design patterns, current technologies and innovative tools.
Your competent partner
For more than 20 years I have been working as a passionate web developer in e-commerce. In this time I have advised and supported many companies in interesting projects. I stand for uncomplicated communication, future-proof solutions, modern technologies and a high level of commitment.
Every company is unique and requires individual solutions that are precisely tailored to its own workflows. Feel free to contact me without obligation: I will gladly adapt my extensions to your requirements and integrate them seamlessly into your in-house processes. I would be happy to provide you with offers for adaptations or individually developed extensions according to your wishes.
Details
- Available: English, German
- Latest update: 18 November 2026
- Publication date: 16 June 2020
- Version: 8.0.0
- Category: Checkout / Cart process
Resources
Reviews (12)
Average rating of 4.67 out of 5 stars
Leider zu unflexibel
Average rating of 4 out of 5 stars
Top
Average rating of 5 out of 5 stars
About the Extension Partner
digitvision
Partner Status
-
Shopware
Premium Extension Partner
Details
-
Ø-Rating:
4.9
Average rating of 4.9 out of 5 stars
- Partner since: 2018
- Extensions: 109
Support
- Based in: Germany
- Speaks: German, English
- Response time: Very quickly
Instructions
- Create a rule: under Settings › Automation › Rule Builder you describe when the item should come, for example through Shipping address: Country, customer group or Applied payment method. An existing rule works just as well.
- Create an item: under Catalogues › Pseudo products you click "Add pseudo product" and give it an internal name.
- Choose type and price: a pseudo product with title, product number and surcharge or discount, or a Shopware product from the catalogue, free of charge if you like.
- Display for customers, if you like: in the Basic Data tab you hide a free item during the checkout or let it be added only when the order is placed, a catalogue as an insert for example.
- Assign rule and sales channels: in the Basic Data tab you select the rule under Rules and the sales channels in which the item applies.
- Quantity and notes, if you like: in the tabs Quantity, Cart Note and Product Note. Then save: as soon as the rule applies, the item is in the cart.
8.0.0 6.7.0.0 - 6.7.16.1
- added the option to hide free pseudo products during the checkout or to add them only when the order is placed
- changed the layout of the base data of pseudo products with a new card for the display for customers
- fixed the maximum purchase per customer ignoring a second order in the same session
- fixed the save button showing a success state after a failed validation
- fixed the save button keeping its success state after further changes
- fixed the list of pseudo products keeping a deleted entry until the page was reloaded
- fixed the migrations failing when they run a second time
- fixed a deprecation warning of the cart notes on php 8.2 and newer
7.1.11 6.7.0.0 - 6.7.16.1
- fixed session error on storefront pages with enabled http cache
- fixed phpstan errors
7.1.10 6.7.0.0 - 6.7.16.1
7.1.9 6.7.0.0 - 6.7.16.1
- fixed session initialization on stateless store api requests
- fixed error within the checkout when a cart note is activated without a message
7.1.8 6.7.0.0 - 6.7.16.1
- fixed missing pseudo product line items in ZUGFeRD electronic invoices
7.1.7 6.7.0.0 - 6.7.16.1
7.1.6 6.7.0.0 - 6.7.16.1
7.1.5 6.7.0.0 - 6.7.16.1
7.1.4 6.7.0.0 - 6.7.16.1
7.1.3 6.7.0.0 - 6.7.16.1
7.1.2 6.7.0.0 - 6.7.16.1
7.1.1 6.7.0.0 - 6.7.16.1
7.1.0 6.7.0.0 - 6.7.16.1
7.0.0 6.7.0.0 - 6.7.16.1
- added compatibility to custom-products plugin
6.2.2 6.6.0.0 - 6.6.10.32
- fixed error within the checkout when a cart note is activated without a message
6.2.1 6.6.0.0 - 6.6.10.32
6.2.0 6.6.0.0 - 6.6.10.32
6.1.0 6.6.0.0 - 6.6.10.32
6.0.1 6.6.0.0 - 6.6.10.32
6.0.0 6.6.0.0 - 6.6.10.32
- added tabs to administration
- changed blocks within administration
5.0.4 6.6.0.0 - 6.6.10.32
5.0.3 6.6.0.0 - 6.6.10.32
5.0.2 6.6.0.0 - 6.6.10.32
- fixed icon and product number for pseudo products with negatives values within the checkout
5.0.1 6.6.0.0 - 6.6.10.32
5.0.0 6.6.0.0 - 6.6.10.32
4.0.2 6.6.0.0 - 6.6.10.32
4.0.1 6.6.0.0 - 6.6.10.32
4.0.0 6.6.0.0 - 6.6.10.32
- fixed too many results for first page listings within administration
3.5.0 6.5.0.0 - 6.5.8.19
3.4.1 6.5.0.0 - 6.5.8.19
3.4.0 6.5.0.0 - 6.5.8.19
- fixed duplication of pseudo products when editing an order
3.3.0 6.5.0.0 - 6.5.8.19
- added option to hide delivery time for pseudo products
3.2.6 6.5.0.0 - 6.5.8.19
- fixed pseudo products for disabled sales channels
3.2.4 6.5.0.0 - 6.5.8.19
3.2.3 6.5.0.0 - 6.5.8.19
- fixed rule builder comparisons for shopware products
3.2.2 6.5.0.0 - 6.5.8.19
3.2.1 6.5.0.0 - 6.5.8.19
- fixed removing database tables during uninstallation
3.2.0 6.5.0.0 - 6.5.8.19
- added surcharge-absolute and surcharge-percental attributes to pseudo product entity
- removed surcharge attribute from pseudo product entity
3.1.2 6.5.0.0 - 6.5.8.19
3.1.1 6.5.0.0 - 6.5.8.19
3.1.0 6.5.0.0 - 6.5.8.19
- fixed missing icons within the administration
- fixed setup components
3.0.0 6.5.0.0 - 6.5.8.19
2.0.5 6.4.5.0 - 6.4.20.2
2.0.4 6.4.5.0 - 6.4.20.2
2.0.3 6.4.5.0 - 6.4.20.2
2.0.2 6.4.5.0 - 6.4.20.2
2.0.1 6.4.5.0 - 6.4.20.2
2.0.0 6.4.5.0 - 6.4.20.2
- redesigned administration
- added additional internal name for pseudo products
- changed plugin name due to revised concept with shopware products and pseudo products
1.3.3 6.4.5.0 - 6.4.20.2
1.3.2 6.4.5.0 - 6.4.20.2
- changed default custom field payload value for pseudo product line items to empty array
1.3.0 6.4.5.0 - 6.4.20.2
- added support for multiple valid sales channels per pseudo product
- added support for multiple quantities per pseudo product depending on selected products
1.2.1 6.4.0.0 - 6.4.20.2
1.2.0 6.4.0.0 - 6.4.20.2
1.1.0 6.3.0.0 - 6.3.5.4
- dropped shopware 6.2 compatibility