Embed amazon affiliate link with image - can't link and can't see the amazon product

Question:
Hello,
I am trying to link on my wix website a https link from amazon affiliate and I can’t make it work. I want to import the link with the image product from amazon.

Here’s an image of what happens when I try to do it.

Thank you in advance for your help.

1 Like

The link will open another webpage?

  1. Activate the DEV-MODE in the Wix-Editor of your choice.
  2. If not already done, add an HTML-Component onto your page (iFrame)).
  3. Add the following code to the code-section of your page…
  4. Replace the URL with your own.
  5. Publish website.
  6. Test it.
  7. Have fun.
$w.onReady(()=>{
    $w("#myHtmlComponentIDhere").src = "https://en.wikipedia.org/wiki/HTTPS";
});

Hi!
thank you for your quick response and your help. I’m a beginner in coding…
I tried copying the code you suggested but end up with the same problem and result. Here’s what I did. I receive a message on the HTML component that amazon.com doesn’t autorize the connexion.

Test it with a simple urlhttp://www.goole.com
Does it work?

Next step: → Test your link manually, adding it directly to a webbrowsers input.
Did it work?

Try to find out what exactly causes the issue and and which checkpoint.