Shipping costs

With the delivery costs module it is possible to depict both standard delivery costs as well as complex delivery cost calculations. With specific conditions and calculations it is possible to realize almost any constellation of delivery costs calculation. This generally occurs through individual database queries within the delivery type (Individual calculations).

Creating delivery types

Start by opening the delivery costs module in the backend Configuration > Shipping costs. To create a new delivery type click on the add (1) button. The detail tab for the new delivery now opens.

The prices saved in the delivery types are stated as gross prices. If customers are delivered gross, the value added tax is dynamically deducted in the frontend.

Explanation of the individual fields


Enter the name of the required delivery type, which the customer is then shown in the shop view, here.


Enter a description of the delivery type, which the customer is then able to see in the shop view (e.g. a surcharge for cash on delivery packages), here.

Tracking URL

As the shop owner, this is where you can save the corresponding tracking URL from your supplier who carries out the delivery of this delivery type (e.g. DHL, Hermes, etc.). This is then shown to the customer in their "My account" area so that they are always up to date with their delivery.

In our Wiki we have saved a tutorial which shows you how to save a tracking URL and how you can use it effectively in Shopware: Tracking shipments with package numbers


In this field you can save different information on the delivery type which is not visible to the customer.


With the field "Sorting" Shopware offers you the possibility to control the positioning of the shipping methods on the order completion page. This works using the numerical input (example: standard shipping/item 1 = 1st position - express shipping/item 2 = 2nd position).


With this checkbox you can render the created delivery type active or inactive in your shop.


In the pull-down menu it is possible to specify the shop/subshop for which the delivery type is to be available, or for which it gains a general validity. If other delivery types are necessary for the lead and corresponding subshops, you enter a new delivery type for these shops in the overview, which refers to the corresponding shop. Language subshops cannot be selected.

Customer groups

As with the store selection, a pull-down menu can be used to specify the customer group for which the shipping method is to be available or is to have a general validity.

If, for example, a different shipping method is required for the merchant customer group, create a new shipping method for this customer group in the overview that refers to the respective customer group.

Shipping calculation by

The total shipping costcalculation refers to the shipping weight (2) that has been stored for the article for the calculation of shipping costs selected here. In the tab shipping costs (1) two weight scales (3) were deposited. Further examples about the shipping costs calculation (e.g. according to price or articles you can see in the case studies above).

Free delivery from

From what shopping basket amount should delivery costs be omitted?

Delivery type

This is where you can define the individual delivery types (1).

Standard delivery type

With this delivery type you define the key delivery types for your online shop. In combination with the "Surcharge delivery type" it is possible to specify special delivery costs according to your requirements here (see case examples below).

Alternate delivery type

This delivery type generally functions as an alternate delivery type whenever the standard delivery type is not available for the shopping basket constellation.

Please note, that an alternate shipping type will always be available and can not be restricted. A separation based on country, shipping type or other criteria is not possible.

Surcharge delivery type

This delivery type provides you the possibility of saving different surcharges, such as pallet delivery or bulky goods surcharges. It is also possible to save surcharges for certain payment methods here. You can find further examples in the case examples (see below).

Discount delivery type

This delivery type offers you the possibility of saving different discounts which then apply on the same basis as a surcharge delivery type, but reduce the delivery costs instead.

Absolute payment method surcharge

Here, please select from the following options:

Always charge

Here, the surcharges defined in the payment methods are always charged and incorporated in the delivery costs.

Do not charge with free delivery items

The surcharge defined in the payment methods is not charged if free delivery items are currently in the shopping cart.

Never charge

Here, no surcharges are charged for payment methods for this delivery type.

State as individual shopping cart position

The same as the first point, "always charge", only the surcharge for the payment method is stated as an individual position in the shopping cart.

The payment method surcharge only refers to the absolute and not the percentage discounts and/or surcharges which are saved in the payment methods.

Rate of tax

Please select the VAT calculation for the delivery costs here from the following options.


