Shipping costs Text instead of shipping costs
Technical Information
Highlights
-
Custom shipping cost text instead of calculated shipping costs
-
Can be set separately for each shipping method
-
Display directly in the shopping basket and at checkout
Features
-
Display shipping costs as usual (Shopware standard) or replace them with custom text
-
Texts configurable per shipping method and language
-
Rule-based display: text only appears if the stored condition applies
-
Display in OffCanvas shopping cart and checkout
-
Extendable for order confirmation by email (with small template snippet)
In the Shopware standard, shipping costs are always displayed as a fixed amount. However, this is impractical in many scenarios – for example, when delivery costs are agreed individually, free delivery is offered, or the note ‘Shipping costs on request’ should appear.
We have therefore developed a plugin that offers the following advantages:
Individual shipping cost text instead of amounts
Instead of the automatically calculated shipping costs, a freely definable text can be displayed – for example, ‘Free’, ‘Delivery on request’ or ‘Shipping costs as agreed’.
Flexible configuration per shipping method and language
For each shipping method, you can decide separately whether to display the standard costs or a customised text. Language-specific texts are also possible.
Rule-based control with RuleBuilder
The display can be controlled specifically using rules. This means that shipping texts can only appear under certain conditions – for example, for specific customer groups, countries or shopping basket values.
Display in the shopping basket and checkout
The shipping cost text replaces the amounts in the OffCanvas shopping basket and checkout. Optionally, it can also be integrated into the order confirmation email via a small template snippet.
Installation
- Open Plugin Manager via Settings > System > Plugins.
- Upload, install and activate the plugin.
- There are no special plugin settings in the main menu.
Shipping cost configuration
Settings > Shop > Shipping > Select shipping method > Additional fields > Settings for displaying shipping costs
- Display of shipping costs
Either display the calculated shipping costs as they are (default) or show a customised text. - Shipping cost text
Freely selectable text that is displayed instead of the amount (e.g. shipping costs on request, delivery costs as agreed). - Shipping cost text rule
Conditions can be defined using the Rule Builder (e.g. customers from the USA). The text is displayed if at least one of the rules applies. If no rule is stored, the text applies to all customers.
Shipping cost text in the order confirmation
If you want the shipping cost text to also be displayed in the order confirmation email, a small template adjustment is necessary.
Replace the standard code in the template:
Shipping costs: {{ order.deliveries.first.shippingCosts.totalPrice|currency(currencyIsoCode) }} </br>
with the following variants:
Versions 1.0.0 und 1.0.1
{% set shippingMethod = order.deliveries.first.shippingMethod %}
{%
if shippingMethod.translated.customFields is defined and
shippingMethod.translated.customFields.acris_shipping_costs_text_type ==
"show_text" %}
{% if
shippingMethod.translated.customFields.acris_shipping_costs_text is
defined and
shippingMethod.translated.customFields.acris_shipping_costs_text is not
empty %}
Shipping costs: {{ shippingMethod.translated.customFields.acris_shipping_costs_text }}<br>
{% else %}
Shipping costs: {{ order.deliveries.first.shippingCosts.totalPrice|currency(currencyIsoCode) }}<br>
{% endif %}
{% else %}
Shipping costs: {{ order.deliveries.first.shippingCosts.totalPrice|currency(currencyIsoCode) }}<br>
{% endif %}
Versions 2.0.1 and above
{% set shippingMethod = order.deliveries.first.shippingMethod %}
{%
if shippingMethod.translated.customFields is defined and
shippingMethod.translated.customFields.acris_shipping_costs_text_type is
defined and
shippingMethod.translated.customFields.acris_shipping_costs_text_type ==
"show_text" %}
{% if
shippingMethod.translated.customFields.acris_shipping_costs_text is
defined and
shippingMethod.translated.customFields.acris_shipping_costs_text is not
empty %}
{% if delivery.shippingMethod.translated.customFields.acris_shipping_costs_text_rules %}
{% set showText = 0 %}
{% for activeRule in order.ruleIds %}
{% for selectedRule in delivery.shippingMethod.translated.customFields.acris_shipping_costs_text_rules %}
{% if selectedRule == activeRule %}
{% set showText = 1 %}
{% endif %}
{% endfor %}
{% endfor %}
{% if showText == 1 %}
Shipping costs: {{ shippingMethod.translated.customFields.acris_shipping_costs_text }}<br>
{% else %}
Shipping costs: {{ order.deliveries.first.shippingCosts.totalPrice|currency(currencyIsoCode) }}<br>
{% endif %}
{% else %}
Shipping costs: {{ shippingMethod.translated.customFields.acris_shipping_costs_text }}<br>
{% endif %}
{% endif %}
{% else %}
Shipping costs: {{ order.deliveries.first.shippingCosts.totalPrice|currency(currencyIsoCode) }}<br>
{% endif %}
Frequently Asked Questions
Es wurden keine Fragen gefunden. Kontaktieren Sie uns, wenn Sie konkrete Fragen haben!| Version | Date | Compatibility | Changelog |
|---|---|---|---|
| 4.0.2 | 11 July 2025 | >=6.7.0.0 <6.8.0.0 |
|
| 4.0.1 | 3 July 2025 | >=6.7.0.0 <6.8.0.0 |
|
| 4.0.0 | 9 May 2025 | >=6.7.0.0 <6.8.0.0 |
|
| 3.0.1 | 25 March 2024 | >=6.6.0.0 |
|
| 3.0.0 | 20 March 2024 | >=6.6.0.0 |
|
| 2.0.2 | 21 April 2023 | >=6.5.0.0 |
|
| 2.0.1 | 7 March 2023 | >=6.4.0.0 |
|
| 2.0.0 | 7 March 2023 | >=6.4.0.0 |
|
| 1.1.1 | 21 July 2023 | >=6.4.0.0 |
|
| 1.1.0 | 24 February 2023 | >=6.4.0.0 |
|
| 1.0.2 | 14 February 2023 | >=6.4.0.0 |
|
| 1.0.1 | 26 November 2022 | >=6.4.0.0 |
|
| 1.0.0 | 26 November 2022 | >=6.4.0.0 |
|
Login
Macht exakt das was es soll!
Keine Probleme damit gehabt, macht genau das, was es verspricht. Text ist anpassbar!