Showing product pictures on other sites

Last updated

Sometime you may need to show the 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=""></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.

<div> <script type="text/javascript" src=""></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
Has the article answered your question?