> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.delm.app/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Why does the widget display wrong data?

If you notice the delivery date in your store isn't what you expected, the best way to find the cause is to use the **Preview** tool inside the app. It simulates a customer's visit and highlights exactly which rules are being applied.

> **The fastest way to debug:** Go to the **Preview** section in the Delm app. Input a specific **Product**, a **Start date**, and a **Country**. The system will run the calculation and show a **green checkmark icon** next to every rule that was used. If you see a rule highlighted that shouldn't be there, you likely have a priority issue.

---

## Troubleshooting checklist

If the Preview tool shows a result you don't expect, check these common causes:

### 1. Upcoming holidays

Delm automatically accounts for public holidays, which can push delivery dates further out than usual.

* **Check for holidays:** In the **Preview** section, click the **Holidays** link at the bottom to see which dates are currently being skipped for your inventory location or the customer's country.
* **Manual blocks:** Verify you haven't manually restricted dates under **General > Block dates**, as these overwrite all other settings.

### 2. No product connected in the app block

The widget must be linked to the product data to calculate dates for specific variants.

* **Check the dynamic source:** In the Shopify Theme Editor, click on the **Delm Delivery Widget** block. Ensure the "Product" setting is connected to the product data (look for the "dynamic source" icon).
* **Reset the block:** If the widget doesn't update when switching variants, try removing the app block and adding it again to restore the default connection.

### 3. VPN affecting country-specific rules

By default, Delm detects the customer's location using their **IP address**.

* **The VPN trap:** If you are testing while using a VPN, Delm may think you are in a different country and apply the wrong transit rules.
* **Testing tip:** Turn off your VPN or use the **Preview** tool, which allows you to manually select a country regardless of your actual IP location.