{%- comment -%} App embed (ยง12): loads the CSS/JS once on every page, exposes the running offers to bundle-offers.js (window.BundleOffers), applies the design tokens, refreshes cart hints after cart changes and drives "Add bundle to cart" on the bundle pages served by the app proxy. {%- endcomment -%} {%- assign data = app.metafields.bundle_offers.storefront.value -%} {%- if data -%} {%- endif -%} {% schema %} { "name": "Offerlyst", "target": "body", "javascript": "bundle-offers.js", "stylesheet": "bundle-offers.css", "settings": [] } {% endschema %}