Shipping calculation

Product number: AcrisShippingCalculation

Product information "Shipping calculation"

Highlights

Freely definable shipping cost calculation via TWIG Debug output via acris_dump() Insert additional fields into an order using TWIG code Extended access to variables

 

Features

Individual calculation for individual shipping methods via TWIG Debug output via acris_dump() for analysing variables and intermediate steps Extended access to variables Rule-based application Add custom fields to an order during TWIG shipping calculation with acris_set_order_custom_field(“custom_field_one”, “My value 1”)

 

Shipping cost calculation in Shopware is very limited. This makes price calculation difficult for many products.

We have therefore developed a plugin that offers the following functions:

Customizable shipping cost calculation using TWIG
With this plugin, any logic for shipping cost calculation can be created, greatly expanding the flexibility in designing shipping costs. Example TWIG code snippets are provided in the configuration guide.

Debug output via acris_dump()
With the new acris_dump() function, any variables or intermediate steps can be output directly in the TWIG code during shipping cost calculation. The debug values appear in the JavaScript console of the storefront, making it easier to analyse and test complex shipping logic.

Access to more variables
By using TWIG, it is possible to access more variables and their properties. These include currency, context, customer, shopping cart, lineItem, and much more. The available variables are explained in detail in the configuration guide.


Add custom fields to an order using TWIG code (from 4.2.0 for Shopware 6.6 and 5.2.0 for Shopware 6.7)
The following code allows you to add a custom field to the order when it is created. Of course, this requires that the shipping method and calculation of the shipping method with the individual TWIG code are applied to the order.
acris_set_order_custom_field(“custom_field_one”, “My value 1”)

The first parameter (custom_field_one) corresponds to the technical name of the additional field. This can match the technical name of the custom field created in the admin (Settings > Custom fields) for later display in the administration when the order is placed. However, there does not have to be a match. In this case, the value would be stored in the database, but it would not be displayed in the administration when the order is placed.

The second parameter corresponds to the value of the custom field. The following types are possible:
* Text (string)
* Number (int, float)

* Array


Code example:
{% set number_of_parcels = 0 %}
{% set shipping = 10 %}
{% for lineItem in lineItems %}
    {% if lineItem.good %}
        {% set number_of_parcels = number_of_parcels + 1 %}
    {% endif %}
{% endfor %}
{{ acris_set_order_custom_field('custom_number_of_parcels', number_of_parcels) }}
{{ shipping }}

 

Version
Required Shopware version
Published on
Changelog
Version
5.2.2
Required Shopware version
Published on
Required Shopware version
>=6.7.0.0 <6.8.0.0
Published on
16 February 2026
Changelog

- Fixed the error on wrong custom field type.

Version
5.2.1
Required Shopware version
Published on
Required Shopware version
>=6.7.0.0 <6.8.0.0
Published on
30 December 2025
Changelog

- Fixes the issue with the sanitized shipping calculation template.

Version
5.2.0
Required Shopware version
Published on
Required Shopware version
>=6.7.0.0 <6.8.0.0
Published on
14 November 2025
Changelog

- Implemented a new Twig function acris_set_order_custom_field for manual shipping calculation to store records in the order custom field.

Version
5.1.0
Required Shopware version
Published on
Required Shopware version
>=6.7.0.0 <6.8.0.0
Published on
29 October 2025
Changelog

- Implement a debug feature using acris_dump() for manual shipping cost calculation.

Version
5.0.5
Required Shopware version
Published on
Required Shopware version
>=6.7.0.0 <6.8.0.0
Published on
8 October 2025
Changelog

- Optimized admin component layout and code.

Version
5.0.4
Required Shopware version
Published on
Required Shopware version
>=6.7.0.0 <6.8.0.0
Published on
7 October 2025
Changelog

- Optimized admin component layout and disabled the 'Add pricing level' button when manual shipping calculation is enabled.

Version
5.0.3
Required Shopware version
Published on
Required Shopware version
>=6.7.0.0 <6.8.0.0
Published on
11 July 2025
Changelog

- Improved plugin compatibility with Shopware 6.7.

