• Resolved jorgert

    (@jorgert)


    I would like to be able to put a website with Woocommerce in an iframe so that people buy products as if it were on my website, The website where the iframe goes does not have to be a WordPress installation. The problem is that when navigating inside the iframe in the tests that I have done, problems with directives “X-Frame-Options”, “Access-Control-Allow-Origin” and “Content-Security-Policy” appear that do not allow navigation. How can this be resolved?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @jorgert,

    The problems you’ve highlighted are security settings/restrictions set on the website.

    You’d have to disable the settings. Some sites use a plugin to implement this while others configure this on the webserver (e.g using .htaccess file).

    If you have access to the site, I’d recommend going through your security plugin settings and contacting your web host for assistance.

    I hope this helps!

    Thread Starter jorgert

    (@jorgert)

    After installing an HTTP headers plugin and configuring it, I get this message: The loading of “https://www.divertisenvivo.com/terminar-compra/” in a frame has been denied by the directive “X-Frame-Options “Established in” SAMEORIGIN “

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @jorgert

    You’ll need to contact your web host for help with that. Here is an article to help you get started: https://kinsta.com/blog/wordpress-iframe/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show a Woocommerce product on another page other than a WordPress installation’ is closed to new replies.