Version 20250905-1757090109
This page provides an overview of the key requirements for integration with the BOGOS app via the BOGOS JS/SDK. It is recommended to read this page thoroughly before proceeding to the next sections
1. Requirements
2. Installation
Version source
BOGOS_JS_SDK=https://cdn.bogos.io/bogos-app-ext/20250905-1757090109/core.min.jsStep 1: Getting started
<script id="bogos-core" src={{BOGOS_JS_SDK}} defer data-storefront-api-token={{PUBLIC_STOREFRONT_API_TOKEN}} data-api-version={{PUBLIC_STOREFRONT_API_VERSION}} data-myshopify-domain={{MYSHOPIFY_DOMAIN}} data-bogos-key={{BOGOS_KEY}} />typeof window !== 'undefined' && typeof window.BOGOS_CORE !== 'undefined' && window.BOGOS_CORE?.helper?.updateCore(option: BOGOSOptions)export type BOGOSOptions = { cart?: Cart; customer?: string | Customer; locale?: string; https://shopify.dev/docs/api/storefront/latest#@inContext-(Language) country?: string; https://shopify.dev/docs/api/storefront/latest#@inContext-(Country-Code) currency?: { active: string; rate: number; }; };
Step 2: Gift Offer
Step 3: Bundle Offer
Step 4: Bundle Page
Step 5: Upsell Offer
Step 6: Discount Offer
3. Other integrations
3. 1. Hide gift product (cloned product)
3.2. Customize gift popup/slider
3.3. Details of additional event listeners
4. Note
4.1. Publish Gift/Cloned Products
4.2. Some features are not yet available in this version
Last updated