Enable javascript

  • annvb1

    #4459

    Hi – I’m working with shopify and want to use their widget that is supposed to let me drop the store inside my wordpress site. It’s not working, apparently because I have to “enable javascript” for my graphene site first. Here’s the embed code: notice that the no-script notice at the end says to be sure to enable javascript. I’ve googled how to enable javascript on a wordpress site but I don’t quite understand the instructions I found. Thanks so much.


    <script type="text/javascript">
    var ShopifyStoreConfig = {shop:"dhanaecokids.myshopify.com", collections:[7422518,7423254,7423270,7423262,7423274,7423284,7423278]};
    (function() {
    var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true;
    s.src = "http://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://dhanaecokids.myshopify.com">click here</a> to visit my <a href="http://www.shopify.com">ecommerce web site</a> powered by Shopify.</noscript>

    ronangelo

    #28286

    I think java scripts are enabled or disabled on the browser instead of wordpress themes.

    where exactly are you adding this code? templates? widgets?

    Mod

    Kenneth John Odle

    #28287

    Yes, enabling Javascript is a browser issue. It also needs to be installed on your computer first.

    Please enclose code between backticks (http://bit.ly/backtick) or between <code> and </code> tags. Raw code can sometimes wreak havoc.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!