Hi there,
is this plugin still supported? Will it be updated? It seems to be abendoned.
Unable to connect to API
AWS Request Failed, please check keys – Error Message: AWS query failed to get a response – try again later.
]]>We are interested in porting the plugin to API 5.
Can we have a copy of the source for analysis?
]]>Hi Paul,
Thanks for the plugin. I write this new post because the topic of my last post is closed to comments.
Here is the previous question and your answer which i hadn’t read before.
https://www.ads-software.com/support/topic/shortcode-573/
I am interested in an other shortcode yes, for example [azlink] instead of [amazon].
Sorry for the delay ??
Thanks and to you soon.
Ronan
]]>Hello Team,
Request you to please look into this urgently. The images were appearing fine till yesterday for all the products wherever added. But today I am not able to see the images for any of the products anywhere. The cache is turned on. The secret keys have also been added. I have turned on the Debug mode, but not able to see any errors. Instead of product image I can see the image for “No image available”. Please suggest what could be the problem behind this.
]]>Je veux créer un template ‘iframe image’ en utilisant du texte recherché au lien du code ASIN. Pour faire en sorte que ce soit comme lorsque l’on rentre sur le site d’Amazon et en inscrivant du texte à rechercher au lien d’un code ASIN.
Et, j’aimerais qu’une image du premier produit trouvé apparaisse.
Est-ce que c’est possible ?
Merci de votre collaboration…
Hi @paulstuttard,
I noticed here that you are not planning to update the plugin for PA API 5. I just released a plugin for PA API 5 and made it so that it’s easy to migrate from your plugin. It picks shortcodes from your plugin and displays products. I tested with the following shortcodes:
[amazon asin=<ASIN Number>&text=<link text>]
[amazon asin=<ASIN Number>&title=<link text>&thumb=<image url>&template=thumbnail]
The plugin for sure doesn’t have as many features as yours, but it’s a basic solution for anybody who might need to urgently migrate after PA API 4 stops working.
Documentation and installation instructions are available here.
Thanks for maintaining this plugin all these years and if you at any time decide to resume, feel free to use my code.
Regards,
Blaz
i there – good day – dear Paul, dear Developers and users,
first of all – i really like the Amazon Plugin. is is so great.
i want to have some extra featurs:
what i am after is the following: Pulling Amazon Rating Stars, Rating Count and Product reviews with Product Advertising API : What I am after is being able to pull just the stars, and the amount of reviews for a given product WITHOUT breaking the TOS of Amazon. I do not want to display all of the reviews
– but a part of them (i.e. the reviews) would be nice.,
and such that are inside of the iframe that they let you use. I am able to display the iframe, but I don’t need to display that much information. A Iframe is pretty awful. There much better solutions i guess.
So to be clear, I just want the Stars and the # of reviews (the average customer review, and # of reviews). i want to go the extra mile and tell me how, I’d really appreciate knowing how via PHP! If this is against the TOS, that’s all Id really need to know. If it is, I’d love it if someone could provide me a link to where it says that it IS against the TOS.
Thanks for any and all help! It’s always appreciated.
to sume it up: don’t know about the TOS, but to do that in php, if there is no official api, we can use simple_html_dom: https://simplehtmldom.sourceforge.net/
<?php
define('MAX_FILE_SIZE', 6000000);
include './simple_html_dom.php';
//Your product amazon's url
$url = 'https://www.amazon.com/SOL-REPUBLIC-1112-31-Headphones-1-Button/dp/B00COOVLMQ/ref=sr_1_1?s=fiona-hardware&ie=UTF8&qid=1470197678&sr=8-1&keywords=sol+republic';
$html = file_get_html($url);
$review_section = $html->find('#averageCustomerReviews',0);
$stars = $review_section->find('#reviewStarsLinkedCustomerReviews',0)->plaintext;
preg_match('/\d+\.{0,1}\d*/',$stars,$match);
echo "Stars: ".$match[0]; //Shoud be stars
echo "<br />";
$reviews = $review_section->find('#acrCustomerReviewText',0)->plaintext;
preg_match('/\d+/',$reviews,$match);
echo "Reviews: ".$match[0] //Shoud be reviews number
?>
any ideas about more apropiate ways methods and options for doing that and achieving that
]]>Is there a way to access Amazon Fresh products via the shortcode? The regular link and the Fresh link share the same ASIN number. Thanks in advance!
]]>Hi, I’ve used this great plugin happily for a long time. I’ve done a major upgrade of the website and the plugin is not rendering the short codes on the new site. The old version continues to work just fine.
The issue is with all browsers.
Both sites are WP 5.3.2.
New: https://petercorke.com/newsite/resources/interesting-books
Old: https://petercorke.com/wordpress/resources/interesting-books
The settings are identical, the AWS credentials are validated, it’s just not rendering. Any hints or clues about what might be going on, or how to debug it. would be appreciated. Thanks,
]]>Hi Paul
I have started a brand new website and have added your plug in. When I give an ASIN and click Insert Link nothing happens even if choose anything like image,Add to Cart etc. What could have I missed please? I have filled the relevant details in the Settings part.
Thank you
]]>When I put an image URL like
https://mysite.net/wp-content/uploads/2020/01/B0833XGVBP-188×300.jpg
it gets converted to
https://mysite.net/wp-content/uploads/2020/01/B0833XGVBP-188%C3%97300.jpg
This breaks the URL and the image does not display. Any help with the issue would be appreciated
]]>Hi!
Great plugin.
I’m trying to host the product images and thumbnails in my WordPress Media library.
I’m not sure how to mark the images in my media library with an Amazon ASIN.
I’ve turned on the “Use Media Library” settings. The description in settings says “The plugin will look for and use thumbnails and images in the WordPress media library that are marked with an Amazon ASIN.”
I’ve renamed the image to by [actualASIN].jpg and I put the ASIN in the title attribute in the media library … but either way the plugin doesn’t select the image.
I think I’m simply missing how to mark the image properly. Can you help?
Steve
]]>Hi – my short codes are working fine but I also want to bring in a link in a text paragraph that is just the current price. e.g. The box costs $22.95 where the $22.95 is brought in live from Amazon.
I can see live prices in some of the templates, but I want just the price itself (not with the image, etc)
How do I do this ?
Hi Paul,
Question: I’ve been getting emails from Amazon for the last few weeks about upgrading to Amazon Product Advertising API 5, and that previous versions will stop working on October 31, 2019.
Is this something that affects the Amazon Link plugin, and if so, is it compatible with version 5 already?
Thanks!
]]>I got a “bad request” error when I clicked the link from the plugin settings page. Just FYI. Had to Google correct link.
]]>I’ve just installed the extra plugin Amazon Link Extra – Images, and as soon as I activated it, WP just got broken, can’t even get to the login page.
I’m using WP v5.2.2 with PHP v7.3
This was the error I received:
Error Details
=============
An error of type E_ERROR was caused in line 150 of the file .../public_html/buscandosetas/wp-content/plugins/amazon-link-images.php. Error message: Uncaught Error: Using $this when not in object context in .../public_html/buscandosetas/wp-content/plugins/amazon-link-images.php:150
Stack trace:
#0 .../public_html/buscandosetas/wp-includes/class-wp-hook.php(286): alx_images_option_list(Array)
#1 .../public_html/buscandosetas/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
#2 .../public_html/buscandosetas/wp-content/plugins/amazon-link/amazon.php(498): apply_filters('amazon_link_opt...', Array)
#3 .../public_html/buscandosetas/wp-content/plugins/amazon-link/include/amazon-link-admin-support.php(570): AmazonWishlist_For_WordPress->get_option_list(Array)
#4 .../public_html/buscandosetas/wp-content/plugins/amazon-link/amazon.php(548): Amazon_Link_Admin_Support->get_option_list()
#5 .../public_html/buscandosetas/wp-content/plugins/amazon-link/include/amazon-link-admin-support.php(737): AmazonWishlist_For_WordPress->get_default_settings()
I solved it by getting into my WP via ssh, and removing the “public_html/buscandosetas/wp-content/plugins/amazon-link-images.php” file.
]]>Amazon Link add on has been absolutely wonderful for so long… and then recently (last week or two) it has stopped displaying “related books” on the live WP pages
Using short code: [amazon template=related books&asin=0143131931]
I tried deactivating all my plug ins except amazon link. No change.
Here’s my custom template code (that used to work quite nicely):
<div class="al_found%FOUND%">
<div class="amazon_prod">
<div class="amazon_img_container">
%LINK_OPEN%<img class="%IMAGE_CLASS%" src="%THUMB%">%LINK_CLOSE%
</div>
<div class="amazon_text_container">
<p><strong>%LINK_OPEN%%TITLE%%LINK_CLOSE%</strong></p>
<div class="amazon_details">
<p>by %ARTIST% </p>
</div>
</div>
</div>
<img src="https://www.assoc-amazon.%TLD%/e/ir?t=%TAG%&l=as2&o=%MPLACE_ID%&a=%ASIN%" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
</div>
]]>
Hi,
I’d like to say first off that this for me has been the best plugin for amazon i’ve ever seen! So thank you!!
I hope this is possible as I’ve tried to do this myself and failed.
I want to add the product ASIN number into a custom meta field called “AmazonAsin”
I then want add that into the shortcode below.
if (function_exists('amazon_shortcode')) echo amazon_shortcode("asin=B006J73UUA&template=Template");
For Example
if (function_exists('amazon_shortcode')) echo amazon_shortcode("asin= ''. echo get_post_meta($postid, 'AmazonAsin', true); . '' &template=Template");
Thanks again for the plugin and I look forward to hearing from you!
J
]]>Is it possible to use a more frequently updated database than the currently supported ip2nation? It’s been almost a year since the last update.
Suggestion: https://dev.maxmind.com/geoip/geoip2/geolite2/
They have a free database as well which is updated every 30 days.
Is there a way to integrate that one as an alternative?
Or maybe some other workaround to use that database together with your plugin?
Thanks!
]]>Hey Paul,
all my website content is served from KeyCDN as static content, so I’m wondering if your plugin even works in this setup?
I’m aware that other Geo locator solutions “solve” this issue by disabling caching for posts and pages where the location needs to be located. But this is not a viable solution for me, since fast load times from the CDN have priority.
How does your plugin behave in this environment?
Is it possible to only dynamically the content related to the plugin’s shortcuts, but have the rest of the site loaded from cache?
Thanks for any advice on this!
]]>Hi!
quick question: is it possible to output the country flag via shortcode?
Example:
“Buy now on Amazon U.S.”
“Buy now on Amazon Spain”
with each of these links displaying the respective country flag?
I’m thinking this should be possible because the country flags are already part of the plugin and automatically displayed when enabling the multinational link feature.
It would be great if the flags could be used with greater flexibility without the multinational link feature.
Thanks a lot!
]]>Hi Paul,
thanks a bunch for such a great plugin!
I do have a specific question about the way localization actually works as I couldn’t find details on that.
Let’s consider the simple situation where I have 2 Amazon associate accounts, US and Germany. US is the default country in this scenario.
Now, when localization is enabled, and someone is detected as being in the US or Germany, they obviously get the respective country link.
So far, so good.
But:
What happens if someone from a neighboring country visits the site?
1) Let’s say someone from Spain visits the site. I personally would actually find it much more useful to send them to the German site (since shipping costs are not that bad compared to orderding from the US), but from what I understand, the plugin would send them to the US store.
2) In case your answer to 1) is to sign up for the Spanish associate program, let’s say someone from Portugal visits. They should also be sent to the nearest available Amazon store (which would be Germany as opposed to the US). Correct?
3) And finally, let’s say someone from Chile visits, how is the country they see being determined?
I guess all those examples have in common whether or not there is some sort of “proximity logic” in place to determine the nearest neighbor marketplace, in case the visiting country itself doesn’t have an Amazon marketplace.
Thanks for a clarification!
best,
Flo
Hi,
I have had issues with a main plugin that I use called Advanced Classifieds and Directory Pro by PluginsWare on my site. The author has taken a look and it appears the problem is caused by a conflict with the Amazon Link plugin which when activated causes a 403 error page to display when attempting to approve new or edited member listings. This issue does not occur when the Amazon Link plugin is deactivated which I have done for now but would be good to have a fix as they used to work together.
Thanks
<?php
// fix shortcode [amazon ] not work in post excerpt such as woocommerce short description
add_action( 'amazon_link_init', function ( $settings, $awlfw ) {
add_filter( 'the_post', function ( $post ) use ( $awlfw ) {
$post->post_excerpt = $awlfw->content_filter( $post->post_excerpt );
return $post;
} );
}, 10, 2 );
]]>
Hello Paul,
Thanks for this very helpful plugin!
In the latest update, I’m having the variable “SubscriptionId” added to all generated links (at the end), even if I haven’t entered the AWS keys (I’ve left these fields blank in the setup page).
Here is an example:
…&creativeASIN=xxxxxxx&SubscriptionId=%PUB_KEY%
Any idea about how I can remove this variable?
Thank you very much!
]]>Everything works fine with EU calls, but if I either set the default country to United States or localise a link using “us”, it all comes back blank.
Is this an AWS thing or something else we have set incorrectly?
]]>I just upgraded to WordPress 5.1 and the links don’t appear any more. Are there any plans to upgrade the plugin to work with 5.1?
]]>Hi,
I just noticed the links that should be localised are showing only for ES. I am in Germany, show they should point to Amazon.de. I already checked the ASIN is available in both countries.
Can it be caused because I activated the links cache from the plugin? I had also a general cache plugin and I thought it was that, but I already deactivated it till I find a workaround, and all the links still point to amazon.es.
]]>I’m suddenly getting the following error, despite not making frequent requests. I’ve refreshed my API keys to no avail. This issue is stopping me from making searches and adding more ads to my pages.
AWS Request Failed, please check keys – Error Message: AWS Access Key ID: xxxxxx. You are submitting requests too quickly. Please retry your requests at a slower rate.
Any help much appreciated!
]]>