Title: Settings &#8211; Localisation Options
Last modified: August 22, 2016

---

# Settings – Localisation Options

 *  [WebMaster](https://wordpress.org/support/users/marketing-master/)
 * (@marketing-master)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/settings-localisation-options/)
 * I would like to set “Create Search Links” only for pages where ASIN doest exist(
   now is only possible to set ASIN for default country and search for all others)?
 * THX, BR
 * [https://wordpress.org/plugins/amazon-link/](https://wordpress.org/plugins/amazon-link/)

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

 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/settings-localisation-options/#post-5257013)
 * I have experimented with this idea before, but it means that for every link the
   plugin needs to do an product lookup for all the locales and it slows page update
   times to a crawl.
 * I’ll have another think to see if I can do anything.
 * Paul
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/settings-localisation-options/#post-5257019)
 * Okay, had to remind myself how this worked now I can propose a possible solution
   for you…
 * If the plugin knows that the product exists at that locale it will not generate
   a search link. So if you edit your templates so that you force it to do a product
   lookup prior to generating any links then it should do what you want.
 * Option 1:
 * If you are just using simple templates and not using the multinational pop up(
   the flags on the links), then simply enabling ‘prefetch data’ option will force
   the plugin to always check for the product prior to expanding any keywords.
 * Option 2:
 * If you are using more complex templates and are using the multinational popup
   then you can add some hidden HTML at the start of the template to force the plugin
   to lookup the product at specific locales.
 * So for example this template will get the plugin to check 5 locales before populating
   the rest of the template:
 *     ```
       <!--Force a check for the product: %PRICE%UK# %PRICE%FR# %PRICE%DE# %PRICE%ES# %PRICE%US# -->
       <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>%LINK_OPEN%%TITLE%%LINK_CLOSE%</p>
         <div class="amazon_details">
          <p>by %ARTIST% [%MANUFACTURER%]<br />
           <b>Price: <span class="amazon_price">
            <span class="al_found%FOUND%uk#">%LINK_OPEN%uk# <img style="height:10px" src="%FLAG%uk#"> %PRICE%uk#%LINK_CLOSE%</span>
            <span class="al_found%FOUND%fr#">%LINK_OPEN%FR# <img style="height:10px" src="%FLAG%fr#"> %PRICE%FR#%LINK_CLOSE%</span>
            <span class="al_found%FOUND%de#">%LINK_OPEN%de# <img style="height:10px" src="%FLAG%de#"> %PRICE%DE#%LINK_CLOSE%</span>
            <span class="al_found%FOUND%es#">%LINK_OPEN%es# <img style="height:10px" src="%FLAG%es#"> %PRICE%es#%LINK_CLOSE%</span>
           </b>
          </p>
         </div>
        </div>
       </div>
       <img src="http://%IMP%.amazon-adsystem.com/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;" />
       ```
   
 * Give it a try, not knowing your exact circumstances difficult to know what solution
   will work for you!
 * Cheers,
 * Paul
 *  Thread Starter [WebMaster](https://wordpress.org/support/users/marketing-master/)
 * (@marketing-master)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/settings-localisation-options/#post-5257288)
 * I have tested your option 1 and works fine in may sample page (online, web accessible
   over windows host) and on click returning this link [http://www.amazon.com/mn/search/?_encoding=UTF8&linkCode=ur2&camp=1634&creative=19450&tag=mianme0a-20&field-keywords=Mia_and_Me](http://www.amazon.com/mn/search/?_encoding=UTF8&linkCode=ur2&camp=1634&creative=19450&tag=mianme0a-20&field-keywords=Mia_and_Me)
   but on my live page returning link is [http://www.amazon.com/ref=nb_sb_noss_null](http://www.amazon.com/ref=nb_sb_noss_null)
 * Amazon link plugin settings on both pages are 100% the same (other settings, 
   themes and plugins are different).
 * Sample page link (.host: 91.240.216.17 [http://www.work.si](http://www.work.si)):
   [http://www.work.si/test/](http://www.work.si/test/)
    Live page link: [http://www.miaandme.org/test/](http://www.miaandme.org/test/)(
   default country Germany, localization in my case redirects to US (Amazon.com).
 * I hope you understand what I mean and you’ll find a solution.
 * Thx, BR
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/settings-localisation-options/#post-5257298)
 * Hi,
 * I can’t access the Sample page link, however I can see that the links on the 
   miaandme site are truncated, they seem to be missing the `&field-keywords=Mia_and_Me`
   part of the link.
 * Is the ‘Search Text’ option set up in that site?
 * It could be a conflict with another plugin, try disabling some one at a time 
   to see if it makes any difference.
 * Paul

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

The topic ‘Settings – Localisation Options’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-link_070606.svg)
 * [Amazon Link](https://wordpress.org/plugins/amazon-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-link/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-link/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/settings-localisation-options/#post-5257298)
 * Status: not resolved