How to install Ecwid snippet for MODx
Copy the 'ecwid' directory(with all files) from the archive to the 'assets/snippets' folder.
Then copy the whole content of ecwid.snippet.php into a new snippet, name it ecwid and place [[ecwid]] on any resource/page. If you open it, you see demo products. In order to set your own products up you should:
- add the following snippet code:
[[ecwid? store_id=`STORE_ID`]]
where STORE_ID is your actual id. For example:
[[ecwid? store_id=`1003`]]