Embedded javascript code not working
-
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="https://store.myshopify.com">click here</a> to visit my <a href="https://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 https://remysoft.wsoa.biz/store/Thank you so much
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Embedded javascript code not working’ is closed to new replies.