Diese Seite ist auch auf Deutsch verfügbar.
Skip to main content Skip to search Skip to main navigation
LENZ eBusiness GmbH

Own calculation of shipping costs

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

Description

Features

  • Customised calculation for individual shipping methods
  • Transparent breakdown of shipping costs

About the Extension

The extension allows you to create and store your own calculation for your shipping costs with the help of variables. With your own calculation, it is possible to dynamically adjust the shipping costs without having to create an additional shipping method. Several shipping classes can be set up for each shipping method.
In the shop, the shipping costs are displayed transparently, broken down by shipping class.

Application examples

Dynamic calculation of shipping costs according to shopping basket weight

{% set priceNet = 5 %}

{% set priceGross = 11 %}


{% if totalWeight >= 30 and totalWeight < 100 %}

    {% set priceNet = 4.96 + (0.27 * totalWeight) %}

    {% set priceGross = 5.90 + (0.32 * totalWeight) %}

{% elseif totalWeight >= 100 and totalWeight < 200 %}

    {% set priceNet = 4.96 + (0.22 * totalWeight) %}

    {% set priceGross = 5.90 + (0.26 * totalWeight) %}
{% endif %}


Calculation of shipping costs when a specific item is in the shopping basket

{% set priceNet = 0 %}

{% set priceGross = 0 %}

{% for deliveryPosition in delivery.positions %}

    {% set priceNet = priceNet + 6 %}

    {% set priceGross = priceGross + 9 %}

    {% if deliveryPosition.lineItem.label == 'Brot' %}

        {% set priceNet = 3 %}

        {% set priceGross = 3 %}

    {% endif %}

{% endfor %}


Do you need help with the customised calculation of shipping costs? You are welcome to commission us to help you with this for a fee. 

Details

  • Available: English, German
  • Latest update: 20 February 2025
  • Publication date: 3 February 2025
  • Version: 6.0.0
  • 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

LENZ eBusiness GmbH

LENZ eBusiness GmbH

Partner Status

  • Shopware Bronze Partner Shopware
    Bronze Partner
  • Shopware Premium Extension Partner Shopware
    Premium Extension Partner

Details

  • Ø-Rating: 4.9

    Average rating of 4.9 out of 5 stars

  • Partner since: 2014
  • Extensions: 93

Support

  • Based in: Germany
  • Speaks: German, English
  • Response time: Very quickly