Replace all placeholder values:
PRODUCT_IDGROUP_IDVARIANT_IDhttps://your-site.com/thank-you
- Next.js
- React SPA
- WordPress
- Webflow
Bonus: Programmatic Multi-Item Button
Group Embed Button
Hybrid Example: Your Own Product Cards + Shoppex Checkout
Use this when you already render your own catalog UI and only want Shoppex for the checkout modal. Fetch product data however you want, render your own cards, and putdata-shoppex-product-id on the CTA button — Shoppex handles the rest.
- The product card layout is yours, not Shoppex’s.
- The checkout modal is Shoppex’s.
- You can get
productsfrom the Storefront API,@shoppexio/storefront, or your own backend. - You do not need to copy any specific
lib/shoppex.tsfile from another project. That kind of helper is just one possible app structure.
Event Snippet (Analytics)
Related Docs
Embed SDK Overview
Start here for concept and quick setup.
Embed SDK Reference
Full options and behavior reference.
Security & Troubleshooting
CSP and production debugging.
Embed Demo
Interactive demo page.