Widget consists of HTML-code which you embed on your web page, and it implements some functionality. All you need to do is get widget code from product page and then embed it to your website or blog.
Template {if $wa->shop}{if (class_exists("shopWidgetsPlugin"))}{shopWidgetsPlugin::display()}{/if}{/if} is allowed to use in design templates and app pages. All links are connected to source domain main storefront. For blog posts you should use iframe.
Template examples
{if $wa->shop}{if (class_exists("shopWidgetsPlugin"))}
{shopWidgetsPlugin::display(2731)}
{/if}{/if}
Adds template for product with id 2731.
{if $wa->shop}{if (class_exists("shopWidgetsPlugin"))}
{shopWidgetsPlugin::display(2731)}
{shopWidgetsPlugin::display(2730)}
{/if}{/if}
Adds template for products with id 2731 and 2730.