# Widgets

Widgets are essential when you need to display estimated delivery dates in your store.

<figure><img src="/files/yXnGanIqTagQILq1eCQZ" alt=""><figcaption></figcaption></figure>

### Widget Type

There are three types of widgets in EDD, each containing distinct content:

* Text base: The EDD message in this type is displayed solely in text form.
* Visual: This type enhances the Text Base by incorporating visual styles for three distinct order steps.
* Multiple options: This type allows you to customize the names and shipping fees for different delivery methods based on your preferences.&#x20;

{% hint style="info" %}
Please note that an active subscription is required to enable Multiple options type. For more information, see Plan.
{% endhint %}

### Widget Preview

<figure><img src="/files/7YQoccFlJi0OJCxpf1mV" alt=""><figcaption></figcaption></figure>

### Content

When different widget types are selected, the content in the content area changes accordingly. This gives merchants great flexibility to customise and display the information you want. See more in type details pages.

You have complete control over the widget content. Every aspect can be customised to suit your preferences. The content can be edited separately for each language, making it ideal for multilingual stores.

To include dynamic content, such as the estimated delivery date, use placeholders like `{edd_date}`. These placeholders can be easily inserted into the widget's content fields. A comprehensive list of available placeholders is provided below each field.

### Widget integration in Theme Editor

{% hint style="warning" %}
If your store uses Shopify Theme 2.0, you need to add the widget block to the desired location to display the widget correctly (usually near the buy button on the product page). Please note that since the app supports multiple languages, ensure that the store's language matches the app's language settings; otherwise, the widget will not be displayed.
{% endhint %}

You can integrate widgets by adding a DH-EDD block.

Please follow the below steps:

1. From the Shopify menu, navigate to `Sales channels` > `Online Store` > `Themes`
2. Find the current theme you want to edit and click on `Customize`
3. Locate the section you want to add the widget and click `Add block` > `Apps` >`DH-EDD`
4. Click on the `save` button before leaving the screen.

<figure><img src="/files/l0wLB1p5ojzQfatVo3TC" alt=""><figcaption></figcaption></figure>

If this method does not work in your store, you can try other approaches as well. Refer [Widget placement method](/dh-estimated-devilry-date/widgets/widget-placement-method.md) for more information.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dirhand.com.au/dh-estimated-devilry-date/widgets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
