Show Error Message in Cart/Checkout
Set up cart weight error messages for orders exceeding 300lbs
Table of Contents
Overview
When a cart exceeds 300lbs, you can prevent shipping rates from displaying in the cart/checkout and only show an error message. 😊
Restrictions
💡 Due to platform constraints, this feature is currently unsupported in Bigcommerce and Shopify.
Setup
- Create a Filter and set the minimum cart weight to 300lbs.
Go to Shipping Rules and add a new rule:
- Under the Basic tab, give the rule a relevant name (e.g., "Prevent Rates when cart over 300lbs").
- In the I want to... panel, with Choose an action, set it to "Hide a shipping method."
- In the "For these shipping methods..." section, select the methods you want to hide when the filter is met.
- In the "Perform The Action When..." panel, under Filters, select the filter you created in step 1.
- Go to the Advanced tab and tick "Show error message when this rule applies."
- Fill in the desired error message in the "Displayed error message" text field.
- Save the rule.
Voila! Whenever the cart is over 300lbs, the selected shipping methods will be hidden, and the error message you set will display to the customer in the cart/checkout. 😊
Note: The error message will only appear if no shipping methods are returned at checkout. If at least one shipping method is available, the message will not be displayed. ❌