Diese Seite ist auch auf Deutsch verfügbar.
Skip to main content
ACRIS E-Commerce GmbH

Shipping costs Text instead of shipping costs

Rating: no rating ( write a review )
Downloads: <50

Description

Highlights

  • Display of a shipping cost text instead of shipping costs
  • Depending on the shipping method, you can set whether Shopware standard shipping costs should be displayed
  • or whether a rule controlled individual shipping cost text should be displayed instead of the shipping costs
  • Different usable / adjustable for each language (e.g. different text for English)

Features

  • Individual shipping text instead of shipping costs in the OffCanvas shopping cart and in the checkout.
  • For each shipping method adjustable whether the shipping costs (Shopware standard) or a shipping text is displayed instead of the shipping costs
  • Individual shipping text can be used for each language

About the Extension

Function / Purpose

Display of a freely configurable shipping costs text to be displayed instead of the calculated shipping costs in the shopping cart.
In certain cases it is necessary to display a shipping cost text instead of the shipping costs.
(e.g. delivery costs on request, free delivery, free of charge, delivery costs according to agreement, etc.).

This plugin enables exactly this function - the following settings are possible:

Configuration of the shipping costs Texts directly in the shipping types

Under Settings > Shop > Shipping > Select shipping type > In the area "Additional fields" > Settings for the display of shipping costs

Display of shipping costs

  • Show shipping costs (standard) - if this function is selected, the display corresponds to the Shopware standard.
  • Show text instead of shipping costs - if this function is selected, the text "Shipping costs text" in combination with the selected rules "Shipping costs text rules" will be displayed instead of the shipping costs.

Additional information / interesting facts

  • The text is displayed in the OffCarnvas shopping cart and in the checkout.
  • The display of the shipping costs text is set for each shipping type and language.
  • The shipping costs text only replaces the display of the shipping costs -
    It is therefore important to ensure that no shipping costs are stored, otherwise they will be calculated but not explicitly displayed.
  • If the shipping costs text is also to be displayed in the order confirmation, HTML code adjustments are required:
    Replace this HTML code

      Shipping costs: {{ order.deliveries.first.shippingCosts.totalPrice|currency(currencyIsoCode) }} </br>


Version 1.0.0 and 1.0.1

German Language against this HTML code

{% 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 %}
        Versandkosten: {{ shippingMethod.translated.customFields.acris_shipping_costs_text }}
    {% endif %}
{% else %}
    Versandkosten: {{ order.deliveries.first.shippingCosts.totalPrice|currency(currencyIsoCode) }}
{% endif %}


Or this for English language:

{% 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 %}
        Shipping costs: {{ shippingMethod.translated.customFields.acris_shipping_costs_text }}
    {% endif %}
{% else %}
    Shipping costs: {{ order.deliveries.first.shippingCosts.totalPrice|currency(currencyIsoCode) }}
{% endif %}


Version 2.0.1 and above

German Language against this HTML code
{% 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 %}
                Versandkosten: {{ shippingMethod.translated.customFields.acris_shipping_costs_text }}<br>
            {% else %}
                Versandkosten: {{ order.deliveries.first.shippingCosts.totalPrice|currency(currencyIsoCode) }}<br>
            {% endif %}
        {% else %}
            Versandkosten: {{ shippingMethod.translated.customFields.acris_shipping_costs_text }}<br>
        {% endif %}
    {% endif %}
{% else %}
    Versandkosten: {{ order.deliveries.first.shippingCosts.totalPrice|currency(currencyIsoCode) }}<br>
{% endif %}

Or this for English language:
{% 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 %}

Details

  • Available: English, German
  • Latest update: 19 September 2024
  • Publication date: 14 February 2022
  • Version: 3.0.1
  • Category: Checkout / Cart process

Resources

Reviews (0)

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review

About the Extension Partner

ACRIS E-Commerce GmbH

ACRIS E-Commerce GmbH

See all extensions:

Partner Status

Shopware Gold Partner
Shopware
Gold Partner
Shopware Premium Extension Partner
Shopware
Premium Extension Partner

Details

  • Rating: 4.9

    Average rating of 4.9 out of 5 stars

  • Partner since: 2015
  • Extensions: 121
  • Country: Austria

Support

  • Support languages: German, English
  • Support response time: Very quickly