Shopify integration (headless storefront)
Connect a Shopify store with Storefront API tokens and design product listings and pages in Divhunt.
The Shopify app connects your store through the Storefront API. Products become a builder data source with properties for collection, search, price range, availability, vendor, type, tags and options, plus six sort orders. A Shopify panel in the builder lets you mark any element as a cart action, a cart display, a variant output or a drawer trigger, so you build the whole storefront visually. Shop name, domain and currency are available as variables.
How it works
- Settings (Setup tab): Store URL (must be <name>.myshopify.com), Public Access Token (32 chars), Private Access Token (starts with shpat_). The public token wins if valid; sent as X-Shopify-Storefront-Access-Token. Storefront API version 2025-10.
- Re-cache Data: fetches shop name and currency, up to 50 collections and up to 500 products (2 pages of 250; 50 images and 100 variants each) into the install. The products source is only registered once at least one product is cached. Manual only, no expiry.
- Sort: Title A-Z/Z-A, Price low-high/high-low, Newest, Oldest. Live call on each render (no cache).
- Builder panel 'Shopify' on 28 element types: Action select (Add to Cart with Variant ID/Title/Handle/Image/Variant Title/Price/Quantity fields, Checkout, Increase, Decrease, Remove, Open Cart Drawer, Open Search, Open Quick View; Account, Wishlist and account form actions when Shopify Customer Accounts is installed) and 'This is' select (cart count/subtotal/items/item template/empty state, item image/title/variant/price/quantity/total, variant picker/price/compare price/image/SKU/availability, shop currency/name). Clicks are disabled inside the editor.
- Admin has tabs Setup, Reviews, Drawers.
When to use it
- Build a custom-designed Shopify storefront on Divhunt
- Show selected products on a marketing site
- Product detail pages driven by handle
Limitations
- Admin product cache max 500 products and 50 collections, refreshed manually
- Source filter operators are declared but ignored; filtering is through properties
- When a search term is set, the collection property is ignored
- Products must be re-cached after changes in Shopify for builder lists that use the cache
- Uses Storefront API only; no order or inventory management in Divhunt
Availability
- Works in Designer.
- Included in every plan.
- Limits: limit max 500 products per source; cache 500 products / 50 collections
How to use it.
- Install REST API, then Shopify
- Enter store URL and Storefront token
- Click Re-cache Data
- Bind an element to Source > Shopify > Products
- Use the Shopify panel to set cart and variant roles
Questions.
Which Shopify tokens do I need?
Does checkout happen on Divhunt?
Related features.
Shopify cart and checkout
A client-side cart with add, quantity and remove buttons that hands off to Shopify checkout.
Shopify drawers: cart, search, quick view
Built-in slide-in cart, product search (Ctrl/Cmd+K) and product quick view drawers for Shopify sites.
Shopify product filters
Filter Shopify product lists by collection, vendor, type, tag, options, price and availability, with URL sync.
Shopify variant picker
Let visitors pick product options (size, color) and update price, image, SKU, stock and the add to cart button.
Shopify product reviews (Judge.me)
Show Judge.me product reviews with rating, sorting and load more, and let visitors submit reviews.
Shopify customer accounts
Let shoppers log in with their Shopify customer account and show profile, orders, addresses and metafields.
Shopify upsell popup
Show a 'You might also like' popup with recommended products after add to cart or at checkout, based on rules.
Bridge connectors
A secure connector framework that exposes outside services as sources and actions for pages, forms and interactions.
Shopify products data source
List Shopify products in any layout with filters for collection, price, vendor, type, tag and options.
Shopify cart
A working cart built from your own elements: add, change quantity, remove, count and totals.
Shopify checkout
Send the cart to Shopify's own checkout to complete the order.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→