Homepage
data-page-type="home"Review the launcher, welcome message and natural-language product discovery.
Add WardrobeIt to your ecommerce storefront so shoppers can discover products, receive catalog-only recommendations, ask product questions, compare suitable options, and complete supported cart actions.

Theme Embed is the current theme-script installation path. It does not imply a Shopify App Store app, theme app extension or drag-and-drop app block.
Add the approved theme script in the placement provided during setup. Shopify Admin access belongs in the secure connection workflow; the widget uses its own store-scoped credential.
<script src="https://YOUR_HOST/static/wardrobeit-widget.js"
data-api-key="YOUR_STOREFRONT_KEY"
data-api-base="https://YOUR_HOST/api/v1"
data-page-type="product"
data-product-id="YOUR_CATALOG_PRODUCT_ID"
defer></script>Use the exact script URL, API host, key and product mapping provided for your store. These placeholders do not connect a storefront.
| Attribute | Purpose |
|---|---|
src | Widget script URL supplied during setup |
data-api-key | Store-scoped storefront key, never the Shopify Admin API token |
data-api-base | API base URL supplied for your WardrobeIt environment |
data-page-type | Supported page context: home, product, collection or cart |
data-product-id | Catalog product identifier where supported on product pages |
defer | Load the widget script without blocking HTML parsing |
Use supported page contexts and product mapping rather than assuming the same snippet configuration works everywhere.
data-page-type="home"Review the launcher, welcome message and natural-language product discovery.
data-page-type="collection"Confirm recommendations remain inside the connected catalog and open the right merchant product pages.
data-page-type="product"Pass the supported catalog identifier. Test Product Q&A, eligible Virtual Try-On and valid variant selection against the current product.
data-page-type="cart"Verify supported Add-to-Cart behavior and the merchant cart confirmation. Checkout stays with Shopify.











YOUR_CATALOG_PRODUCT_ID






A visible launcher is only the beginning. Review discovery, questions, comparisons, supported visual previews and cart actions before making the assistant available to shoppers.
Use real store products and an unpublished or approved preview environment. Test both desktop and mobile, including existing apps and scripts.
Merchant Portal controls vary with the active implementation. Configure only released, technically supported settings and retest the shopper experience after changes.
Use the symptom to choose the next check. Do not keep replacing keys or publishing theme changes before reviewing the failure.
Confirm the correct theme and environment, the approved script placement, the supplied script URL and the browser console error. Check that another script or content policy is not blocking loading.
Verify the storefront key belongs to this store and the API base matches your environment. Never substitute a Shopify Admin token or a server-only merchant key.
Review catalog synchronization and the product identifier used for page context. Confirm the product, color, size and valid options at the Shopify source.
Test a valid product, variant and quantity on the correct store origin. Shopify remains the final authority for price, availability and cart acceptance.
Check product eligibility, supported plan/configuration, usable images, consent and placement. Do not expose an unsupported preview.
Restore the approved theme backup or disable/remove the snippet, then retest. Removing the widget should not alter the underlying catalog or checkout.
Shopify is the current supported connection. WooCommerce, custom and headless paths, GA4, Meta, Google Ads, Klaviyo, HubSpot and support integrations require their own availability review; they are not enabled by adding the widget script.