skip to Main Content

I would like to be able to put a website with Woo commerce 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?

2

Answers


  1. Chosen as BEST ANSWER

    I have done it through a Wordpress plugin, I attach an image enter image description here


  2. I think adding this in the PHP configuration works:

    Header always edit Set-Cookie (. *) "$ 1; SameSite = None; Secure

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search