Skip to content
  • There are no suggestions because the search field is empty.

How to Set Maximum Lengths for Custom Rate Methods

Set custom shipping method restrictions based on maximum package lengths

Table of Contents

Overview

Many carriers have a maximum length they can ship. For example, UPS non-freight can ship up to 108 inches. Live rate carriers automatically restrict methods if dimensions are exceeded. This guide details how to achieve this with custom rate carriers. 😊

Scenario

We have three custom rates to configure:

  • Standard Delivery: Maximum length of 108 inches. Hide if items exceed 108 inches.
  • Next Day: Maximum length of 50 inches. Hide if items exceed 50 inches.
  • Freight: No maximums.

Carrier Setup

We'll use a table rates carrier to define each shipping method in a single carrier.

Example of a table rates carrier with each of the shipping methods defined in a single carrier.

The example uses two Shipping Groups:

  • OVER108: Assign products over 108 inches.
  • OVER50: Assign products over 50 inches but not exceeding 108 inches.

Shipping Rules

With just the table rates carrier, all methods display if a product in the cart is in either the OVER108 or OVER50 group. For more details, see the Working with Multiple Shipping Groups article. To display only the correct methods, use shipping rules. These can hide unwanted methods in the cart.

Hide Standard Delivery

  • Name: Hide Standard Delivery
  • Shipping Methods: Choose +Add Methods under Custom Shipping Rate and select Standard
  • Actions: Action to Perform: Hide selected Shipping Methods
  • Conditions: Shipping Group(s) Include One or More: OVER108

Hide Next Day Delivery

  • Name: Hide Next Day Delivery
  • Shipping Methods: Choose +Add Methods under Custom Shipping Rate and select Next Day
  • Conditions: Shipping Group(s) Include One or More: OVER108, OVER50

As a result, expect these options:

If the cart contains products assigned to these shipping groups: Not assigned to either OVER50 or OVER108
Display these methods: Standard and Next Day
If the cart contains products assigned to these shipping groups: OVER50
Display these methods: Standard and Freight
If the cart contains products assigned to these shipping groups: Unassigned products and OVER50
Display these methods: Standard and Freight
If the cart contains products assigned to these shipping groups: OVER108
Display these methods: Freight
If the cart contains products assigned to these shipping groups: Unassigned, OVER50 and OVER108
Display these methods: Freight
If the cart contains products assigned to these shipping groups: OVER50 and OVER108
Display these methods: Freight

The shipping rates depend on the totaling algorithm on the table rates carrier. You can combine this with dimensional packing options. 💡