Introducing Stiletto - the essential Shopify theme to fuel your ecommerce growth. Learn more.

Edit Theme Javascript (unminified)

In This Article


If you want to modify only a few components and retain code splitting, consider using Stiletto's standalone file for custom javascript events.

Stiletto includes a single, editable javascript file (assets/theme.js) for custom development that can be enabled in the snippets/theme-globals.liquid file.

Switching to the unminified theme.js 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.

Switch to theme.js

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.


  1. Open the theme-globals.liquid file in the Snippets folder.

  2. Find the useUnminThemeJS variable and set it to true

    {% assign useUnminThemeJS = false %
  3. You can now begin editing the theme.js file in the Assets folder.

    We highly recommend backing up your theme and documenting any additions for troubleshooting and theme updates, which require manually transferring the code.

How's Stiletto working for you?

We built Stiletto with developers 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


🇨🇦 Fluorescent Design Inc.

Send us a message
  • Toronto OfficeMonday to Friday, 10am to 6pm ET
  • Victoria (B.C.) OfficeMonday to Friday, 10am to 6pm PT
  • Average Response Time~1 Business Day
* Excludes statutory holidays. All offices closed to the public.