Support » Plugins and Hacks » Amazon Link » Plugin does not display multiple prices

Plugin does not display multiple prices

  • Hi,

    Thanks for a great plugin.

    I cannot seem to get it to display prices form multiple countries. I have entered all my AWS keys correctly and created a multinational template:

    <div class="amazon_prod">
      <div class="amazon_img_container">
       %LINK_OPEN%<img class="%IMAGE_CLASS%" src="%THUMB%">%LINK_CLOSE%
      <div class="amazon_text_container">
       <div class="amazon_details">
         <p>by %ARTIST%<br />
         <b>Price: <span class="amazon_price">
    <span class="al_found%FOUND%uk#">%LINK_OPEN%uk# <img height=10px src="%FLAG%uk#"> %PRICE%uk#%LINK_CLOSE%</span>
    <span class="al_found%FOUND%US#">%LINK_OPEN%US# <img height=10px src="%FLAG%US#"> %PRICE%US#%LINK_CLOSE%</span>
    <span class="al_found%FOUND%fr#">%LINK_OPEN%FR# <img height=10px src="%FLAG%fr#"> %PRICE%FR#%LINK_CLOSE%</span>
    <span class="al_found%FOUND%de#">%LINK_OPEN%de# <img height=10px src="%FLAG%de#"> %PRICE%DE#%LINK_CLOSE%</span>
    <img src="http://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;" />

    When I insert the link by psting the ISIN numnber in the boxes a underneath my product post I get a result where the flags are to lareg and the prices are not showing up. Its also seems to be constantly updating the page with the spinning icon. Is this normal?

    Here’s a sample of the page we are getting:

    Any idea what I’m doing wrong?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author paulstuttard



    Thanks for trying the plugin, I really don’t know why the flag images are not 10px high, could be something in your theme. Another way to change the height would be to use css, something like: <img style="height:10px" src="%FLAG%uk#"> might work better?

    I had a look at your page, I did not experience the spinning icon issue, could be a browser specific problem?

    Unfortunately Amazon don’t seem to allow access to the price of Kindle items. Have a play around with the Amazon API Scratchpad to see if you can find an element that contains the price: http://associates-amazon.s3.amazonaws.com/scratchpad/index.html

    You could manually specify the prices, but Amazon aren’t too happy with that either (can’t win).

    Not much help I’m afraid!


    Plugin Author paulstuttard



    Had a further look at this and quite often Amazon.com does not provide any price information at all. Not sure if this is because Amazon detects which country you browse from and refuses to show the price if it thinks you should buy from another locale.

    Anyway I wrote a really iffy plugin that grabs the Kindle prices and I retrieved the following for your first item (ASIN=B00CBNBWG0):

    FR:EUR 3,54
    DE:EUR 3,54
    CA:CDN$ 4.55
    JP: 436

    For IT and ES they return the equivalent of ‘Pricing information not available’. To me it stinks of pricing cartel – If I view the same pages via a proxy I do get a price…



    Paul thats brilliant thanks…can I use this ‘iffy’ plugin? Or is it built into an update to the current one?

    Plugin Author paulstuttard



    Desperately trying to get the next version of the plugin released, its been so long since the last version it has turned into quite a mammoth update. Bit concerned that it will break people’s WordPress sites.

    The addon to get the kindle prices probably will only work with the ‘latest’ pre-release version: http://downloads.wordpress.org/plugin/amazon-link.3.1.0-rc6.zip

    Using the cache is essential as it basically fetches the Amazon product offers page and searches for the price somewhere on the page – it takes quiet a while if you do all 8 sites.

    If you still want the kindle price hack then let me know and I’ll put a link here.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin does not display multiple prices’ is closed to new replies.
Skip to toolbar