• Hi Paul,

    thank you for this awesome plugin! I’m a novice in wordpress and I’m struggling with 2 issues.

    1) I’m using next template which suits my needs the best:

    <div style="text-align:center;font-size:100%">
    <div class="al_found%FOUND%">
     %LINK_OPEN%<img alt="%TITLE%" title="%TITLE%" src="%IMAGE%" class="%IMAGE_CLASS%">%LINK_CLOSE%
    <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;" />
     </div>
    <div style="text-align:center;font-size:100%">
      %LINK_OPEN%
       %TITLE%
      %LINK_CLOSE%
     </div>
    
    %LINK_OPEN%
    <img src="http://url"
      %LINK_CLOSE%
     </div>

    I am wondering if there is any possibility to make this template localized. So it would for example open amazon.co.uk for users from United Kingdom. I have tried through UK web proxy but it always opens amazon.com
    Any advice is appreciated!

    2) If product which I am linking to is not in stock on amazon.com, the image is not shown. It shows “no image”. Is there any possiblity to set custom image when the product is not in stock on amazon.com or that the plugin would retrieve images from different amazons?

    Thank you in advance.

    https://ww.wp.xz.cn/plugins/amazon-link/

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

    (@paulstuttard)

    Hi,

    1/ If you have localisation enabled (and no external Cache software installed on your WP site), then that template should provide localised links.

    Although the bottom part of the template appears to be incomplete: the part with <img src="http://url"

    2/ When you say ‘not in stock’ do you mean it is not listed on the site – i.e. You get the page not found if you try and link there? Or do you mean not available, so the page exists but no pricing is available?

    Paul

    Thread Starter Blazer11

    (@blazer11)

    Hi Paul,

    1) thanks for your answer. Now I see the template is actually providing localised links. Thanks for reminding me I forgot /> in the template. I haven’t even noticed but some headings were changed into links.

    2) I think it’s the same issue as listed here: https://ww.wp.xz.cn/support/topic/image-localization-bug?replies=3
    I will first try the procedures explained in in this topic and follow it for further information.

    Thanks for this great plugin and all your help!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Template localization problem’ is closed to new replies.