Version
5.0.2
Required Shopware version
Published on
Required Shopware version
>=6.7.0.0 <6.8.0.0
Published on
1 July 2025
Changelog

- Improved plugin compatibility with Shopware 6.7.

Version
5.0.1
Required Shopware version
Published on
Required Shopware version
>=6.7.0.0 <6.8.0.0
Published on
25 June 2025
Changelog

- Fixes an issue where individual shipping costs could no longer be entered or edited in the administration.

Version
5.0.0
Required Shopware version
Published on
Required Shopware version
>=6.7.0.0 <6.8.0.0
Published on
19 May 2025
Changelog

- 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

Version
4.2.2
Required Shopware version
Published on
Required Shopware version
>=6.6.0.0 <6.7.0.0
Published on
16 February 2026
Changelog

- Fixed the error on wrong custom field type.

Version
4.2.1
Required Shopware version
Published on
Required Shopware version
>=6.6.0.0 <6.7.0.0
Published on
30 December 2025
Changelog

- Fixes the issue with the sanitized shipping calculation template.

Version
4.2.0
Required Shopware version
Published on
Required Shopware version
>=6.6.0.0 <6.7.0.0
Published on
14 November 2025
Changelog

- Implemented a new Twig function acris_set_order_custom_field for manual shipping calculation to store records in the order custom field.

Version
4.1.0
Required Shopware version
Published on
Required Shopware version
>=6.6.0.0 <6.7.0.0
Published on
29 October 2025
Changelog

- Implement a debug feature using acris_dump() for manual shipping cost calculation.

Version
4.0.4
Required Shopware version
Published on
Required Shopware version
>=6.6.0.0 <6.7.0.0
Published on
20 May 2025
Changelog

- Re-release due to potential issues with plugin installation via Composer.

Version
4.0.3
Required Shopware version
Published on
Required Shopware version
>=6.6.0.0 <6.7.0.0
Published on
16 August 2024
Changelog

- Fixes a possible problem if the prices of the shipping costs are not set correctly in the database (e.g. after a data migration).

Version
4.0.2
Required Shopware version
Published on
Required Shopware version
>=6.6.0.0 <6.7.0.0
Published on
24 June 2024
Changelog

- Improves plugin compatibility.

Version
4.0.1
Required Shopware version
Published on
Required Shopware version
>=6.6.0.0
Published on
25 March 2024
Changelog

- Updated Pipeline file

Version
4.0.0
Required Shopware version
Published on
Required Shopware version
>=6.6.0.0
Published on
20 March 2024
Changelog

- Compatibility with Shopware 6.6.

Version
3.2.1
Required Shopware version
Published on
Required Shopware version
>=6.5.0.0 <6.6.0.0
Published on
16 February 2026
Changelog

- Optimised the custom field type code.

Version
3.2.0
Required Shopware version
Published on
Required Shopware version
>=6.5.0.0 <6.6.0.0
Published on
12 February 2026
Changelog

- Fixed the error on wrong custom field type

- Fixes the issue with the sanitized shipping calculation template.

- Implemented a new Twig function acris_set_order_custom_field for manual shipping calculation to store records in the order custom field.

- Implement a debug feature using acris_dump() for manual shipping cost calculation.

Version
3.1.3
Required Shopware version
Published on
Required Shopware version
>=6.5.0.0 <6.6.0.0
Published on
14 October 2025
Changelog

- Improved plugin compatibility.

Version
3.1.2
Required Shopware version
Published on
Required Shopware version
>=6.5.0.0 <6.6.0.0
Published on
26 May 2025
Changelog

- Improves plugin compatibility.

Version
3.1.1
Required Shopware version
Published on
Required Shopware version
>=6.5.0.0
Published on
15 January 2024
Changelog

- Optimizes plugin update.

Version
3.1.0
Required Shopware version
Published on
Required Shopware version
>=6.5.0.0
Published on
3 November 2023
Changelog

- Adds basic unit and selling unit data to line items payload in the cart.

Version
3.0.2
Required Shopware version
Published on
Required Shopware version
>=6.5.0.0
Published on
28 August 2023
Changelog

- Improves plugin compatibility.

