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.
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:
The shipping rates depend on the totaling algorithm on the table rates carrier. You can combine this with dimensional packing options. 💡