Skip to main content

Examples

Examples of how to use ZIP Lock to implement common ecommerce shipping restrictions.

S
Written by Support


Practical Setup Examples

Example 1: Agricultural Quarantine (State Restriction with Metropolitan Carve-Out)

  • Merchant Type: Live Nursery & Plant Distributor.

  • Scenario: Citrus and fruit plants cannot be shipped into the State of Florida due to agricultural biosecurity quarantines. However, the nursery operates a licensed commercial partner in Orlando that is legally authorized to receive stock at postal code 32801.

  • Card 1 (Details): Name: "Citrus Quarantine – Florida Exclusion" | Status: Active

  • Card 2 (Action): Action: Restrict | Behavior: Block checkout

  • Card 3 (Product Scope): Specific collections > Select Citrus Trees and Fruit Plants.

  • Card 4 (Location):

    • Country: United States

    • Target type: Specific states / provinces > Select Florida.

    • Carve-Out ("...except these specific codes"): Enter 32801.

  • Card 5 (Conditions): None required.

  • Card 6 (Messaging):

    • Field Error: "Due to state agricultural biosecurity laws, live citrus plants cannot be shipped to Florida."

    • Top Banner: Enabled ("Agricultural Notice: Please remove restricted citrus plants to proceed with your order.").


Example 2: Carrier Remote Surcharges (Bulk Spreadsheet ZIP Import — 2,500+ Codes)

  • Merchant Type: E-Commerce Home Goods / General Retailer.

  • Scenario: The merchant's parcel carrier levies a steep $45 extended area surcharge on remote island and mountain postal codes across Canada. The merchant maintains an Excel sheet of 2,800 unserviceable postal codes.

  • Card 1 (Details): Name: "Carrier Remote Area Embargo (Canada)" | Status: Active

  • Card 2 (Action): Action: Restrict | Behavior: Block checkout

  • Card 3 (Product Scope): All products (Storewide)

  • Card 4 (Location):

    • Country: Canada

    • Target type: Specific places (ZIPs / Postal codes)

    • Bulk Import: Click More actions > Import spreadsheet, upload Canada_Remote_Surcharges.xlsx, and confirm.

  • Card 5 (Conditions): None required.

  • Card 6 (Messaging):

    • Field Error: "We are unable to deliver to remote postal codes outside standard courier coverage."

    • Top Banner: Disabled (Storewide rule).


Example 3: Oversized LTL Freight (Universal PO Box Block via Condition Only)

  • Merchant Type: Heavy Furniture, Fitness Equipment, or Building Materials.

  • Scenario: Commercial gym racks and cast-iron bathtubs ship on pallets via LTL freight. Freight carriers cannot deliver pallets to post office boxes, so all PO Box addresses nationwide must be rejected.

  • Card 1 (Details): Name: "Heavy Freight – Block All PO Boxes" | Status: Active

  • Card 2 (Action): Action: Restrict | Behavior: Block checkout

  • Card 3 (Product Scope): Specific product tags > Enter freight-only.

  • Card 4 (Location):

    • Country: United States

    • Target type: All addresses (Everywhere)

  • Card 5 (Conditions):

    • Click + Add condition > Select Shipping address > PO Box.

    • Select: Is a PO Box.

  • Card 6 (Messaging):

    • Attached to: Address Line 1

    • Field Error: "Oversized freight items cannot be delivered to a PO Box. Please enter a physical street address."

    • Top Banner: Enabled ("Freight Delivery Requirement: Palletized items require a physical residential or commercial delivery address.").


Example 4: Local Perishable Delivery (Exclusive Zone with Wildcard Prefix)

  • Merchant Type: Artisan Bakery, Prepared Meals, or Florist.

  • Scenario: A florist in Chicago offers fresh flower delivery strictly within the city limits (postal codes starting with 606*) using an in-house van. All other addresses nationwide must be blocked from ordering fresh arrangements.

  • Card 1 (Details): Name: "Chicago Fresh Flowers – Local Delivery Only" | Status: Active

  • Card 2 (Action): Action: Exclusive Zone | Behavior: Block all unlisted locations

  • Card 3 (Product Scope): Specific collections > Select Fresh Flowers & Arrangements.

  • Card 4 (Location):

    • Country: United States

    • Target type: Specific places (ZIPs / Postal codes)

    • Postal Codes: Enter 606* (wildcard matches 60600 through 60699).

  • Card 5 (Conditions): None required.

  • Card 6 (Messaging):

    • Field Error: "Fresh floral arrangements are available strictly for local Chicago delivery."

    • Top Banner: Enabled ("Local Delivery Zone: Fresh flowers cannot be shipped outside our local delivery perimeter.").


Example 5: High-Value Jewelry Cart Minimum (Condition Only — No Location Restrictions)

  • Merchant Type: Fine Jewelry & Luxury Goods.

  • Scenario: A fine jeweler sells diamond pieces storewide. To offset armored courier shipping costs and minimize fraudulent small orders, the jeweler requires a minimum cart subtotal of $500 for the luxury collection, regardless of destination.

  • Card 1 (Details): Name: "Fine Jewelry – $500 Minimum Order" | Status: Active

  • Card 2 (Action): Action: Restrict | Behavior: Block checkout

  • Card 3 (Product Scope): Specific collections > Select Fine Jewelry & Diamonds.

  • Card 4 (Location):

    • Target type: All addresses (Everywhere)

  • Card 5 (Conditions):

    • Click + Add condition > Select Cart > Subtotal.

    • Criteria: Is less than > Enter 500.00.

  • Card 6 (Messaging):

    • Field Error: "Orders containing items from our Fine Jewelry collection require a minimum subtotal of $500."

    • Top Banner: Enabled ("Minimum Order Threshold: Please adjust your cart value to meet the $500 minimum for armored courier delivery.").


Example 6: Wholesale Pallet Whitelist (B2B Logic with Country Targeting)

  • Merchant Type: B2B Wholesale Distributor.

  • Scenario: A beverage manufacturer sells bulk wholesale pallets across the United States. To prevent retail consumers from accidentally checking out with freight pallets, bulk SKUs can only be purchased by verified B2B buyers.

  • Card 1 (Details): Name: "Wholesale Pallets – Verified B2B Only" | Status: Active

  • Card 2 (Action): Action: Restrict | Behavior: Block checkout

  • Card 3 (Product Scope): Specific product tags > Enter pallet-tier.

  • Card 4 (Location):

    • Target type: Entire countries

    • Country: United States

  • Card 5 (Conditions):

    • Click + Add condition > Select B2B > Is B2B.

    • Criteria: No (blocks any retail customer attempting to buy wholesale pallets).

  • Card 6 (Messaging):

    • Field Error: "Wholesale pallet quantities are restricted to approved corporate B2B accounts."

    • Top Banner: Enabled ("B2B Access Required: Please log in with your approved company wholesale account to purchase pallet inventory.").

Did this answer your question?