paulstuttard
Forum Replies Created
-
Forum: Plugins
In reply to: [Amazon Link] Localisation not workingHi,
Sorry, busy week.
Clutching at straws, are you/the host using Cloudflare?
Can you add a file (e.g. info.php) on your site that contains:
info.php:
<?php phpinfo(); ?>
Browse the new page info.php and check for:
$_SERVER["HTTP_CF_IPCOUNTRY"]
$_SERVER['REMOTE_ADDR']
If the first exists it _should_ be your country, if the second exists it should be your IP address. Enter the IP address in the ‘Check IP’ prompt at this web page: https://ip2nation.com/ it should be your country.
Don’t forget to delete the info.php file.
Paul
Forum: Plugins
In reply to: [Amazon Link] Localisation not workingHi,
If you are using any caching plugin, that might have cached the US version of the page, stopping localisation working.
If a product is not available in the local of the user then it will show the default country version of the product.
Double check on the settings page that localisation is enabled ‘Localise Amazon Link’ setting is checked.
Check that all locales are enabled under the ‘Enabled Countries’ setting.
When you install the ip2nation database do you get the message
ip2nation install: Database downloaded and installed successfully. 63649 queries executed.
Try installing the ‘spoof locale’ extras plugin and then adding
?spoof_locale=uk
to the end of the site URL. e.g. https://guerric.co.uk/reading-list/?spoof_locale=ukHope that helps,
Paul
Forum: Plugins
In reply to: [Auto Affiliate Links] Can this Plugin add aff id to existing links?EDIT: Sorry wrong plugin.
For reference this used to do what your asking…
https://github.com/joshbuchea/amazon-affiliate-link-localizer
Paul
- This reply was modified 6 years ago by paulstuttard.
Forum: Plugins
In reply to: [Amazon Link] Images and Product Data Not LoadingAmazon are being a bit tighter with the link up between the affiliate account and the advertising API account, so it might make a difference.
Try to use the old and the new ones on the Amazon Scratchpad, see if it works okay:
https://webservices.amazon.co.uk/scratchpad/index.html#
However I just tried to use the affiliate tag ‘invalid_tag’ and it still worked! so I guess it does not check. But it’s a useful check to see if your keys are valid.
I’ve sent an email to electrickiwi.
Paul
Forum: Plugins
In reply to: [Amazon Link] Images and Product Data Not LoadingHi,
Is this the first time you have used the plugin? Or has it been working in the past and has stopped working?
Do you have valid AWS Advertising API keys?
Paul
Forum: Plugins
In reply to: [Amazon Link] Images not updatingOk,
The plugin is retrieving the correct images as far as I can tell. On my site I get the two images shown here: https://www.amazon.co.uk/dp/B00R5DSC2I
If you have flushed the cache from the Amazon Link plugin settings page then it should get the new image.
Do you have any other WordPress ‘cache’ plugin running, that could have cached the whole page?
Paul
- This reply was modified 6 years, 1 month ago by paulstuttard.
Forum: Plugins
In reply to: [Amazon Link] Images not updatingHi,
Can you tell me the ASIN of the product that is not working? I’ll try it on my site.
Paul
Forum: Plugins
In reply to: [Amazon Link] type: Multi (template)You can put multiple ASIN’s in a shortcode and the plugin will automatically create two instances of the template.
[amazon asin=0123456789,9876543210&template=image]
I also did an extra plugin that allowed you to embed one template inside another one, so you could do a container template then inside expand several smaller templates. This was to create a ‘slider/carousel’ affect.
Based on jcarousel. So the container template was something like:
Name: Slider
Type: Multi
Content:<div class="slider_container"> <div>%TEXT%</div> <div class="jcarousel"> <ul> %T_SLIDER_ITEM% </ul> </div> <a href="#" class="jcarousel-control-prev"> ? </a> <a href="#" class="jcarousel-control-next"> ? </a> </div>
Then it contains the Slider Item:
Name: Slider Item
Type: Product
Content:<li class="al_found%FOUND%"> <div class="slider_img"> %LINK_OPEN%<img alt="%TITLE%" title="%TITLE%" src="%THUMB%" class="slider_img">%LINK_CLOSE% </div> <div style="font-size:80%"> <b>%ARTIST%</b></br> %TITLE%</bR> %RATING_LINK%</br> %LINK_OPEN%<img src="%BUY_BUTTON%">%LINK_CLOSE% </div> </li>
Forum: Plugins
In reply to: [Amazon Link] No Image AvailableIf you use the iframe template it should work as that is done using Amazon’s own javascript.
However for the other templates (image, thumbnail, wishlist, multinational), it needs to be able to find the image. To do that you need the AWS keys, or you can manually specify the image url if you know it in the shortcode.
Paul
Forum: Plugins
In reply to: [Amazon Link] Can I view the templates somewhere?Hi,
I’m no CSS/HTML wizard so there are only a handful of templates I’ve included with the plugin (wishlist & multinational, thumbnail and image).
There are also some Amazon hosted/provided ones (Carousel, iframe, My Favourites).
I’ve put them all on this page:
https://houseindorset.co.uk/plugins/amazon-link/technical/template-preview/
Paul
Forum: Plugins
In reply to: [Amazon Link] Can this be used to pull in product images for Woocommerce?Hi, Sorry there is no automatic way to load a larger number of images from Amazon on to your own media library. It is possible to do them one at a time, but not sure that is what you want?
Paul
Forum: Plugins
In reply to: [Amazon Link] Search template feature request: Sort by User Rating (4+ first)Hi,
Do you mean the current ‘search’ template that is installed by default with the plugin? If so this is based on javascript hosted on Amazon’s own servers, which unfortunately can not be changed. I don’t think it has a built in option to change the way items are sorted?
Paul
Forum: Plugins
In reply to: [Amazon Link] Error when no image and httpsOk, good spot – thanks, that will be fixed in the next version.
Paul
Forum: Plugins
In reply to: [Amazon Link] No widgets rendering.Hi,
I just tried the search widget on uk, us and de locales seemed to work okay, I did have to re-install the search template though. Looking at your page, it is rendering as though it has not recognised the template, is it installed?
Paul
Forum: Plugins
In reply to: [Amazon Link] Install the plugin without an associate ID?Hi,
Localisation should not rely on the Associate IDs. If the ip2nation database is installed and localisation is enabled then the plugin will attempt to localise all links.
You can test localisation (of the template you are using), by installing the extra plugin ‘Amazon Link Extra – Spoof Locale’ then adding the string
?spoof_locale=fr
to any pages URL to spoof the localisation (in this case to France).Which template are you using?
Paul