Prestashop logo, Visit home page

Creating the carrier and shipping costs


By default, you have two carriers available:

Your own shop: this "carrier" represents your physical store, where customers can supposedly come and pick up their products themselves. It has no price range or weight range set.

"My carrier": this is a sample carrier and should not be used in production. It has one price range (from $0 to $10,000) and one weight range (from 0 kg to 10,000 kg).

It is up to you to remove these default carriers and add new ones for your customers. At the very least, you should edit the "My carrier" carrier and replace its data with that of a real carrier: name, details, and zones. We do recommend that you delete the "My carrier" carrier, and that you use an existing carrier module in order to register you shipping partner in PrestaShop.

New carriers are added by first clicking on the "+ Add new carrier" button. 


Creating a New Carrier using the Carrier Wizard

In this section, we are going to create a complete carrier, from A to Z. You can create as many carriers as you wish.

If one carrier has different shipping services, you should create as many carriers in PrestaShop, and differentiate them with their names.

Many of the details asked by PrestaShop's forms should be provided by your carriers once you have set up an account or are under contract with them directly. Check with them in order to make sure everything is configured correctly.


Settings panel 1: general settings

This is where you describe the carrier, giving information that the customer will need in order to recognize and choose the carrier he prefers.

Let's examine all of the information you need to enter:

Carrier name. The carrier name is public, so you should use the official name. If you have several PrestaShop carriers for the shipping services of a single carrier, the name will help you differentiate them. You could also add a description of the service. For instance, you could fill in "PrestaShipping – 500 lbs. and over".
Transit time. The estimated time it takes this carrier to deliver your products, written in plain language. This is displayed to customers during checkout. It will help them select their carrier according to the amount of time they are willing to wait to receive their shipment. Often, customers may agree to pay more for a faster carrier. You must fill in this field in all the available languages, especially the default one.
Speed grade. Since the "Transit time" field can contain any text, it cannot be used to compare the carriers' transit times. The "Speed grade" setting enables you to give the carrier a grade, from 0 (very slow) to 9 (very fast). This is then used to sort carriers by their speed grade, and help customers choose the one they prefer.
Logo. Having a logo helps customers choose between different carriers more easily. PrestaShop will resize your image so that it fits in the order form. The logo will appear in each panel of the Carrier Wizard, as a reminder of which carrier you are editing/creating.
Tracking URL. This field must be filled in with the tracking URL provided by your carrier (if there is one).
For example, the French postal service (La Poste) offers this URL:[email protected]
When customers have chosen their carrier, they will receive the address you have entered in this field with the "@" replaced by the tracking number provided by the carrier, making it possible to click that link and see where the delivery process is at.
Click "Next" to reach the second panel.

Settings panel 2: shipping locations and costs

This panel presents a handful of settings:

Add handling costs. Include or exclude handling costs in this carrier's price.
Free shipping. If enabled, it will not be possible to indicate shipping prices. If disabled, you will be able to edit the ranges and per-country costs in the form below.
Billing. When billing the customer for shipping, PrestaShop can apply one of two behaviors, which you have to set depending on how your carrier handles billing (so make sure to check their documentation about this):
According to total price. Billing depends on the total price of the order.
According to total weight. Billing depends on the total weight of the order.
Tax. Indicates if this carrier requires a local tax in order to deliver, and if so, which one. The tax must already exist in PrestaShop (which can be done on the "Taxes" page of the "Localization" menu).
Out-of-range behavior. In case the chosen carrier has not set shipping costs for the required zone or weight, you can indicate how PrestaShop should react. You have two options:

  1. Apply the cost of the highest defined range. PrestaShop will take the most costly range and apply its conditions.
  2. Disable carrier. PrestaShop will not suggest this carrier, since it probably cannot deliver this order.

Then comes the important part, the creation of the carrier's range. This is a very important step, as PrestaShop needs this information to present the customer with carriers that can actually deliver the order. Indeed, depending on the order's total price or total weight, some carrier options will not be available while others will only appear at a certain value. You must be very precise when filling in these values, and preferably those suggested by each carrier's documentation.

This is where the Carrier Wizard comes into its own. Here, you will build your carrier's price or weight ranges (depending on your choice for the "Range selection" option above), one range after the other, applying your prices for each zone along the way.

For each range, you only need a couple of steps:

  1. Fix the lower and upper limits of the range you are creating. Depending on your choice of range type, it will display either "Will be applied when the price is" or "Will be applied when the weight is" for the lower limit, and either "Will be applied when the price is" or "Will be applied when the weight is" for the upper limit.

    Note that the lower limit is inclusive (>=) whereas the upper limit is exclusive (<). This means that a range's upper limit must have the same value as the next range's lower value, as the two will not overlap.

  2. Fill in the prices. As soon as both lower and upper limits have been filled in, PrestaShop makes the "All" field available to edit. This is a special field: any value you enter in it will be copied into the field for all the available geographical zones, without any action on your part. You can then edit the value of each zone field separately.

  3. Check the checkbox for each zone the carrier delivers to at this range. If this carrier does not make deliveries in a given geographical zone for this current range, make sure to uncheck its checkbox.

  4. Create the range. Click the "Add new range" button. PrestaShop will add a new column of zone fields. Start again by fixing the lower and upper limits of this range, then filling in the prices for each zone.

The weight and price units are the default ones for your PrestaShop installation, and the ones your products use. You can change these units on the "Localization" page of the "International" menu.

Click "Next" to reach the third panel.

Settings panel 3: size, weight and group access

This panel presents two sets of options:

Maximum package height/width/depth/weight. You can now indicate the minimum and maximum package size and weight, information that is essential for making the right choice. The value to use for the default weight and dimension units, as set in the "Localization" page of the "International" menu.

Group access. You might want only some user groups to be able to use a carrier. This option serves this purpose.

Click "Next" to reach the fourth and final panel.

Settings panel 4: summary

This last panel gives you an overview of your settings for this carrier.

If some settings are wrong, you can go back to any previous panel by either using the "Previous" button, or directly clicking on the panel's tab.

If you want to save this carrier as a draft for now then come back to it later, disable the carrier using the "Enabled" option at the bottom of this final panel.

Either way, click on the "Finish" button to save your work, and create the carrier.