How to Configure Table Rates Shipping in Magento 2

If you run an eCommerce store on Magento 2, offering flexible shipping options is crucial. One of the most powerful ways to do this is using Table Rates Shipping, which allows you to set shipping costs based on weight, order subtotal, or the number of items in a customer’s cart. In this guide, we’ll walk you through how to configure Table Rates step by step.

Step 1: Enable Table Rates Shipping
  1. Log in to your Magento 2 Admin Panel.
  2. Navigate to: Stores → Configuration → Sales → Shipping Methods.
  3. Locate Table Rates in the list of shipping methods.
  4. Set Enabled to Yes.
  5. Enter a Title (this is what customers see during checkout).
  6. Choose a Condition:
    • Weight vs. Destination
    • Price vs. Destination
    • Qty vs. Destination
  7. Decide whether to Include Virtual Products in calculations.
  8. Set any Handling Fee, if required.
  9. Choose Ship to Applicable Countries (all or specific countries).
  10. Set the Sort Order to define the display order for multiple shipping methods.
  11. Click Save Config.
Step 2: Export the Sample Table Rates CSV
  1. Click Export CSV in the Table Rates section.
  2. Open the CSV file to see the template. Columns typically include:
    • Country (ISO code)
    • Region/State (use * for all)
    • Zip/Postal Code (use * for all)
    • Weight/Price/Qty (depending on your condition)
    • Shipping Price
  3. Fill in your shipping rules for each destination and condition.
Step 3: Import Your Table Rates CSV
  1. Click Choose File under Import section.
  2. Select your updated CSV file.
  3. Click Save Config to apply the changes.
Step 4: Refresh Cache
  1. Navigate to: System → Cache Management.
  2. Refresh or flush the cache to make the new shipping rules effective.
Step 5: Test Your Table Rates
  1. Go to your store’s frontend.
  2. Add a product to the cart.
  3. Enter different shipping addresses to ensure the correct rates are applied.
Tips for Table Rates
  • Use * for Region/State or Zip/Postal Code to apply rules broadly.
  • Ensure the CSV is UTF-8 encoded to avoid import errors.
  • Test all scenarios (weight, price, quantity) before going live to prevent miscalculated shipping charges.