Set up multiple shipping methods with different table rates?

Set up multiple shipping methods with different table rates?

July 22, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Set up multiple shipping methods with different table rates?

Setting up multiple shipping methods based on different table rates in Magento requires careful configuration of your shipping rules, rates, and carriers. Let’s break down the setup process to achieve your desired shipping logic.

Step 1: Configure Shipping Carriers

First, you need to set up the UPS and USPS carriers in the Magento admin panel:

  • Navigate to System > Configuration > Sales > Shipping Methods
  • Click on Add New Carriage button
  • Select United States Postal Service or UPS based on your needs
  • Fill in the required details like API username, access key, password, etc.
  • Save the configuration

Remember to use test credentials for UPS and USPS if you’re running a development environment.

Step 2: Create Shipping Methods

Next, create the shipping methods that will be used by your table rates:

  • Go to System > Configuration > Sales > Shipping Methods
  • Click on Add New Carrier button
  • Name your new carrier (e.g., “Laravel Shipping”)
  • Choose ‘Table Rates’ as the method type

Step 3: Define Table Rates

Now, let’s define the table rates for each shipping method:

  • Under the new carrier, click on Shipping Rates
  • Click on Add New Rate
  • Name your rate (e.g., “USPS Ground”)
  • In the ‘Rate’ field, enter a custom JSON string representing your shipping rules. Here’s an example for USPS Ground shipping:
[
  {
    "destination" : {
      "country_id" : "US"
    },
    "price" : 10,
    "price_excl_tax" : 10
  }
]

This JSON string defines a single rate of $10 for any order shipped within the US using USPS Ground.

Step 4: Apply Shipping Rules

To apply your table rates to specific conditions like PO boxes or APO/FPO addresses, you’ll need to use Magento’s shipping rule system:

  • Go to System > Configuration > Sales > Delivery Methods
  • Click on Add New Rule under the Laravel Shipping carrier
  • Name your rule (e.g., “USPS PO Box”)
  • Set the conditions for when this rule applies. For example, you can set a condition like ‘Zip code starts with’ and enter the appropriate codes for PO boxes.
  • Choose the corresponding shipping rate created earlier

Step 5: Assign Shipping Methods to Store

Finally, assign your newly created shipping methods to your store:

  • Go to System > Configuration > Sales > Shipping Methods
  • Click on Add New Carrier if needed
  • Under the carrier settings for each method (USPS Ground, UPS Next Day, etc.), check the box labeled “Active” and set the “Sort Order”
  • Save the configuration

Conclusion

Setting up multiple shipping methods with different table rates in Magento requires a combination of configuring carriers, defining custom rates, applying rules to those rates, and assigning everything to your store. Following this guide should help you achieve the desired shipping logic for USPS Ground, UPS 2 Day, UPS Next Day, and handling special cases like PO boxes and APO/FPO addresses.

Remember that Magento’s shipping system is quite flexible but can also be complex. If you encounter any issues or need further assistance, don’t hesitate to reach out to the Magento community forums or consult with a certified Magento developer.

For more in-depth guides on Magento development practices and optimization tips, feel free to explore our blog at LaravelCompany. We cover a wide range of topics to help you make the most of your e-commerce platform.

Database API Admin Configuration

Our network