You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A static extension target that floats above the checkout in the bottom right corner of the screen.
9
+
10
+
> Note: This target only accepts the [Chat](https://shopify.dev/docs/api/checkout-ui-extensions/unstable/components/overlays/chat) component. Any other components will not render.
A static extension target that floats above the Thank you page in the bottom right corner of the screen.
9
+
10
+
> Note: This target only accepts the [Chat](https://shopify.dev/docs/api/checkout-ui-extensions/unstable/components/overlays/chat) component. Any other components will not render.
Copy file name to clipboardExpand all lines: packages/ui-extensions/docs/surfaces/checkout/staticPages/configuration.doc.ts
+28
Original file line number
Diff line number
Diff line change
@@ -463,6 +463,34 @@ You retrieve these metafields in your extension by reading [\`appMetafields\`](/
463
463
],
464
464
},
465
465
},
466
+
{
467
+
type: 'Generic',
468
+
anchorLink: 'preloads-definition',
469
+
title: 'Preloads definition',
470
+
sectionContent: `
471
+
For specific targets, you must provide the URL of assets or pages loaded by UI components within its extension. This allows Shopify to preload them as early as possible and ensure a performant experience for buyers.
472
+
Currently, the only supported component is \`chat\`.
473
+
The URL for the iframe used in this extension target. The URL can be absolute or relative. Relative URLs are resolved against the app URL.
474
+
For example,
475
+
* if the app URL is \`https://example.com\` and \`chat = "/my-chat-application"\`, the resolved URL will be \`https://example.com/my-chat-application\`.
476
+
* if \`chat = "https://my-chat-application.com"\`, the resolved URL will be \`https://my-chat-application.com\`.
0 commit comments