The factor is a product of multiplication with the number of items. With the factor you increase the shipping costs proportionally with each item in the shopping cart, starting with the first product. The higher you set the factor, the larger the proportional steps of the shipping costs increase.

Selection of payment method

Select the payment methods (1) here in which a shipment with the respective shipping method should be possible. Confirm your entries afterwards with Save. (Multiple selection possible!)

Countries selection

In the Country selection area (1), select the countries in which shipping should be possible with the respective shipping method.  Confirm your entries afterwards with save. (Multiple selection possible!)

Block categories

Using the folder structure in the Block categories section (1), you have the option here to block various store categories including the subcategories for this shipping method. This means that the shipping method is not available for items from the selected categories.  Confirm your entries afterwards with save. (Multiple selection possible!)

Advanced settings

In the advanced settings (1) tab you are able to set the created delivery type in detail according to your delivery requirements. Shopware offers an exceptionally wide range of options here.

Sale items only

If this checkbox is activated the delivery type only refers to sale items.

Free delivery items

This is where you define whether the delivery type that is created should support fee delivery items.


This point authorizes the delivery type for free delivery items, and delivery costs are not calculated.

Do not support and block delivery type

In this case, the delivery type is not supported for free delivery items in the shopping cart, and is therefore unavailable to the customer as it has been blocked by Shopware.

Support but still charge delivery costs

With this constellation the customer is able to put free delivery items in the shopping cart and the delivery type that was created here is also available. This means that delivery costs are also charged for the free delivery items.

Free text field

If you use free text fields for shipping types, you can maintain them in the Free Text Fields tab (1). You can find more information about the free text fields here.

Block orders without available shipment type

Normally orders orders can be taken without an available shipment type. A possible reason is, that there is no country or payment method associated to the shipment type. This situation can be blocked with a little change in the basic settings. In "Shipping Costs module" you find the setting "block orders with no available shipping type". Choose "Yes" and your customers will get an error message and the order cannot be completed.

When you want to change the content of the error message, open "Snippets" and search for "ShippingPaymentSelectShipping".

Stock bigger

Refers to the stocks of the individual item, e.g. 5. If the stocks are therefore lower, the delivery type is blocked / hidden.

Time from: – time to

Here you can define the exact time details so, for example, the "EXPRESS" delivery type is only on offer if you can receive the order by 3 pm. In this way you only make this delivery type available for selection until 3 pm.

Weight from: – weight to

Similar to the time of day, you can specify a weight limit for the delivery type here. The delivery type can only be selected by the customer within the specified weight range.

Price from: – price to

A corresponding price range can be defined here. This delivery type is only available to the customer if the shopping cart is within the price range.

Weekday from: – weekday to

Use the pull-down menus to select the days on which the shipping method should be available. For express shipping, for example, you would enter here only from Monday to Friday, since delivery on Sunday is not possible.

Block public holidays

This function enables you to block different public holidays for this delivery type. This means that the customer cannot order the EXPRESS delivery on the corresponding days. (Multiple selections possible!)

Individual conditions

Complex, individual programming can be implemented through own conditions, which go beyond the standard scope of the module. For example, an individual requirement implemented as part of programming can be linked to the standard shipping cost module. This field is always empty in the standard scope of services.

Examples are provided here

Individual delivery costs calculation

In this field it is possible to define individual calculations which are not incorporated in the standard range. This means, for instance, it is possible to link individual requirements which are realized in the context of a programming with the standard delivery costs module. In the standard scope of services this field is always empty.

Examples are provided here

Case examples

Normal delivery (standard delivery type)

In this example the "Standard delivery" is created for the shop (without special details and/or limitations).

In the first step you enter a new delivery type. Start by filling the name (1) field with the name of the delivery type, and the description (2) field with the corresponding information.

Fill the additional fields of comments (3) and sorting (4) with your required information and set the delivery type on active (5).

Set the delivery costs calculation (6) according to weight and the delivery type (7) to standard delivery type. The remaining settings within the configuration can be adopted unchanged and are thereby specified for the standard delivery type. Optional payment method surcharges (8) are to be taken into consideration.