Version
3.0.1
Required Shopware version
Published on
Required Shopware version
>=6.5.0.0
Published on
5 July 2023
Changelog

- Improves plugin compatibility.

Version
3.0.0
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
7 March 2023
Changelog

- Compatibility with Shopware 6.5.

Version
2.3.4
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
15 February 2023
Changelog

- Change of the plugin name and the manufacturer links.

Version
2.3.3
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
26 November 2022
Changelog

- Optimizes shipping calculation on cart recalculation.

Version
2.3.2
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
26 November 2022
Changelog

- Fixes a problem where calculated shipping costs result in a value of 0.

Version
2.3.1
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
26 November 2022
Changelog

- Fixes a problem where the shop is not accessible after a change of the shipping costs template on the first call.

Version
2.3.0
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
26 November 2022
Changelog

- From now on it is possible to use own Twig functions from other plugins in the shipping costs calculation.

Version
2.2.2
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
26 November 2022
Changelog

- Optimizes plugin image.

- Improves compatibility with Shopware >= 6.4.10.0.

Version
2.2.1
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
26 November 2022
Changelog

- Optimizes delivery calculator on manually calculation.

Version
2.2.0
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
26 November 2022
Changelog

- Determines the tax rates relevant to the delivery and adds them as a possible variable in Twig.

Version
2.1.0
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
26 November 2022
Changelog

- Adds new variables to the shipping calculation.

Version
2.0.2
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
26 November 2022
Changelog

- Adds cart variable suggestion in the shipping calculation template.

Version
2.0.1
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
26 November 2022
Changelog

- Added cart to the shipping calculation template.

Version
2.0.0
Required Shopware version
Published on
Required Shopware version
>=6.4.0.0
Published on
26 November 2022
Changelog

- Improved compatibility with Shopware 6.4*.

Version
1.0.4
Required Shopware version
Published on
Required Shopware version
>=6.3.0.0
Published on
26 November 2022
Changelog

- Improves compatibility with Shopware version > 6.3.0.0 and <= 6.3.3.1.

Version
1.0.3
Required Shopware version
Published on
Required Shopware version
>=6.3.0.0
Published on
26 November 2022
Changelog

- Added validation on shipping calculation.

10 of 10 reviews

Average rating of 5 out of 5 stars


100%

0%

0%

0%

0%


Leave a review!

Share your experiences with other customers.


10 reviews

16 October 2025 06:44

Review with rating of 5 out of 5 stars

Extrem flexibel

Das Plugin ermöglicht sehr flexible Versandkostenberechnungen. Hier gibt es kaum Grenzen. Auch auf die Variablen anderer Plugins kann zugegriffen werden. Auf meine Anregung wurde sogar eine Debug Möglichkeit eingebaut.
Der Support war dafür Top und sehr hilfreich und schnell, hier ein wirklich großes Dankeschön!
Alles in allem sehr zu empfehlen bei komplexen Versandkostenstrukturen.

Our feedback: Lieber Michael, danke für dein wertvolles Feedback! Wir haben eine neue Möglichkeit für ein Debugging ins Plugin integriert. Dies steht dir ab der Pluginverison 4.1.0 (SW 6.6) und 5.1.0 (SW 6.7) zur Verfügung. Debug Ausgaben können über die TWIG Funktion "acris_dump(...)" gemacht werden. Die Debug Ausgaben sind in der JavaScript Console im Storefront sichtbar und sollen nur zu Testzwecken genutzt werden! Beispiel: "{{ acris_dump(cart) }}". Wir haben bereits mit der neuen Pluginfunktion einen Infotext im Admin direkt bei der Berechnung integriert, wo wir dies beschreiben. Liebe Grüße Christoph im Auftrag des ACRIS Support Team´s

24 June 2024 09:56

Review with rating of 5 out of 5 stars

Ein muss für jeden Shop mit komplexeren Versandlogiken. Top!

Wir nutzen das Plugin zur komplexeren Versandkalkulation (Volumengewicht, Bandmaße, verschiedene Logiken) und es tut genau das, was man eigentlich von Bord vermisst. Der Support hat mir innerhalb kürzester Zeit geholfen, sehr lobenswert!

