Surcharges and discounts
Product information "Surcharges and discounts"
Highlights
Assignment of surcharges and discounts Discount amount and type can be freely defined Based on custom configured ruleÂ
Features
Add user-defined surcharges and discounts in checkout Determine the amount of surcharges/discounts yourself Percentage and absolute discounts selectable Set rules individually Easily activate and deactivate Weight-based surcharge, e.g. for the german coffee taxÂ
Usage of the plugin
The plugin displays active surcharges / discounts in the storefront, based on the rules and sales channels you create. You can choose between absolute and percentage surcharges or discounts and the amount is chosen by yourself.Functionality
- The plugin will display active surcharge / discount at storefront based on rules and sales channel.
- Surcharge / discount can be:
- Absolute
- Percentage
- Display name will be used at storefront.
- If are added more surcharge / discounts then first all surcharge will be calculated.
- In addition, the plugin allows you to account for statutory or industry-specific levies, such as the German coffee tax. A weight-based surcharge is used to calculate the levy correctly.
Examples:- €2.19 per kg for roasted coffee
- €4.78 per kg for instant coffee
New features from version 3.8.0
- Adds the ability to add the surcharge/discount as a line item or additional cost to the shopping cart.
- Adds the ability to customise the surcharge/discount line item icon.
New features from version 3.7.0
- Adds tax selection for rule surcharge/discount calculation.
- Adds price field (gross / net).
- Uses the new price field to calculate the surcharge / discount with the calculation type "Absolute" or "Difference to minimum order quantity of".
New feature from version 3.6.0
- Allows to calculate absolute surcharges / discounts per delivery (useful e.g. in connection with plugin ACRIS partial deliveries).
New feature from version 3.5.0
- Allows to add surcharges / discounts before or after the Shopware actions in the shopping cart.
New feature from version 3.4.0
- Allows to take into account the previous surcharges / discounts of the ACRIS plugin and / or Shopware actions when calculating percentage discounts.
- Enables prioritization of markups / markdowns.
- The markups / markdowns are (as of now) always calculated and inserted into the shopping cart after the Shopware actions.
New feature from version 3.3.0
- Adds new surcharge / discount type "Difference to minimum order quantity of".
New feature as of version 3.2.0
- Enables quantity-based calculation of surcharges / discounts.
New feature as of version 3.1.0
- Adds extended rules for markup / discount. (Discounts / Surcharges for specific products).
Please create a rule in the RuleBuilder first
In the area Settings -> Shop-> RuleBuilder -> Create rule.
Here you define a rule, which you later assign to the surcharges or discounts, when they should come into effect.
After that create a surcharge/discount
In the area Settings -> Plugins -> Surcharge/Discount-> Add
Configuration / settings options
Internal ID: for a unique internal recognition
Internal name: is only used internally and is also only visible there
Name display: the title which is displayed in the storefront
Active: active or not active
Type: here you can choose what kind of surcharge or discount you want (percentage, absolute)
- Note: If the ‘Absolute’ type is selected, additional options for quantity- and weight-based calculations are available.
Value: here you can set the amount of the surcharge or discount (for discounts please always put a - in front of it, so that the buzzer will be deducted as well)
Rules: refer to a rule, under which conditions the surcharge/discount is valid
Distribution channels: Here you can specify which sales channels these surcharges/discounts should be applied to.
Possible application scenarios
Some products require special handling and may need a unique packaging, the production or similar is particularly complex which justifies certain surcharges for products. Surcharges can also be applied with this plugin for more expensive shipping methods (e.g.: shipping with forwarding agent). Similarly, the plugin can be used to display statutory levies such as the coffee tax in a transparent and rule-based manner by configuring weight-based surcharges.
For whatever reason you require a surcharge, always be transparent to your customers what it is for and why it is required. Due to the rule-based setting, you can freely define when and for which products surcharges but also discounts should be added.
Why should you offer discounts?
Discounts fulfill useful functions. Among other things it is possible to
- increase the profit
- attract new customers - increase market share
- to get rid of old goods
- to fill weak times
- increase customer loyalty
- communicate a certain price image
- generate attention and increase brand awareness
It is best to link discounts with occasions! From a price and sales psychology perspective, it makes sense to link discounts to occasions or hang-ups. However, Christmas, back-to-school, and Mother's Day have been plenty grazed. To make your promotion stand out, you need to be more creative. Fortunately, there is no shortage of occasions
Â
| Bundle: | B2B Bundle |
|---|---|
| By Categorie: | Sales & Promotion |
| By Type: | Premium |
- Adds duplicate functionality for surcharge/discount entities in the administration listing.
- Adds weight based calculation option for absolute surcharges / discounts.
- Fixed an issue where surcharge/discount rules based on cart total conditions were not evaluated correctly when used together with third-party configurator plugins (e.g. Neon6Configurator) that recalculate product prices during cart processing. The collector and processor priorities have been adjusted to run after such configurator plugins.
- Fixed an issue where percentage-based surcharges were calculated on the admin base price instead of the configurator-calculated price when used together with third-party configurator plugins.
- Fixed an issue where a percentage-based surcharge rule was not applied when a flat surcharge rule was processed first and modified the cart total, causing the percentage rule's condition to be evaluated against an incorrect cart total.
- Fixed operator precedence bug in surcharge/discount rule matching.
- Fixed an issue where the line items grid on the order creation page was not functional due to incorrect template structure.
- Fixed missing surcharge/discount title display on the order creation page in the administration.
- Fixed an issue where changing the shipping costs on the order creation page did not apply correctly.
- Fixed an issue where changing the surcharge/discount price on the order detail page did not apply correctly.
- Improved plugin compatibility with Shopware 6.7.
- Code optimizations.
- Improves plugin compatibility.
- Improves plugin compatibility.
- Optimizes tax adjustment.
- Improves plugin compatibility.
- Improves plugin compatibility.
- Fixed icon compatibility with other plugins.
- Improves plugin compatibility.
- Improved plugin compatibility with Shopware 6.7.
- Improves plugin compatibility.
- Code optimizations.
- Fixed compiled admin files.
- Compatibility optimizations.
- Optimizes surcharge / discount quantity calculation for multiple deliveries.
- Enables shipping costs to be included in the discount calculation. This can be configured directly for the surcharge/discount.
- Compatibility with Shopware 6.7.
- Support for the following languages: de-DE, en-GB, nl-NL, fr-FR, es-ES, fi-FI, nn-NO, sv-SE, cs-CZ, pt-PT, tr-TR, da-DK, it-IT, pl-PL, bs-BA
- Adds weight based calculation option for absolute surcharges / discounts.
- Improved plugin compatibility with SwagB2bPlatform.
- Improves plugin compatibility.
- Optimizes tax adjustment.
- Improves plugin compatibility.
- Improved compatibility with Shopware >= 6.6.10.6.
- Improves plugin compatibility.
- Improves plugin compatibility.
- Optimizes surcharge / discount quantity calculation for multiple deliveries.
- Usability optimization when creating new surcharges/discounts in the administration.
- Enables shipping costs to be included in the discount calculation. This can be configured directly for the surcharge/discount.
- Improves plugin compatibility with Shopware 6.6.10.* versions.
- Optimizes validation of surcharge / discounts for delivery rules.
- Optimizes validating surcharges / discounts for deliveries.
- Improved compatibility with the ACRIS UVP plugin.
- Fixes a potential issue with the calculation of surcharges/discounts on product detail pages.
- Optimizes enabling and disabling of the surcharge / discount for the order in the admin.
- Optimizes loading of the surcharge / discount in the cart.
- Improves plugin compatibility.
- Optimisation of the calculation in conjunction with plugins that add further item categories (e.g. bundle, configurator).
- Optimizes calculation of the additional costs.
- A plugin configuration option has been added to display the price with applied rule surcharges and/or discounts on the product listing and product detail pages.
- A new text field for the rule surcharges/discounts has been added in the administration, which is displayed on the product detail page for certain selectable items.
- Fixed a case where the "Disable automatic surcharges/discounts" text while editing an order on mobile would layout shift incorrectly
- Improves plugin compatibility.
- Inserts the internal ID and the internal name into the order if "Additional costs" has been selected as the type.
- Optimizes loading of absolute price field at surcharge / discount detail page in the admin.
- Changed Pipeline
- Improved compatibility with Shopware 6.6.
- Compatibility with Shopware 6.6.
- Improves plugin compatibility.
- Fixes an issue where percentage discounts were calculated on the original price instead of the price after Shopware promotions when the "Add to cart after Shopware promotions" option was selected.
- Improved compatibility with the ACRIS UVP plugin.
- Fixes a potential issue with the calculation of surcharges/discounts on product detail pages.
- Improves plugin compatibility.
- Optimisation of the calculation in conjunction with plugins that add further item categories (e.g. bundle, configurator).
- Optimizes calculation of the additional costs.
- A plugin configuration option has been added to display the price with applied rule surcharges and/or discounts on the product listing and product detail pages.
- A new text field for the rule surcharges/discounts has been added in the administration, which is displayed on the product detail page for certain selectable items.
- Fixed a case where the "Disable automatic surcharges/discounts" text while editing an order on mobile would layout shift incorrectly
- Inserts the internal ID and the internal name into the order if "Additional costs" has been selected as the type.
- Optimizes assigning of the surcharge / discount on the order recalculation.
- Adds plugin configuration for line items validation on order recalculation.
- Improves plugin compatibility with the "Mollie Payments" plugin.
- Improves plugin compatibility.
- Improves plugin compatibility.
- Optimizes loading of surcharge / discount with the assigned delivery rules.
- Optimizes loading of the promotions in the cart when the cart contains the surcharge / discount.
- Fixed that the discount icon with default colors is not displayed correctly in the shopping cart and checkout page.
- Changed visibility of info text
- Optimizes calculation of the surcharge / discounts at the order recalculation.
- Improves plugin compatibility.
- Improves plugin compatibility.
- Optimizes displaying of the surcharge / discounts in the Administration.
- Improved compatibility with Mollie payment provider.
- Adds validation on assigning "additional costs" in the Administration.
- Optimizes assigning and editing "additional costs" surcharge / discounts at the order page in the Administration.
- Inserts surcharges / discounts into documents, even if they are of the type "additional costs".
- Fixes problems with the uninstallation of the plugin.
- Improves performance of the surcharge / discount loading.
- Improves plugin compatibility with Shopware versions >= 6.5.0.0.
- Optimizes calculation of the additional costs.
- Improves plugin compatibility.
- Improved compatibility with Mollie payment provider.
- Adds validation on assigning "additional costs" in the Administration.
- Optimizes assigning and editing "additional costs" surcharge / discounts at the order page in the Administration.
- Inserts surcharges / discounts into documents, even if they are of the type "additional costs".
- Fixes problems with the uninstallation of the plugin.
- Improves performance of the surcharge / discount loading.
- Cache optimisations.
- Optimizes the rule validation in the cart.
- Improves plugin performance
- Optimisation of compatibility with other plugins and with newer Shopware versions.
- Adds selection of the delivery rules at the surcharge / discount detail page in the Administration.
- Fixes a problem on loading of the surcharge / discount disabling module at the order create page in the Administration.
- Optimizes surcharge / discount calculator compatibility.
- Optimizes changing of the surcharges/discounts inside the order in the admin.
- Change of the plugin name and the manufacturer links.
- Improves plugin compatibility with the "Mollie Payments" plugin.
- Added more digits support for percentage type discount.
- Fixes a problem with added surcharges and discounts which are calculated on existing promotions.
- Optimizes calculation of the surcharge / discount with type absolute for the cart with total price 0.0.
- Optimizes calculation of the surcharge / discount.
- Optimizes the surcharge / discount quantity in the order line item payload.
- Optimizes calculating of the surcharge / discount value with type "Difference to the minimum order quantity of".
- Optimizes display of the surcharge / discount quantity in the Administration.
- Adds possibility to add the surcharge / discount to the cart as line item or additional cost.
- Adds possibility to optimize surcharge / discount line item icon.
- Fixes an issue where Shopware promotions were displayed twice in the admin when selecting "Calculate surcharge / discount based on the following types of shopping cart items" in the admin.
- Optimizes applying of surcharge / discount to the cart based on the assigned product rules.
- Optimizes quantity based calculation.
- Adds tax selection for the rule surcharge / discount calculation.
- Adds price field (gross / net).
- Uses new price field to calculate the surcharge / discount with the "Absolute" or "Difference to the minimum quantity of" calculation type.
- Enables absolute surcharges / discounts to be calculated per delivery (useful e.g. in connection with plugin ACRIS Partial Deliveries).
- Fixes a problem with the plugin update for MySQL databases.
- Enables surcharges / discounts to be added to the shopping cart before or after Shopware promotions.
- Allows the calculation of percentage discounts to take into account the previous surcharges / discounts of the ACRIS plugin and / or promotions of Shopware.
- Enables prioritisation of surcharges / discounts.
- From now on, the surcharges / discounts are always calculated after the Shopware promotions and inserted into the shopping cart.
- Fixes problems with the tax calculation for surcharges for a minimum order value.
- Fixes a problem where the surcharge for a minimum order value was always calculated from the net price and not from the gross price.
- Compatibility with Shopware 6.4.13.0.
- Optimisation of the display in the shopping cart in conjunction with other plugins.
- Optimizes loading of the surcharges / discounts on changing of the order states in Administration.
- Adds new surcharge / discount type "Difference to the minimum order quantity of".
- Optimisation of the calculation of the composition for surcharges or discounts calculated per item or item and quantity.
- Optimizes discount rule field at the surcharge / discount detail page in Administration.
- Enables a quantity-based calculation of surcharges / discounts.
- Optimizes checking of the rules for surcharge / discount in cart.
- Add validation on cart recalculation with surcharge / discounts in cart.
- Optimizes plugin image.
- Optimizes plugin color in administration.
- Optimizes loading the line items in packages.
- Optimizes loading of the packages for line items in cart.
- Adds advanced rules to surcharge / discount.
- Optimizes validating rules for the cart items.
- Optimizes validating of the surcharge / discount items in cart.
- Optimizes loading of the rules on surcharge / discount item validating.
- Optimizes loading of the surcharge / discount in cart at Storefront.
- Fixes problems in the order overview in the account area for Shopware >= 6.4.2.0.
- Optimizes the surcharge / discount calculator.
- Optimizes loading of the orders at account page in Storefront.
- Optimizes loading of the components in Administration.
- Optimize compatibility with promotions.
- Optimization of the tables.
- Improved compatibility with Shopware 6.4*.
- Fixes a problem with the plugin update for MySQL databases.
- Allows the calculation of percentage discounts to take into account the previous surcharges / discounts of the ACRIS plugin and / or promotions of Shopware.
- Enables prioritisation of surcharges / discounts.
- From now on, the surcharges / discounts are always calculated after the Shopware promotions and inserted into the shopping cart.
- Fix problem on creating of surcharge/discount at administration.
- Optimize snippets.
- Added help text for surcharge/discount value field.
- Optimize checkout template at storefront.
- Optimize plugin compatibility.
Login
9 reviews
26 June 2024 09:35
Ein Pflicht-Plugin für B2B Shops plus Spitzensupport, Danke!!
Das SW-interne Rabatt-System kann man ja bestenfalls als rudimentär bezeichnen: Für simple Rabatte und Gutscheine im B2C-Bereich tut das zwar seinen Dienst; wenn man aber verschiedenen Kundengruppen gestaffelte Warenkorb-Rabatte geben will, kommt man um dieses Plugin nicht herum. Einfach top!
Und 1000 Dank für den Support bei einem besonders kniffligen Problem mit der Konfiguration - das hätten wir ohne Euch nicht hinbekommen!
Beste Grüße aus Berlin
Dieter
8 March 2024 11:00
Nice support
The plugin was not working correctly. They helped me to find a solution.
14 August 2023 09:41
Ein mächtiges Tool
Das ist ein wirklich mächtiges Tool um Zuschläge, Rabatte und Versandkosten den eigenen Bedürfnissen anzupassen. Da wir drei verschiedene Versandklassen haben (Paket, Spedition und Sperrgut), die zudem bei gemischten Warenkörben korrekt aufaddiert werden müssen, war dieses Plugin genau der fehlende Baustein, um das möglichst unkompliziert zu umzusetzen. Das Schöne daran: die Sperrgutzuschläge können separat im Warenkorb und an der Kasse angezeigt werden. Durch die Verbindung mit dem Rulebuilder können zudem sehr fein ausballancierte Regeln, auch für andere Bereiche eingestellt werden.
13 March 2023 09:25
Super Erweiterung
Hilft sehr gut weiter, um eigene Preisstrukturen und Besonderheiten zu verrechnen - Support zudem super schnell und freundlich
2 March 2023 08:53
Gutes Plugin und Top Support!
Mit dem Plugin können zahlreiche und komplexere Versandoptionen abgebildet werden, wie bspw. Gefahrgut, Sperrgut, zusätzliche Handhabung etc. Das sind zumindest die Punkte, die wir mit dem Plugin abdecken.
Die Einstellungen sind soweit übersichtlich und logisch gebaut.
Auch Support-Unterstützung ist sehr gut, wenn man selbst mit den Regeln nicht weiter kommt, vor allem in der Kombination mit sinnvollen Plugins wie Teillieferung von ACRIS.
Danke an das Support Team!
29 December 2022 09:55
Sehr gutes Plugin
Müsste eigentlich zum Standard von Shopware gehören! Plugin funktioniert einwandfrei und ist sehr flexibel. Wir nutzen dies für Zuschläge der Zahlungsarten und für die Sperrgut Zuschläge.
23 November 2022 15:38
Klasse Erweiterung, lässt sich einfach konfigurieren und superschneller Support
Wir nutzen die Erweiterung für automatisierte Zuschläge. Es war ein kleiner Fehler in der Erweiterung, die aber innerhalb 24 Stunden gefunden und upgedatet wurde. Perfekter geht es nicht. 100% Empfehlung!
17 November 2022 09:37
Sehr sinnvolle Erweiterung für Mindermengen Aufschläge!
Das Plugin wird von uns benötigt/benutzt, um einfach die Funktion von benötigten Mindermengenaufschlag zu realisieren. Fast selbsterklärend, doch ein zwei Punkte könnten ein wenig besser Dokumentiert werden: z.B.: 2-3 Screenshoots von Beispielregeln für den Rulebuilder und dessen Verknüpfungen in den Plugineinstellungen mit in die Gallerie etc.. Weil die Textdokumentation liess mich nämlich leider anfangs in die falsche Richtung denken/klicken - was allerdings mehr am Verständnis für die Nutzung des Rulebuilder im Kontext zum Plugin lag. Ausgeschlafen am nächsten Morgen klappte es auf Anhieb. Bin sonst sehr zufrieden mit eurer Arbeit. :))
13 October 2022 08:40
Nach dem Update 5-Sterne!
Ich habe mich bei der Vorversion etwas kritisch über dieses Modul geäussert, da die Zu- und Abschläge nicht bei den Versandkosten, sondern bei den Produkten ausgewiesen wurden. Mein Anwalt warnte mich deshalb dieses so zu verwenden, da der Kunde zusätzlichen Kosten nicht in den Produkten sucht und deshalb Abmahnungen drohen könnten. Die Bewertung viel deshalb eher etwas negativ aus. Kaum erfasst, meldete sich sofort Herr Kern von der Firma ACRIS bei mir per Mail. Er nahm meine Wünsche so sehr ernst, dass er bereits in der soeben publizierten Version sämtliche Wünsche von mir übernahm. Über einen solchen Support kann ich nur ein Wort los werden: WOW!!! Die Erweiterung erfüllt nun sämtliche von mir gewünschten Funktionen und kostet danebst gerade mal einen drittel soviel wie eine ähnliche, welche jedoch nur Zu- aber keine Abschläge erlaubt.
Yes, the following code must be inserted in the email template (preferably directly above the shipping costs)
{% set collectedSurchargeDiscountAdditionalCost = null %}
{% if order is not empty and order.customFields is not empty %}
{% if order.customFields.acrisSurchargeDiscountAdditionalCosts is defined %}
{% if order.customFields.acrisSurchargeDiscountAdditionalCosts is not empty and order.customFields.acrisSurchargeDiscountAdditionalCosts|length > 0 %}
{% set collectedSurchargeDiscountAdditionalCost = order.customFields.acrisSurchargeDiscountAdditionalCosts %}
{% endif %}
{% endif %}
{% endif %}
{% if collectedSurchargeDiscountAdditionalCost is not empty %}
{% for surchargeDiscount in collectedSurchargeDiscountAdditionalCost %}
{{ surchargeDiscount.label|sw_sanitize }}: {{ surchargeDiscount.price.totalPrice|currency(order.currency.isoCode) }}
{% endfor %}
{% endif %}
#### NOTE ####
The best place for the above code is directly above the shipping costs - the code looks like this and does not need to be adjusted:
{% for shippingCost in order.deliveries %}
Shipping costs: {{ shippingCost.shippingCosts.totalPrice|currency(currencyIsoCode) }}
{% endfor %}
Here is an example call via the Shopware Sync API: {{baseUrl}}/_action/sync
[
{
"action": "upsert",
"entity": "acris_rule_s_d",
"priority": 10,
"payload": [
{
"id": "01947370acd87ca888b378a25830807d",
"internalName": "Internal Name (required)",
"internalId": "Internal ID",
"displayName": "Name for display (required)",
"infoText": "Infotext for display
",
"active": true,
"type": "absolute",
"calculateQuantity": "no",
"priority": 10,
"affectedTypes": [
"product"
],
"calculationBase": "good",
"promotionOrder": "beforePromotion",
"taxType": "auto",
"price": [
{
"net": 100,
"gross": 119,
"linked": false,
"currencyId": "b7d2554b0ce847cd82f3ac9bd1c0dfca"
}
],
"assignMethod": "lineItem",
"icon": "default",
"salesChannels": [
{
"id": "0192c41809a773eca68f8da8237b29ac"
}
],
"rules": [
{
"id": "0192c416f26072a9b8ee920fc9e6f223"
}
]
}
]
}
]
- Create a rule and use the condition "Subtotal of all items".
- To the right of the condition and the input field for the value, there is a "Filter" button. By clicking the filter button, you can set which products are allowed to be considered for calculating the subtotal of the items.
The API documentation is available at: https://api-docs.acris.at/#cadd7d73-64ff-4473-8330-cb955bf9346c