How to show product pictures on other sites

Last updated

Sometime you may need to show pics of your Ecwid products on other sites. You can always grab and use a direct image link for that. But if you upload a new product the image the link will be changed. So the old link will become invalid.
 
So there's another option - to use a special widget to show product thumbnail. You can get it from the "single product" widget.
The code of an image widget looks like this: 


<div> <script type="text/javascript" src="http://app.ecwid.com/script.js?STORE_ID"></script> <script type="text/javascript">xProductThumbnail('productid=PRODUCT_ID');</script> </div> 

Where STORE_ID is the id of your store and PRODUCT_ID is the id of the product.
 
Example: 


<div> <script type="text/javascript" src="http://app.ecwid.com/script.js?1003"></script> <script type="text/javascript">xProductThumbnail('productid=24027');</script> </div>&n

24027 is the id of the Ecwid Men's T-Shirt from our demo store.

 
Back to top
Was this article helpful? 0 out of 1 found this helpful