You can troubleshoot some common issues with the Storefront Toolkit.
The Storefront Toolkit JavaScript is inserted before the first JavaScript tag in the HTML
<head>
section of your storefront. If the HTML
<head>
section contains no JavaScript, the Storefront Toolkit
JavaScript is inserted at the end of the <head>
section.
The following table lists some problems commonly encountered when you use the Storefront Toolkit, along with potential solutions.
Problem | Solution |
---|---|
You try to open a page in the Storefront Toolkit and you get a message that the toolkit failed to initialize. |
|
The Content Information tool doesn't show content and product tags. |
It's possible that page markers are missing from the HTML. Add |
The Search Results Window or Product Search Model Window isn't available. | Make sure that the isobject tag is correctly implemented. See
Enable the Search Information Tool. |
The Storefront Toolkit tools show no information. | It's possible that the Content Delivery Network (CDN) is removing HTML comments. Disable this feature in the CDN. If you use Cloudflare, see How do I minify HTML, CSS, and JavaScript to optimize my site? |
Toolkit shows an empty storefront. |
If anticlickjacking is included in your code, the content of the page can be hidden when opened in an iframe. To resolve this issue, we recommend that you add a custom site preference to disable anticlickjacking on staging or sandbox instances. For more information, see Clickjacking. |
URLs constructed using the following methods of
dw.web.URLUtils aren’t working as expected:
|
The Storefront Toolkit adds a cache-busting parameter to URLs. For example,
you use The resulting URL is
The URL doesn’t work as expected and can cause problems in the storefront depending on where you use it. Use When you use the Storefront Toolkit, the resulting URL is
|
The Storefront Toolkit disappears after you click a link. |
Check to see if you are using links that include a
The |
You tried all the solutions, but the Storefront Toolkit still doesn't work. | Disable and clear the page cache. |