Skip to content

How do you set shipping cost by cart weight in Adalo?

Store the cart weight and shipping cost on the order, then use mutually exclusive conditions to save the correct shipping tier before checkout.

Docs checkedIntermediateReviewed Sep 8, 2026Actions and Logic

Short answer

Store Total Weight and Shipping Cost on the current Order, then run one conditional Update action for each nonoverlapping weight tier before calculating the checkout total.

The intended outcome

Each order saves exactly one shipping charge from its total weight, including a defined result at every tier boundary.

Requirements

  • An Orders collection with Number properties for Total Weight and Shipping Cost
  • Order Items related to the current Order with a saved item weight or line weight
  • A checkout action that has the current Order available

Step by step

  1. Step 1: Save the cart weight

    Before checkout, save the sum of the current Order's related item weights into the Order's Total Weight property.

  2. Step 2: Define complete shipping tiers

    Write tiers with no gap or overlap. For example, use Total Weight less than or equal to 1500 for the lower charge and Total Weight greater than 1500 for the higher charge.

  3. Step 3: Add conditional Update actions

    On the checkout button, add one Update Current Order action per tier. Set Shipping Cost to the tier amount and configure each action to run only when its weight condition is true.

  4. Step 4: Calculate the final total

    After Shipping Cost is saved, display or save the final total as the item subtotal plus Current Order's Shipping Cost.

  5. Step 5: Continue to checkout

    Place the Link action after the shipping updates so the checkout screen reads the value stored on the current Order.

The underlying logic

Saving Shipping Cost on the Order gives later screens one stable value to read instead of trying to reuse the visibility state of a button.

Mutually exclusive tier conditions ensure that one and only one shipping update runs for any valid weight.

Action order matters because the checkout screen must open after the Order has received its shipping value.

Data model

Collections, important properties and relationships
CollectionImportant propertiesRelationships
OrdersTotal Weight, Shipping Cost, and Item Subtotal are Number properties.Each Order belongs to one User and has many Order Items.
Order ItemsQuantity and Line Weight are Number properties.Each Order Item belongs to one Order and one Product.

What still needs checking?

  • This is a forum-native Answer with no original Adalocado video.
  • The accepted stored-cost workaround is rewritten with complete tier boundaries, documented conditional Update actions, and explicit checkout sequencing.

Common failure modes

Testing checklist

0 of 6 checked on this device

Current limitations

  • Conditional actions currently support one condition each, so complex shipping rules may require a precomputed tier property or an external rate service.
  • This pattern handles fixed weight tiers. It does not calculate carrier rates, address zones, taxes, discounts, or package dimensions.
  • The forum source used a confirmation modal with conditionally visible buttons. This Answer keeps the accepted stored-shipping-cost pattern and uses current documented conditional Update actions to avoid asking the user to choose a charge the app can determine.

What the Adalo community is reporting

These are concise editorial summaries of public forum posts, not endorsements or independently reproduced results.

Postage costs based on cart weight. Can't figure it out

The original author confirmed that saving a postage cost on the order, selecting the applicable tier, and reading that stored value on checkout solved the problem.

Boundary: The source used manual buttons and left the exact tier boundary ambiguous, so the Answer defines nonoverlapping conditions from current official documentation.

mightyels · March 2025

Sources and status

This page was last reviewed on Sep 8, 2026. Its current status is Documented from current sources.

Verification owner: Editorially checked against current Adalo documentation and monitored for corrections. Next review: Nov 8, 2026.

Changelog

  1. Automatically posted from a solved Adalo forum topic; corrections are monitored on the live site.

Automatically organized and maintained by the Adalocado editorial team under the editorial and verification policy.

Report this answer.

Automated Answers still pass evidence and publication checks, but they can be wrong, outdated, unclear, or missing an important boundary. Send the exact correction and the editor will check the live page.

Report a problem

Did this solve your problem?

One-click check

Bugs fixed. Updates shipped. Publishing handled.

$97/mo for your first 3 months.

Cancel anytime. That’s about 90% off the usual cost. 🤯

Let Rehost handle it
  • Bug fixes and troubleshooting
  • App updates and integrations
  • Publishing and store releases

Bring us the messy version.

Describe what you expected, what happened instead, and what you already tried.

Ask Adalocado

Related answers

Browse all