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

    (@paulstuttard)

    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

    (@paulstuttard)

    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="https://%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

    (@marketing-master)

    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 https://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 https://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 https://www.work.si): https://www.work.si/test/
    Live page link: https://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

    (@paulstuttard)

    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.