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?
- Activate the DEV-MODE in the Wix-Editor of your choice.
- If not already done, add an HTML-Component onto your page (iFrame)).
- Add the following code to the code-section of your page…
- Replace the URL with your own.
- Publish website.
- Test it.
- 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 url → http://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.