Display and manage Shopify product and collection data directly within dotCMS templates and pages — powered by the Storefront GraphQL API.
What it does
The dotCMS Shopify plugin bridges your content management and e-commerce platforms. Once configured, you can query Shopify products and collections from within dotCMS Velocity templates, REST API endpoints, or custom GraphQL queries — without leaving dotCMS.
This integration provides read-only access to Shopify data via the Storefront API. It does not support writing data back to Shopify, managing orders, or accessing inventory levels.
Use cases
Content-driven product pages — Build campaign pages, lookbooks, and buying guides with live Shopify product data embedded directly in dotCMS templates. No duplicate data entry; catalog changes in Shopify reflect automatically.
Headless multi-channel delivery — dotCMS becomes the single API layer for both editorial and product data, serving any frontend via REST or GraphQL without wiring each channel separately to Shopify.
Multi-site commerce at scale — One integration surfaces Shopify product data across every brand and regional site in dotCMS, with each site controlling its own editorial layer around a shared catalog.
Faster campaign execution — Content editors can search and embed Shopify products directly in dotCMS without Shopify admin access or a developer ticket, cutting the time to launch a product page from days to hours.
Key capabilities
Display Shopify product data in dotCMS pages and templates
Search and browse products and collections via Velocity viewtool
Expose Shopify data through REST endpoints for headless frontends
Execute custom GraphQL queries against the Shopify Storefront API
Automatically creates ShopifyProduct and ShopifyCollection content types
Link dotCMS content directly to Shopify products with thumbnail syncing
How to set it up
Requires dotCMS 25.10.03 or higher, an active Shopify store, and a Storefront API private access token from the Shopify Headless Sales Channel.
Install the Headless Sales Channel app from the Shopify App Store in your Shopify Admin.
Generate a Storefront API private access token with unauthenticated_read_products and unauthenticated_read_collections permissions.
Download the latest plugin JAR from the dotcms-community/com.dotcms.shopify GitHub releases page.
Upload the plugin via System → Dynamic Plugins in dotCMS and wait for installation to complete.
Go to Settings → Apps → Shopify, enter your Store Key and Storefront Token, then verify connectivity at /api/v1/shopify/product/test.