Storefront Custom Code, Sections & Shortcodes
Extend a hosted devhelp shop storefront without running a separate frontend.
If a merchant uses a hosted devhelp shop storefront rather than a separate headless Next.js app, you can still customize layout, styles, and interactive blocks from the site editor (Online store → Website editor → Advanced mode).
Available customization layers
- Custom CSS & head/body snippets: Add brand styles, analytics scripts, or verification meta tags scoped to the storefront.
- Merchant sections: Author reusable custom sections that can be placed across pages, product templates, and collection templates inside the visual editor.
- Shortcodes: Embed dynamic tokens or reusable snippets inline inside rich content blocks.
- Releases & rollbacks: Every publish creates an immutable site release (
site.publishedwebhook topic), so you can preview changes before going live and roll back cleanly if an edit breaks layout.
Safety boundaries
- Checkout and payment steps stay protected by the platform so custom storefront scripts cannot read or tamper with card fields or payment handoffs.
- Always test custom sections on both desktop and mobile viewports in the editor preview before publishing.