• Resolved themaxx77

    (@themaxx77)


    Hi

    Is there anyway to generate a link that is forced to one Amazon country?

    I’d like to link to this product:
    B00ID2HJJM

    but it’s only available in the US. I want everyone who clicks on the link (even those in the UK, Canada, Italy etc) to get a link to amazon.com. I’ve tried:
    [amazon template=Image&asin[us]=B00ID2HJJM]

    but that gives the link to amazon.co.uk (my default location).

    Thanks

    Pete

    https://wordpress.org/plugins/amazon-link/

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

    (@paulstuttard)

    Hi,

    I’ve not done this for a while, but you could try adding the following options (I used to use them for testing):

    [amazon template=Image&asin=B00ID2HJJM&default_cc=us&localise=0]

    i.e. Disable localisation & set the default country to the US. You might also need to add ‘home_cc=us‘.

    Paul

    Thread Starter themaxx77

    (@themaxx77)

    Thanks for getting back to me so quickly Paul. I tried your suggestion (and various combinations) and came up blank:
    http://atomreviews.com/test/

    If I remove “localise=0” it does pull data from Amazon US, but the generated link is still to my Default Country, United Kingdom. If you can’t think of anything else I can set my Default Country to US.

    Pete

    Plugin Author paulstuttard

    (@paulstuttard)

    Just tried it and you are right it does not work as expected. I think the new argument parser is sensitive to the order of the arguments. Try putting the ‘default_cc=us’ at the beginning of the string, e.g.:

    [amazon default_cc=us&template=Image&asin=B00ID2HJJM&localise=0]

    This works well for me.

    For info:

    If you enable ‘Create Search Links’ then if the product is not available it should create a link searching for the keywords defined in ‘Default Search String’.

    So in your case if ‘Default Search String’ contains ‘%TITLE%’ then the plugin will create a link to the search page for “Samsung UN65HU8550 65-Inch 4K Ultra HD 120Hz 3D Smart LED HDTV” in the correct locale.

    Cheers,

    Paul

    Thread Starter themaxx77

    (@themaxx77)

    Cheers Paul this works like a treat!

    I have enabled ‘Create Search Links’, but in my testing it only works if the ASIN matches an entry in the Amazon store given in the Default Country.

    Eg B00ID2HJJM only exists in the US store, so if Default Country is the US, that works fine.

    But for a UK product like B00FRK8GFO, if Default Country is the US, Search Links doesn’t work….

    BUT adding “default_cc=uk” fixes that!!!

    Brilliant!!! I’m trying to get others on to the Amazon Link cause this is the best plugin out there!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Force localisation of link to one country?’ is closed to new replies.