View
 

MODx

Page history last edited by Eugene 2 years, 3 months ago

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:
 
- get your free Ecwid Store ID: instruction on how to get it
- add the following snippet code:
 
[[ecwid? store_id=`STORE_ID`]]
 
where STORE_ID is your actual id. For example:
 
[[ecwid? store_id=`1003`]]