• Resolved ashtonej

    (@ashtonej)


    This code

    <div class=”ecwid ecwid-SingleProduct ecwid-Product ecwid-Product-52255703″ itemscope itemtype=”http://schema.org/Product&#8221; data-single-product-id=”52255703″><div itemprop=”image”></div><div class=”ecwid-title” itemprop=”name”></div><div itemtype=”http://schema.org/Offer&#8221; itemscope itemprop=”offers”><div class=”ecwid-productBrowser-price ecwid-price” itemprop=”price”></div></div><div customprop=”options”></div><div customprop=”addtobag”></div></div><script type=”text/javascript” src=”https://app.ecwid.com/script.js?7138349&data_platform=singleproduct&#8221; charset=”utf-8″></script><script type=”text/javascript”>xSingleProduct()</script>

    does not work at all in a wordpress side bar. I have tried all the plugins that allow javascript to run in sidebar widgets and none of them can get this code to display. I even tried just embedding the html part in a text widget and putting the javascript in the footer, but that didn’t work either.

    Is there an alternative way to do this as I would like to have a “Buy” widget on the product detail page?

    https://ww.wp.xz.cn/plugins/ecwid-shopping-cart/

Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘ecwid embed single product widget does not work in WordPress’ is closed to new replies.