
Magento shopping methods stand for the price and method of delivering products to customers. The more shipping methods you provide the more diverse the experience your customers get.
That being said, the shipping method is an important element of the customer journey that can influence their purchasing decision. And since there are different Magento 2 shipping methods defined by the delivery type, you have to learn about each in more detail.
Want to reduce the number of steps your customers take during the checkout? Set the default shipping method and optimize the checkout process in your store.
So, in this article, you'll learn about the basic shipping settings in Magento 2 and review all default Magento 2 shipping methods.
Post Contents [hide]
How to Configure Magento Shipping Settings?
Before we get to the default Magento 2 shipping methods you need to configure the default shipping settings. For this go to Stores > Configuration > Sales > Shipping Settings and configure Origin and Shipping Policy Parameters.
It is necessary so Magento can calculate the taxes and shipping costs based on the shipping origin.
So, in the Origin section, you need to set the following information:
- Country
- Region/State
- ZIP/Postal Code
- City
- Street Address/Street Address Line 2
Moving on to the Shipping Policy Parameters section, you have to decide whether to Apply custom Shipping Policy and write your Shipping Policy text to be displayed during checkout.
Configure Default Magento 2 Shipping Methods
Once you finish with the basic shipping settings, you're good to go and configure shipping methods. They are managed in Stores > Configuration > Sales > Shipping Methods.
There are quite a few shipping methods at your disposal. So, let's have a look at each of them in particular.
1. Flat Rate Shipping Method
Flat Rate is the standard Magento 2 shipping method that can be applied per single item or per order regardless of product attributes such as size, weight, etc.
There are some similar options every shipping method has, such as Title, Enable/Disable, and Method Name. So, let's pay more attention to the distinctive ones.
1. Define the way the shipping fee is added to the subtotal in the Type field. There are 3 possible options:
- None means no change. In this case, the Flat rate shipping method is equivalent to Free.
- Per Order means the charge is generated for the whole order and not every single item separately.
- Per Item correspondingly means the Flat Rate shipping fee is set for each item and multiplied by the number of items in the cart.
2. Set the Price you would like to charge the customer for the flat rate shipping.
3. Determine the method to Calculate Handling Fee.
4. Set the amount of Handling Fee according to the method you set for handling fee calculations.
Note: if you choose to calculate the handling fee from the order subtotal by the percentage, you should set 0.08 for 8 %, for example.
5. Fill out the Displayed Error Message field with the text customers will see when the flat rate shipping is unavailable.
6. In the Ship to Applicable Countries field, choose if you want to ship to all allowed countries or only to specific ones. If you've chosen the latter, specify the countries you want to ship to in the Ship to Specific Countries field.
7. Decide whether to Show Method if Not Applicable to determine if the flat rate shipping method will be displayed as an option during checkout even if it couldn't be applied to the order.
8. Set the Sort Order to define the place of the flat rate method in the list of shipping methods.
2. Free Shipping Method
Free shipping is the most popular and customer-attracting type of shipping used in Magento 2. It is a great way for merchants to offer customers free shipping based on the minimum order amount and set up cart price rules if the conditions are met.
The free shipping configuration is similar to the previous method. So, setting it up will be just as uncomplicated.
3. Table Rates Shipping Method
Table Rates is the Magento 2 shipping method where the fee is calculated based on different conditions, for instance, Weight v. Destination, Price v. Destination, Number of Items v. Destination, etc.
This means that the price for the table rates shipping varies depending on your customer address and the number of items they order, or on the number of items and their weight.
Generally, it is very similar to the flat rate shipping method, but there are some distinctive options you need to set up:
1. Choose the Condition under which this shipping method will be generated.
2. Set the Include Virtual Products in Price Calculation option.
Note: virtual products have no weight so, correspondingly, they don't change the results of the Weight v. Destination condition calculation.
Once you finish with the default table rates configuration, you can prepare or update the table rate files.
3. In the Stores > Configuration section switch the Scope to the store view or the website you want to apply this shipping setting to. Two new additional options will appear there.
4. Export the CSV file, update it, and then import it in the field below.
5. Go to the storefront to make several test orders, choose different destinations, and check how the table rate shipping fees are calculated.
How to Configure Magento 2 Shipping Carriers?
Along with the default Magento 2 shipping methods, you can also offer your customers third-party solutions, such as DHL, UPS, USPS, and FedEx. So, let's see how you can configure each of them.
1. Dimensional Weight Shipment in Magento 2
When the dimensional shipping method in Magento 2 is applied, the shipping rate is calculated based on the package dimensions (volume and weight) or the amount of place it occupies, in other words.
So, to configure it, take the following steps:
1. Enable DHL for Checkout to determine whether it will be displayed during the checkout.
2. Give the shipping method a Title and enter the Access ID, Password and Account Number.
Note: you can find this data in your DHL shipper account.
3. Set the Content-Type (Non-Domestic) field.
4. Fill out the Calculate Handling Fee, Handling Applied, and Handling Fee fields as in the previously mentioned shipping methods.
5. Choose Yes in the Divide Order Weight field, so that the order weight is divided into smaller units to ensure the accurate shipping charge.
6. Set the Weight measurement Units to be used for calculations and set the Size.
7. Choose the Documents Allowed Methods and Non Documents Allowed Methods that your store supports.
8. In the Ready Time field specify when the package will be ready for pickup after the order submission.
9. Fill out the Displayed Error Message field with the text customers will see when the DHL is unavailable.
10. By setting Free Method you choose the shipping method you prefer to be used for free shipping offers.
11. Enable Free Shipping Threshold to allow free DHL shipping for orders that meet the minimum amount.
12. Configure the applicable Countries for Shipping, the Visibility if the method is not available, and Sort Order in the same way as in the previous shipping methods.
13. Enable Debug so the log file with error information will be created.
14. Enable the Sandbox Mode to run DHL transactions in a test environment.
2. UPS Carrier in Magento 2
United Parcel Service (UPS) is another carrier you can set up for your store. Some of the configuration steps are similar to the previous method. So, we'll pay more attention to other important details.
1. Choose the UPS Type. You have two options — United Parcel Service and United Parcel Service XML.
2. If you've chosen the United Parcel Service XML, fill out the following fields:
- Add the Access License Number, Password, and User ID. You can see in your UPS account.
- Enter the Gateway XML URL.
- Specify the Origin of the Shipment by choosing a corresponding option from the dropdown.
- Set the Mode to Live if you want to forward data to this shipping method through secure connections.
- Enable Negotiated Rates if there are any.
- Specify if you want a tax to be included in the shipping rate in the Request Tax-Inclusive Rate field.
- Fill out the Shipper Number field.
- Set the Tracking XML URL.
3. Enter the Title of the shipping method to be displayed on the storefront.
4. Proceed with setting up the container description to specify all the details that have to do with the package itself.
5. Fill out handling fees, allowed methods, and countries.
3. USPS Carrier in Magento 2
UPSP — United States Postal Service — is known to be a reliable carrier performing both international and domestic shipments. So, let's have a look at the main configuration steps to integrate this shipping method into Magento.
1. Enable the shipping method, set its Title, and set other common fields following the example of the carriers described above.
2. Specify the User ID and Password you can grab from your USPS account.
3. Add the Gateway URL and the Secure Gateway URL.
Note: the preset Gateway URL doesn't need to be altered and can be used as is.
4. Move to the packaging description and fill out the following fields:
- Packages Request Type
- Container
- Size
- Machinable (here you specify if you want the packages to be packed by a machine)
- Maximum Package Weight
5. Set the handling fee, as well as the shipping methods and country restrictions.
4. FedEx Carrier in Magento 2
As many shipping methods as we already mentioned, this is still not it. We're yet to consider the FedEx carrier, another shipping service that offers its services around the globe. Thus, we're moving on to the configuration steps you need to take.
1. Enable FedEx for Checkout and set its Title.
2. Add the following credentials from your FedEx shipping account:
- Account ID
- Meter Number
- Key
- Password
3. If needed, choose Yes in the Sandbox Mode field to test the carrier first.
4. Move on to the packaging description to fill out the packaging and weight specifics.
5. Similarly to the previous examples, enter the handling fee, and specify the applicable methods/countries.
After you configure the Magento shipping methods for your store, don't forget to Save the settings.
This is how you can display Magento shipping methods on the storefront. However, everything depends on the configurations.
By providing your customers with multiple options you give them freedom of choice. Correspondingly, they are more likely to finalize the purchase and come back to your store again. But you shouldn't stop here.
The more you know, the better service you can provide. So, the next thing to learn is how to cancel shipments if you need to and how to set custom shipping rates in orders.