There are two ways to limit weight: "weight rules," which apply the same condition to a broad scope, and "weight limits by product," which apply different conditions per product or variant. The two methods can be used together.
Choose the method to use depending on the unit you want to limit.
Method | Best suited for | Applicability options |
|---|---|---|
Weight rules | Applying the same condition to a broad scope | Cart, Product, Variant |
Weight limits by product | Changing the condition depending on the product or variant | Product, Variant |
Choose a pricing plan from "Pricing" in the app admin first. Choosing a pricing plan first lets you continue through to enabling the limit for either method.
Prerequisite: A test contract for a pricing plan is required even when testing on a development store. Under Shopify's specifications, test contracts are free.
Follow the steps below depending on the method you use.
(1) Open Weight rules
Open the app admin → "Weight limits" → "Weight rules".
(2) Create the rule
Select "Create rule".
(3) Save the settings
Configure the required fields and save.
You can configure the following for a weight rule.
Settings | Description |
|---|---|
Title | The rule name for internal use |
Limit details | Minimum weight, maximum weight |
Weight unit | g, kg, oz, lb |
When product weight unit differs | Choose whether to convert and include it in the calculation, or exclude it from the calculation |
Applicability | Cart, Product, Variant |
Eligible items | All items, a specific collection, specific products, or products with a specific tag |
Display timing | Cart updated and checkout, or Checkout only |
Product message | The message shown on the product page (optional) |
Alert message | The message shown when the limit is violated |
(4) Enable the weight rule
For a weight rule, select the rule in the list and choose "Enable rule", or select "Enable" on the edit screen.
(1) Open Weight limits by product
Open the app admin → "Weight limits" → "Weight limits by product".
(2) Start using it
Select "Start using". This prepares the settings for products and variants. The limit is not applied yet.
(3) Set the weight for each product or variant
Set "Weight limit" or "Total weight limit" to "Enabled" for the eligible product, then set the weight unit, minimum weight, and maximum weight. If needed, select "Edit total weight targets" or "Edit limits for each variant", then save with "Save changes" or the save bar.
(4) Enable weight limits by product
Open "Settings" and select "Enable". This enables the dedicated checkout rule. If it hasn't been created yet, this action creates it.
Note: Variants without a weight set are not covered by weight limits by product.
Enabling the app embed is a recommended setting. It is required if you use product messages. If you only use limits at checkout, this step is not necessary.
(1) Open the theme editor
Open Shopify admin → "Online Store" → "Themes" → "Customize".
(2) Open App embeds
Select "App embeds".
(3) Enable RuffRuff Order Limits
Enable "RuffRuff Order Limits" and save.
Note: The limit is still enforced at checkout even if you don't enable the app embed. The app embed is required if you use product messages.
Add the following app block depending on where you want to display the weight.
To display the weight on the product page, add the "Product Weight" app block.
To display the weight in the cart, add the "Cart Weight" app block.
To also update the product weight when the customer switches variants on the product page, enable the app embed.
Check the behavior with a quantity that puts the total weight under the minimum or over the maximum.
If the display timing is "Cart updated and checkout," check in the cart. If it is "Checkout only," proceed to checkout to check.
Check the following to make sure setup is complete.
Chose a pricing plan
Set up the limit using the method you use
Enabled the limit
Enabled the app embed (recommended; required if you use product messages)
Checked the behavior according to the display timing