• Hello folks!

    I have a small JS snippet from Shopify that is used for embedding their store into WP page.Code goes like this:

    <script type="text/javascript">
      var ShopifyStoreConfig = {shop:"store.myshopify.com", collections:[14356361]};
      (function() {
        var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true;
        s.src = "//widgets.shopifyapps.com/assets/shopifystore.js";
        var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
      })();
    </script>
    <noscript>Please enable javascript, or <a href="http://store.myshopify.com">click here</a> to visit my <a href="http://www.shopify.com/tour/ecommerce-website">ecommerce web site</a> powered by Shopify.</noscript>

    I have tried adding that code to the page via txt view, that didnt worked, so i created new template and pasted the code there, and again, it isnt working.

    When the source code is checked, JS snippet is there, but not working/showing anything…

    Any advices?
    Link to the page is http://remysoft.wsoa.biz/store/

    Thank you so much

Viewing 1 replies (of 1 total)
  • I’m not sure what trouble you’re having. When I click the Shopify link, I see a child window with three products in it, so the Java script does appear to be working.

    Do you have Java enabled on your browser?

Viewing 1 replies (of 1 total)
  • The topic ‘Embedded javascript code not working’ is closed to new replies.