In the delivery costs (9) tab, all you need do now is to specify the costs for the normal delivery. To do this, simply enter the amount which is to be calculated as the cost of delivery in the field. Subsequently confirm your entry with save.

Now switch to the tab Payment method (1) selection . In order for the shipping method to be offered at all in the frontend, you must now link the available payment methods with the shipping method. In this example, the shipping method is only offered if one of the selected payment methods (2) was previously selected in the checkout process. This shipping method should not be available if the payment method Cash on Delivery is selected. Because of this, the Cash on Delivery payment method is still in the available (3) column. Save your settings below.

Finally, you have to activate the shipping method for the desired delivery countries. Switch to the tab country selection (1) and activate the desired delivery countries. The shipping method will only be offered if the customer has selected one of the countries stored under selected delivery country (2) in the checkout. Save your selection below.

The delivery type is only visible in the frontend if it has been enabled for the available payment methods and countries of delivery.

Delivery by cash on delivery (standard delivery type)

In this example the "cash on delivery" delivery type is created. In addition to this, there is a surcharge of 3.90 euro for cash on delivery. The calculation of the delivery costs shall occur according to a pricing scale: 5.00 euro up to a delivery weight of 20 kg and 10.00 euro from a delivery weight of 20 kg.

In the first step you enter a new delivery type. In this example, the name of the delivery type (1) is cash on delivery. In the description (2), the clear notification of delivery with cash on delivery – cash payment to parcel delivery service will appear for the customer. In the internal comments field (3) you can also save the reference cash on delivery.

As the delivery type is to appear as the 2nd position in the checkout process, you have to set the sorting (4) to the value 2. So that the delivery type is also offered in the frontend, you have to ensure this is the case by activating the active (3) checkbox.

The delivery costs calculation (6) takes place according to the weight and the delivery type (7) is the standard delivery type. As additional costs are incurred with this delivery type (cash on delivery fees), it is necessary for the payment method surcharge (8) selection field to be set to always charge.

To now set up the weight scale for the delivery, in the delivery costs (9) tab below, enter the scale 0 – 19.999, and enter 5 under delivery costs. In addition to this, the second scale has to be set with 20, followed by 'any' and then 10 for the delivery costs. Subsequently confirm your entry with save.

Now change to the select payment method (1) tab. Since this delivery type is only to be offered in the frontend in combination with the cash on delivery (2) payment method, only the cash on delivery payment method should be saved in the selected column. Next, save your settings. In this way you exclusively link the delivery type of cash on delivery with the payment method of cash on delivery. Subsequently confirm your entry with save.

In the next step, the countries of delivery are specified for this delivery type. Change over to the countries selection (1) tab. Since cash on delivery is only to be offered in Germany, in the selected (2) column, the only country of delivery to be saved should be Germany. Next, save your settings.

Finally, we have to save the cash on delivery fee. As this is a fee which is only incurred if the cash on delivery payment method has been selected in the checkout, this surcharge is also saved in the payment method. Under Settings > Payment methods in the backend, change over to the payment methods configuration tab, and select the cash on delivery (1) payment method. Under the general (2) tab, the settings for the selected payment method will now appear. In the additional description (2) field, save an information text for incurred fees. In the fixed surcharge (4) field, it is now necessary to save the fees which are incurred when using this payment method. Once you are done, save your changes.

Tips & tricks

Multiple selections

To make a multiple selection the following options are available to you in the table:

1. By pressing and holding down the CTRL key and clicking on the payment methods you can highlight individual methods and add them to the selection using the arrow function.

2. By pressing and holding down the shift key and clicking on the payment methods, several methods are highlighted which can be added to the selection using the arrow function.

3. By clicking and/or the aforementioned methods, you can add several highlighted payment methods to the selection on the right hand side by drag & drop.

4. By double clicking on a corresponding payment method it is also included in the selection (right hand side).

Duplicate delivery type

So that you do not have to create a brand new delivery type all over again, the duplicate delivery type (1) function is available. Here, all you need to add are the designation, the affiliation, and the settings for differentiation.

Was this article helpful?