JavaScript
Last updated
Last updated
In this section you can create or paste in your own JavaScript to make available in the shop. You name your script, specify what and where the script should be active. An example of the supported variables can be found at the bottom of the page.
Use caution - Incorrect use of this functionality may have negative consequences.
Feature | What it does |
---|---|
Label | Name this script so you can identify it in your list of JavaScript. |
Sort order | Set the order you want your script to run in (lowest number first). |
Desktop | Allows this script to run in "Classic" stores. |
Responsive | Allows this script to run in RWD stores. |
Connected to graphical profile | Connect to a specific graphical profile (running multiple profiles is only availble via our BOLT-ON). |
Customer connected | Allows this script to only run on selected customers |
Test | Place this script in test mode so it can only be executed when the Admin is in test mode. |
Script | This is where you place your custom script. |
Page | Select the pages in the store you want your script to run. |
Location in page | Choose where on the selected pages you want the script to execute. |