Edit your theme javascript - where to find the un-minified js file?

Edit your theme javascript - where to find the un-minified js file?

If you want to edit your theme javascript, you first need to make sure you don't have any minified file published. By default, the theme.js.liquid is minified because it gives better speed results. But each theme version also have the normal (un-minified) version of this file, called theme-debug.js.liquid. To edit the Javascript of your theme, simply copy the javascript (all the content) in the file theme-debug.js.liquid and paste it in the file theme.js.liquid.

Go to Theme > More Actions > Edit code and find the files called theme-debug.js.liquid and theme.js.liquid.

    • Related Articles

    • Latest releases of the Konversion theme

      Versioning logic - Version X.Y.Z X means a major change in theme due to a change in Shopify's core Y means a big enough change that involves new key features and/or big change/fix X means small bug fixes and small features release. Make sure you have ...
    • How to update the Konversion theme to the newest version

      When you purchase the theme, you get a download link. This link always provides the most up to date version of the theme. Which means, when we push new features, you can access them for free by re-downloading the theme via your unique download link. ...
    • How to upload and publish the Calendar theme in your shopify store

      Shopify article here about Installing and previewing themes 1. Download the theme (automatically after purchase, via your download link or via JvZoo.com) 2. Upload the theme on your store 3. Publish the theme 4. Find the license key inside the theme ...
    • How to manually insert upsells inside your theme on Shopify

      Grab the snippet to insert it in any theme file: https://tabarnapp.com/manually-insert-upsells-inside-theme-shopify/ Use case example of an upsell in a blog post: https://tabarnapp.com/sell-products-inside-any-page-or-blog-post-on-shopify/
    • Add custom content on Konversion's theme homepage

      Go to Theme -  Customize Theme - Sections - Add section - Custom content.