24 May 2024 15:20

Review with rating of 5 out of 5 stars

Exemplary support

Due to Shopware being quite basic in terms of shipping, we looked for a plugin to meet our needs and this one was the only one that accepted complex rules. Of course we had no idea how to create the code for the rules, but we asked for help from the plugin developers to create the script for us based on our request. Julian was a massive help and replied all day long to our requests, thank you for this!

4 March 2024 09:10

Review with rating of 5 out of 5 stars

Mächtiges, gut funktionierendes Werkzeug

Die Erweiterung stellt ein mächtiges Werkzeug zur Darstellung auch komplexerer Versandkostenanforderungen zur Verfügung.
Der Acris-Support, wenn man ihn mal benötigt, ist schnell und kompetent und hilft ersichtlich gerne.

Leider ist die Erweiterung überhaupt erst nötig, weil Shopware in SW6 keine Auf- und Abschlagsversandarten mehr bietet und eigene Regeln und Bedingungen ebenfalls nicht mehr möglich sind.
In SW5 konnte man unsere Anforderungen noch mit Hausmittel darstellen!

27 March 2023 14:02

Review with rating of 5 out of 5 stars

Endlich wieder individuelle Berechnungen

Leider ist es, aus mir unerklärlichen Gründen, nicht möglich, im Standard von SW6 individuelle Versandkostenberechnungen vorzunehmen.

Mit diesem Plugin lassen sich eigentlich simple Berechnungen auch wieder simpel durchführen.
Beispielsweise Versandgewicht bis 5 kg = Preis x
Für jedes hinzu kommende KG zahlt der Kunde y, addieert auf x.

Kein Problem mit diesem Plugin.

P.S.: Schade, dass derartig nötige Funktionen nicht Standard sind.

13 March 2023 15:05

Review with rating of 5 out of 5 stars

Acris = Erweiterung und Support 1+

Wir nutzen einige Erweiterungen von Acris und sind IMMER und durchgehend damit gut gefahren.
Der Support ist Weltklasse, antwortet schnell und präzise und hilft auch darüber hinaus, wo sie können.

8 June 2022 12:01

Review with rating of 5 out of 5 stars

Produkt und Service sind erstklassig

Das Plugin löst das Problem individuell berechneter Versandkosten auf denkbar einfache Weise. Unser Wunsch auch eigene Twig-Funktionen verwenden zu können wurde in Rekordtempo umgesetzt. Dieser Support ist sowohl in Sachen Reaktionsgeschwindigkeit als auch Zielorientierung spitze. Danke!

9 December 2021 11:01

Review with rating of 5 out of 5 stars

Endlich die Erweiterung nach der man sucht wenn man komplexen Versand berechnen will.

Es ist möglich alle Parameter die von Interesse sind mit TWIG Programmiertechnisch abzubilden und individuell zu errechnen. Beauftragen Sie mich wenn Sie Hilfe benötigen. Mein Name in Google reicht.

29 November 2021 09:30

Review with rating of 5 out of 5 stars

Essenzielle Erweiterung

Wahrscheinlich unser wichtigstes Plugin, um auch komplexere Versandkostenstrukturen abzubilden, die nicht nach Gewicht oder Anzahl gehen. Extrem simpel zu bedienen, Zusatzvariablen wurden vom Support innerhalb von Tagen eingebaut.

31 May 2021 07:20

Review with rating of 5 out of 5 stars

Tut was es soll

Top Plugin, Top Entwickler mit schnellem Support.
Hatte einige Probleme und Fragen zum Versand, die alle schnell und erfolgreich gelöst werden konnten.

Yes. This can be done using the following code:
acris_set_order_custom_field(“custom_field_one”, “My value 1”)
Detailed information is documented in the description of the extension.

Skip product gallery

Customers also bought

Inherit category layout to subcategories
TinyMCE HTML Editor with Shopware Entities and Formate Template
MUST HAVE
Staging System / Developement System / Testing System (without additional costs for plugins)
MUST HAVE
B2B VAT: Tax-free when entering the UID number with Validation
Youtube & Vimeo Videos on product detail page integration