HomeDocumentationTroubleshooting

Widget Troubleshooting Guide

Follow these steps in order to diagnose and fix the most common issues with the Tax & Duty King widget.

🔍 Quick Diagnosis — What are you seeing?
❌ Widget not visible at all 🌍 Widget shows but only for some countries 🔢 Widget shows but calculation is wrong ⚠️ Widget appears briefly then disappears
Step-by-Step Fix

Widget Not Showing

1

Check the App Embed is Enabled

In Shopify Admin, go to Online Store → Themes → Customize. Click the App Embeds icon (puzzle piece) in the left sidebar. Find Tax & Duty King and ensure the toggle is ON. Click Save. This is the most common cause of the widget not appearing.

2

Add the App Block to Your Cart Template

Still in the Theme Editor, use the page selector at the top to navigate to Cart. In the left sidebar, click Add block. Scroll down to the Apps section and click Tax & Duty King. Drag the block to your preferred position (typically just above or below the cart totals). Click Save.

3

Test with an International Shipping Address

The widget only appears for international destinations. If you are testing from a UK store with a UK shipping address, the widget will not show. Change the shipping country in your cart to a supported international country (e.g. Germany, USA, France) to test. You can also use a VPN to simulate an international visitor.

4

Check for JavaScript Conflicts

Open your browser's developer console (F12 → Console tab) while on your cart page. Look for any red error messages. Common conflicts include:

  • Custom AJAX cart implementations that replace the DOM after the widget renders
  • Lazy-loading scripts that defer app embeds
  • Content Security Policy (CSP) headers blocking the widget script
  • Conflicting cart drawer scripts from other apps

If you see errors, contact our support team with a screenshot of the console errors and your theme name.

Calculation Issues

Widget Shows But Calculation Seems Wrong

!

Missing or incorrect HS codes

HS codes are the foundation of accurate duty calculations. Go to the HS Codes tab in the app. Check that your products have HS codes assigned (Status: Approved or Overridden). If products show "Pending" in the Shopify column, click Push All to Shopify to sync them.

!

Incorrect country of origin

The country of origin determines whether TCA zero-duty or other preferential rates apply. Check the Settings tab and ensure the correct country is set. If your products are manufactured in multiple countries, use the multi-origin feature to assign per-product origins.

i

Stale rate data

VAT and duty rates change periodically. Go to the VAT Rates and Duty Rates tabs and click Run Now on the AI agents to fetch the latest rates. The agents run automatically every week, but you can trigger an immediate update at any time.

i

Currency conversion

Import fees are displayed in the customer's local currency. If the converted amount looks unexpected, check the Currency Rates tab to verify the current exchange rates. The currency agent updates rates daily.

FAQ

Common Questions

Does Tax & Duty King work with all Shopify themes?
Tax & Duty King is compatible with all Shopify themes that use standard cart templates, including Dawn, Debut, Impulse, Prestige, and most other popular themes. For headless or heavily customised themes, manual integration may be required. Contact our support team for assistance with custom themes.
The widget appears in the Theme Editor preview but not on the live store
This usually means the theme changes were not saved and published. In the Theme Editor, click Save and ensure you are editing the published theme (not an unpublished draft). If the issue persists, try clearing your browser cache and testing in an incognito window.
The widget shows but no calculation appears for a specific country
If the widget is correctly positioned in your theme, it will always be visible to customers regardless of their shipping country. However, if a customer selects a destination that is not yet supported, the widget will display but will not show a duty or VAT calculation for that country. If you trade with a country that is not currently covered, contact us and we will add it to the supported list.
The widget appears briefly and then disappears
This is typically caused by a JavaScript conflict with another app or custom theme code that re-renders the cart after the widget loads. Open your browser console (F12) and look for errors. Common culprits are custom AJAX cart implementations and cart drawer apps. Contact our support team with your theme name and any console errors.
I'm using a headless or custom storefront — can I still use Tax & Duty King?
Yes, but it requires custom integration. Tax & Duty King provides a REST API that you can call from your custom storefront to retrieve import fee calculations. Contact our support team for API documentation and integration assistance.

Still Can't Get It Working?

Our support team will diagnose and fix the issue for you — usually within one business day.