Shipit DocumentationShipit Documentation
Home
API
Webhooks
Shipit Delivery Checkout
Shipit Return and Exchange
Shopify Delivery Checkout
  • English
  • Suomi
  • Svenska
  • Eesti
  • Dansk
  • Norsk
Home
API
Webhooks
Shipit Delivery Checkout
Shipit Return and Exchange
Shopify Delivery Checkout
  • English
  • Suomi
  • Svenska
  • Eesti
  • Dansk
  • Norsk
  • Shipit Delivery Checkout

    • Shipit Delivery Checkout
  • Getting Started

    • What is Delivery Checkout?
    • How It All Fits Together
    • Your First Shipping Option
    • Testing Your Checkout Setup
  • Core Concepts

    • Checkout Setups
    • Shipping Options
    • Rules
    • Pricing
    • Presentation Settings
    • Pickup Points
    • Parcels
    • Fulfillment Settings
    • Translations
    • A/B Experiments
  • Reference

    • Checkout Setup Field Reference
    • Shipping Option Field Reference
    • Parcel Preset Field Reference
    • Rule Condition Reference
    • Rule Action Reference
  • Examples

    • Show free shipping when the order total is over €100
    • Charge more for heavier orders
    • Offer cash on delivery for a specific country
    • Stop showing express delivery after 2pm and on weekends
    • Route orders to the right warehouse
    • Show a free shipping badge during weekend sales
    • Add a pickup point shipping option
    • Show different shipping options to B2B and B2C customers
    • Bulk-import shipping options from a CSV file
    • Discount shipping for loyalty members
    • Show different carriers per destination country
    • Restrict same-day delivery to a specific postcode area
    • A/B test two checkout messaging variants
    • Offer a return shipment option at checkout
    • Hide parcel lockers when an order is too heavy
  • Glossary

    • Glossary

What you'll build

A pickup point shipping method that shows parcel lockers and service points for normal orders, but automatically removes parcel lockers when the cart weighs more than 30 kg. Heavy orders still get service point pickup — only the lockers disappear.

Before you start

  • You have a pickup point shipping method configured that returns both parcel lockers and service points.
  • You know your parcel locker weight limit. This example uses 30 kg, the standard maximum for most Nordic locker networks.

A note on weight units

The cart_weight condition uses the weight unit configured in your store settings. In most setups this is kilograms. Confirm your store's weight unit before setting the threshold value — entering 30000 when your unit is kilograms sets a 30,000 kg threshold, not 30 kg.

Step 1: Open your pickup point shipping method

Navigate to your pickup point option. If you have separate methods for lockers and service points, see the alternative approach at the end of this guide.

Step 2: Add a rule to filter locker types for heavy orders

Add a new rule to the pickup point method:

Rule fieldValue
Rule nameRemove lockers for orders over 30 kg
ContextPickupPoint
Condition: fieldcart_weight
Condition: operatorgreaterThan
Condition: value30
Action 1hide_parcel_locker
Action 2hide_outdoor_parcel_locker
Conditions matchAll

The two hide actions work together: hide_parcel_locker removes indoor lockers and hide_outdoor_parcel_locker removes outdoor 24/7 lockers. Service point locations are unaffected. The rule runs once per pickup point as each location is assessed — only locations matching a hidden type are excluded from the map.

Step 3: Verify light orders are unaffected

The rule's condition only fires when cart_weight is greater than 30. For carts at or under 30 kg, no action is taken and all pickup point types remain visible. No additional rule is needed.

Alternative approach: two separate pickup methods

Option A — Parcel Lockers only:

  • Default visibility: Visible
  • Rule: Hide if cart_weight > 30

Option B — Service Points only:

  • Default visibility: Visible
  • No weight rule needed

This gives customers two clearly labelled options for light orders and removes the locker option for heavy ones. The trade-off is slightly more configuration to maintain.

How it works

When a customer opens the pickup point map, Shipit evaluates PickupPoint context rules for each location. If the cart weight exceeds 30, the rule fires and both hide_parcel_locker and hide_outdoor_parcel_locker actions suppress those location types. Only service points appear on the map. For lighter orders the rule does not fire and all location types are shown.

Testing it

  1. Open the Checkout tester and set cart weight to 5 kg. Confirm both lockers and service points appear.
  2. Set cart weight to 31 kg. Confirm locker-type locations disappear and only service points remain.
  3. Set cart weight to exactly 30 kg. Confirm lockers are still visible — the threshold is "greater than", not "greater than or equal to."
Last Updated: 6/13/26, 7:25 AM
Contributors: Brian Faust
Prev
Offer a return shipment option at checkout