Magento 2 get available shipping methods

Configure Shipping Method is considered as a part of a promotion program you offer to customers. The free shipping method is applied based on the mimum purchase or the condition of cart price rule you set. In addition, the shipping method can be set for certain products or an entire order, depending on your current strategy.

Therefore, shipping method options can improve customers’ experience, as well as optimize stores’ shipping process. If you need to charge different shipping rates in your store, you can do it with the Flat Rate Shipping Method and Table Rate Shipping Method.

Shipping Extensions for Magento 2

All necessary extensions to perfect your shipping Learn more

Related Topics

Magento 2 get available shipping methods

Configure Shipping Method

2 Steps to Configure Free Shipping Method

Step 1: Complete Free Shipping Method settings

  • On the Admin Panel, Stores > Settings > Configuration.
  • On the left panel, under Sales, select the Shipping Methods tab.
  • Open the Free Shipping section,
    • Enable the shipping method by choosing Yes for that.
    • Set the Title for the free shipping on the checkout page.
    • Create a decription about the shipping method in the Method Name field.
    • Offer the Minimum Order Amount for the shipping.
    • Enter a error message in the Displayed Error Message box that will appear if Free Shipping is not available.
    • Set Ship to Applicable Countries to one of two options:
      • All Allowed Countries : Free Shipping is supported for every country.
      • Specific Countries: Free Shipping is only supported for selected countries.
    • Set Show Method if Not Applicable to Yes if you want to show Free Shipping all time.
    • Set the Sort Order on the Shipping Method on the checkout page.
  • Save Config to finish.

Step 2: Display Free Shipping in the Carrier Configuration

  • From the Shipping Methods configuration, open the UPS section.
  • Set Free Method to “Ground.”
  • Enable the Free Shipping with Minimum Order Amount and set a minimum number of orders applying free shipping in the Minimum Order Amount for Free Shipping field.
  • Save Config to finish.

To Configure Table Rates Shipping Method

Applying Table Rates Shipping to calculate the shipping fee bases on the combination of conditions such as Weight v. Destination, Price v. Destination, and # of Items v. Destination. All are listed in a table rate file that you can export and import in Magento 2 settings. When a customer asks for a quote, the results appear in the shipping estimate section of the shopping cart. Not only does it save time for both parties, but it also leaves them an impression of a professional business, and ensures the information sufficiency.

If you need to charge different shipping rates in your store, you can do it with Free Shipping Method and Flat Rate Shipping Method. And now, we will learn how to configure the table rate shipping method in Magento 2.

Magento 2 get available shipping methods

Step 1: Configure the Table Rate Shipping Method

  • On the Admin Panel, Stores > Settings > Configuration.
  • On the left panel, under Sales, select Shipping Methods.
  • Open the Table Rates section,
    • Enable the shipping method by choosing Yes for that.
    • Set the Title for the table rate shipping on the checkout page. You can use the default value - “Best Way” for the table rate title.
    • Choose Conditions by the calculating methods: Weight v. Destination, Price v. Destination, or # of Items v. Destination.
    • If the order includes virtual products for the price calculation, choose Yes in the ` Include Virtual Products in Price Calculation` field.

Virtual products are as a service with no weight, or certain items. They cannot change the result of a calculation that is based on the Weight v. Destination condition. However, the virtual products can change the result of a calculation that is based on either the Price v. Destination or # of Items vs Destination condition.

  • If you ask to charge an additional handling fee, set Calculate Handling Fee to fixed or percent, and then enter the number you want to set in the Handling Fee field.
  • Set Ship to Applicable Countries to one of two options:
    • All Allowed Countries : Free Shipping is supported for every country.
    • Specific Countries: Table Rate Shipping is only supported for selected countries.
  • Set the Sort Order on the Shipping Method on the checkout page.
  • Save Config to complete.

Step 2: Preview the Table Rate Data

  • In the upper-left corner, select the Store View where the configuration is active, you can choose “Main Website” or any website you need.

There is the new appearance of the Import and Export option and the Use as Default checkbox that is next to each field in the Table Rate Shipping section.

The "Use as Default" checkbox have been remarked, so if you want to change any settings, let clear it.

  • Click on the Export CSV button and save the file (tablerate.csv) in your computer.

Magento 2 get available shipping methods

  • Complete the CSV file in a spreadsheet
    • Use an asterisk (*) as a wildcard to represent all possible values in any category.
    • The “Country” column must contain a valid three-character code for each row.
  • Save the file on your computer after finishing it.*

Step 3: Import the Table Rate Data

  • Go back to the Table Rate Shipping section.
  • In the upper-left corner, select the Store View which allows using the method.
  • Import the “tablerate.csv” file by tapping the Choose File button and then upload the file from your computer.

Magento 2 get available shipping methods

Step 4: Check the Rates

To check the Rates for the assurance, try conducting the payment process with different shipping addresses in the checkout. Thus, you can ensure that the calculation for the shipping as well as handling rates are absolute accuracy.

To Configure Flat Rate Shipping Method

Flat Rate Shipping Method is the simple solution to configure the shipping method at your store. It charges a fixed shipping fee for any order with different sizes or weights or any shipping addresses. Because it is easy to configure and apply, the flat rate shipping is popular with many carriers. Also, it is a great solution if stores want to control the shipping costs and increase profits.

If you need to charge different shipping rates on your store, you can do it with the Free Shipping Method and Table Rate Shipping Method. And now, we will learn together how to configure the flat rate shipping method in Magento 2.

Magento 2 get available shipping methods

Configure Flat Rate Shipping Method

  • On the Admin Panel, Stores > Settings > Configuration.
  • On the left panel, under Sales, select the Shipping Methods tab.
  • Open the Flat Rate section,
    • Enable the shipping method by choosing Yes for that.

    At that time, Flat Rate is available in the Estimate Shipping and Tax section of the shopping cart, and also in the Shipping section during checkout.

    • Set the Title for the flat rate shipping on the checkout page.
    • Describe the method in the Method Name field that displays with the calculated shipping rate in the shopping cart. The method name is “Fixed” by default or something suitable for your method.
    • To clarify the terms for applying Flat Rate Shipping Method, set the Type to one of the following:
      • None: The shipping rate for this type is zero, that is similar to free shipping method.
      • Per Order: Set the flat rate shipping for an entire order
      • Per Item: Set the flat rate shipping for each item. The rate is multiplied by the number of items in the cart, regardless of whether there are multiple quantities of the same, or of different items.
    • Offer the Price that you want to charge for flat rate shipping.
    • If you ask to charge an additional handling fee, set Calculate Handling Fee to fixed or percent, and then enter the number you want to set in the Handling Fee field.
    • Type the short text for Displayed Error Message if the flat rate shipping is unavailable.
    • Set Ship to Applicable Countries to one of two options:
      • All Allowed Countries : Free Shipping is supported for every country.
      • Specific Countries: Flat Rate Shipping is only supported for selected countries.
    • Set the Sort Order on the Shipping Method on the checkout page.
  • Save Config to complete.

Learn more: Magento 2 Multiple flat rate shipping

Understanding your goals and having the best delivery options available is the shortest way to increase sales and save operational costs at the same time. Marketing campaigns can also be supported by these shipping methods configuration. Through this tutorial, I hope you have learned how to configure free delivery methods, table rates shipping options, and flat rate shipping methods for your Magento 2 store. To minimize all the work but get the best outcome, you can discover our shipping modules.

Explore Shipping Modules!