Skip to main content

Block slots guide

Show different delivery estimates from multiple blocks on the same product page

Written by Trevor Reid

Block slots let you place multiple ArrivesBy blocks on a single product page, each showing a different delivery estimate based on its own rules.

This is useful when you want to show delivery estimates for multiple shipping options side-by-side — for example, standard shipping and express shipping — or when you want different blocks on the page to each follow their own delivery rules.

Setting up block slots

Block slots are configured in two places: your theme editor (where you assign a slot to each block) and the Rules section of the app (where you scope a rule to a specific slot).

Step 1: Assign a slot in the theme editor

Open your theme editor and navigate to the product template. Add a second "Delivery time" block, then open the settings for each block.

In the Advanced section of the block settings, you'll find a Block slot dropdown. Assign a unique slot (A–F) to each block you want to show a different delivery estimate.

Blocks without a slot assigned will show delivery times based on your default rules. Only assign a slot if you want that block to follow its own set of rules.

Step 2: Create a rule for the slot

Go to the Rules section in the ArrivesBy app and create a new rule (or edit an existing one).

Under Additional filters, click + Slot and select the slot (A–F) this rule should apply to. Configure the delivery times as normal, then save.

The rule will now only apply to the block assigned to that slot. Other blocks on the page — including unslotted blocks — will continue to use the standard rule matching logic.

Example: Standard and express shipping

A common use case is showing standard and express shipping estimates on the same product page:

  • Block A — assign slot "A" in the theme editor, then create a rule in the app with Slot = A and a longer transit time for standard shipping.

  • Block B — assign slot "B" in the theme editor, then create a rule with Slot = B and a shorter transit time for express shipping.

When a customer views the product page, each block independently fetches its delivery estimate using its assigned slot, so they'll see both options at the same time.

Note

Slot filters can be combined with other filters like market, region, or product. All filters on a rule must match for the rule to apply.

Slots and cart estimates

Slot-specific rules do not apply to cart estimates. Because a slot identifies which block on the product page is rendering the estimate, there is no meaningful slot to match against at cart time — the cart doesn't know which block a customer was looking at when they added a product.

Cart estimates use only rules without a slot condition. If all of your rules target specific slots and none of your rules are slot-free, no estimate will appear in the cart for those products.

Tip

If you want a delivery estimate to appear in the cart, make sure you have at least one rule without a slot condition that covers those products — for example, your default rule.

Did this answer your question?