Megento: Working with JavaScript-I

Method 1: Upload JavaScript Files

1. From the Admin panel, select Design > Theme Editor.

2. In the Theme Editor, below the thumbnail for the theme you are working with,
click Customize.

3. In the Theme Customization panel on the left, select Java Script Editor.

4. In the Theme JavaScript section, do the following:

a. Click the Browse Files button to select the JavaScript file from your computer. Repeat this step to add the path to every JavaScript file that you want to upload. To upload multiple JavaScript files, first add each file, and then upload them all at once—you don’t need to upload each file separately.

b. Click the Upload Files button to upload the JavaScript file to your store. After the file is uploaded, the JavaScript will be available to all pages.

5. Click the Save button to save your changes.

0 comments: