Overview
Ecwid offers many configuration settings to change the website's look and feel. You can apply these settings dynamically through the JavaScript code based on specific conditions or set them in the HTML code.
Apply configuration with JavaScript code
With JavaScript code, you can apply configuration settings dynamically.
It grants you more flexibility if you, for example, have several storefronts. However, you need to set up a custom application with a self-hosted JS file. Learn how to set up a JavaScript file in the Quickstart guide.
Once set up, use the following code example to set up configuration settings:
Apply configuration with HTML code
To always apply configuration settings without any JS code, you need access to the website's HTML code.
Search https://app.ecwid.com/script.js
to find where Ecwid script is called in the code and add configuration settings inside a <script>
block right below it.
Code example:
Last updated
Was this helpful?