• I am trying to integrate Shopify Buy Button to this site – I did not create the site, simply working on the back end of things. I tested this a few weeks ago by inserting an html block and it worked and displayed successfully. Now, I am adding the block and it does not show anything whatsoever in preview or on the page.

    It also does show a plugin error of “IPS” which I’m not sure if is related whenever I go in to edit a page.

    Any help would be great, happy to provide more info as it becomes helpful.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • @andrewferren I’m seeing a JavaScript security error when I open the page you linked to. https://d.pr/i/K1dpti

    My guess is there might be some additional configuration needed or a different Shopify Buy button code to add. I’d recommend reaching out to their support to see what might be missing.

    It’s possible that some of the HTML was copy/pasted incorrectly or saved incorrectly, so double-check what is saved in the post is the HTML that was provided by Shopify.

    Thread Starter andrewferren

    (@andrewferren)

    I had the same code snippet working on the same site with no additional configuration previously, and I also tested that piece of code in a squarespace site I manage yesterday and it worked fine in there as well, so it doesnt seem to be the case, but I can certainly go that route too, just assuming its something related to WP presently

    It could very well have something to do with what WordPress is doing with the snippet, but I’d recommend looking into the cause of that security error. It may be that your hosting company recently added this security policy which is affecting the page. generally those security policies are implemented on the server level.

    I did a quick Google search and it seems like a common issue with Shopify buttons, but I don’t see a solution in this thread https://community.shopify.com/c/shopify-discussions/checkout-page-js-error-refuse-to-load-the-script-content/td-p/695157. Perhaps you could search the tread a little more and see if there’s a solution somewhere.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTML Block showing nothing’ is closed to new replies.