Edit Theme JavaScript
Advanced
Last updated
Was this helpful?
Advanced
Last updated
Was this helpful?
Theme retirement | Context is no longer available on the Shopify theme store. Theme support and updates for current users will end after May 18, 2024. .
We do not support code customizations. This guide offers a basic reference for developers. Always test code changes on a duplicated, unpublished version of your theme. For assistance, we recommend finding a professional developer through or .
Context includes a single, editable JavaScript file (assets/theme.classic.js
) for custom development that can be enabled in the theme-globals.liquid
file.
Switching to the classic theme file disables code splitting, which bundles the theme JavaScript into multiple files used for lazy-loading and improved site performance. We do not recommend editing these files directly.
The theme.js
file, when enabled, lets you edit a single JavaScript file, instead of many files, and includes comments from our developers to help you along.
How's Context working for you?
We built Context with developers in mind. We're looking to create relationships with third-party developers using our themes and want to hear from you about what you're building. Please feel free to reach out with questions or introduce yourself by e-mailing us at
Related links