Getting Started
1. Enable SDK access
2. Verify the global is present
window.eliteBundle{
version: "1.0.0",
app: {
shopDomain: "your-store.myshopify.com",
moneyFormat: "${{amount}}",
currencyCode: "USD",
currencyRate: 1,
storefrontAccessToken: "...",
sdkEnabled: true,
cartTransformCreated: true,
bundleDiscountCreated: true,
webPixelCreated: true,
bundleRenderMode: "product_page"
},
byob: { templateData: {...}, bundleConfig: {...}, shopifyVariantId: 123, productId: "789" },
mob: null,
sdk: {
byob: { steps: [...], cart: [...], addToCart: fn, checkout: fn, ... },
mob: null
},
on: fn,
off: fn
}3. Wait for the ready event
4. Check if the SDK is available
5. Read static bundle config
Last updated
Was this helpful?
