An in-browser DevTools panel for Shopify themes. Inspect Liquid objects, evaluate expressions in real-time, catch errors automatically, and manipulate cart state — all without leaving your browser. Like React DevTools, but for Liquid.
Shopify Theme Devtools provides an essential in-browser developer tools panel tailored for Shopify theme development, enabling developers to create and maintain themes with greater efficiency. The tool enhances the development experience by allowing users to inspect Liquid objects, evaluate expressions, explore metafields, manipulate cart state, and identify Liquid errors—all directly within the browser.
shop, product, collection, customer, and cart objects with deep searching capabilities and a collapsible tree view.Expression Evaluator: Test and evaluate Liquid paths with real-time data, allowing for rapid debugging and development. Example Liquid expressions:
> product.title
"Classic Cotton T-Shirt"
> product.variants[0].price | money
"$29.99"
> cart.items | size
3
> shop.name | upcase
"MY AWESOME STORE"
Cart Tests: Define custom validation rules for cart items, ensuring compliance with business requirements. Features pre-built templates and options for automatic testing.
Liquid Error Detection: Automatically identifies and suggests fixes for common Liquid issues, enhancing debugging and reducing errors during development.
Network Panel: Robust monitoring of Shopify API requests with capabilities to log, edit, and replay requests, ensuring seamless interactions with the Shopify platform.
Tab Customization: Tailor the devtools interface to fit personal workflows using drag-and-drop functionalities and customizable tab visibility.
To initiate the setup, the recommended approach is to utilize npm:
npx shopify-theme-devtools init
Or for a more persistent setup:
npm install -g shopify-theme-devtools
shopify-theme-devtools init
Configuration is simplified, with automatic detection of metafields accordingly.
This tool is designed to support development for unpublished themes only, ensuring that live themes remain unaffected by any development changes. It is a vital resource for any developer looking to optimize their Shopify theme development process with efficiency and precision.
No comments yet.
Sign in to be the first to comment.