How to show the delivery estimate in a custom position

Overview

Use Manual Position to place the estimate yourself, for example between two sections of your product page. You add the Estimated Delivery Block app block in the theme editor, or paste a code snippet in your theme.

Before you start

Steps

1. Select Manual Position

  1. Open Estimated Delivery, click the estimate name, then click Placement.
  2. Under Page to display, select Manual Position.
  3. Copy the ID with the copy icon.

Manual Position selected with the estimate ID, the Add liquid block to your theme button and the code snippet

If the field shows "Save or Publish to show ID", click Save in the bar at the top of the page first.

2. Add the Estimated Delivery Block in the theme editor

  1. Click Add liquid block to your theme. The theme editor opens. You can also open it from Online Store > Themes > Customize.
  2. Open the page where you want the estimate, for example a product page.
  3. Click Add section (or Add block inside a section), open the Apps tab, then select Estimated Delivery Block. To find it faster, type its name in the search box.

Theme editor Add section panel, Apps tab, with Estimated Delivery Block from Xboost Estimated Delivery

3. Connect the block to your estimate

  1. In the block settings, paste the ID into Estimated Delivery ID.
  2. Drag the block to the place you want.
  3. Click Save in the theme editor.

Estimated Delivery Block settings with the estimate ID in Estimated Delivery ID

The estimate shows where you placed the block:

Theme editor preview with the delivery estimate in its own section below the product information

The block shows the estimate only when the estimate uses Manual Position and is Active.

Use the code snippet instead

If you or your developer edit theme code, copy the code snippet from the Placement step and paste it in any theme file where you want the estimate. It looks like this, with your ID in data-id:

<div class="xbEdd-block" data-id="YOUR-ESTIMATED-DELIVERY-ID"></div>