Hi,
Yes I thought that would be a good idea too, when I first looked at it there were just too many differences in the iframe code to get it to work. Or the special offers in one region did not match those in another region.
For example lets try and do a banner for ‘Electronics & Photo’. The iframe URL for the various locales is (I have put template tags in where I can):
DE:
http://%RCM%/e/cm?t=%TAG%&o=%MPLACE_ID%&p=48&l=ur1&category=electronics&banner=0MNQ6KCCWY32BF4PH5G2&f=ifr
UK:
http://%RCM%/e/cm?t=%TAG%&o=%MPLACE_ID%&p=48&l=ur1&category=electronicsfoto&banner=15Z3JBH2VW9N778BZVG2&f=ifr
US (rotating):
http://%RCM%/e/cm?t=%TAG%&o=%MPLACE_ID%&p=48&l=ur1&category=electronicsrot&f=ifr
FR:
I couldn’t find an equivalent, however I noticed the category was often in French, e.g. category=sante_soins_du_corps
—
I haven’t tried this but you might want to try creating a template along the lines of:
ORIGINAL AMAZON CUT N’ PASTED CODE:
<iframe src="http://rcm-fr.amazon.fr/e/cm?t=lipas-21&o=8&p=48&l=ur1&category=sante_soins_du_corps&banner=1048YZ23K3GTY5ARKJ82&f=ifr" width="728" height="90" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0">
</iframe>
TEMPLATE EQUIVALENT:
<iframe src="http://%RCM%/e/cm?t=%TAG%&o=%MPLACE_ID%&p=48&l=ur1&category=%TEXT1%&f=ifr" width="728" height="90" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0">
</iframe>
Template options: name=my_banner, type=NO_ASIN
NOTE: I have just deleted the ‘banner=ABCDEF…’ argument hoping it is optional!
Then create a shortcode using the template something like:
[amazon template=my_banner&text1[uk]=electronicsfoto&text1[us]=electronicsrot&text1[de]=electronics]
You might get lucky if you use a really common category like ‘music’, I tried this a while back and could not get it to work, you might have more luck though (and more motivation!).
Don’t forget to turn ad-blocker off on your browser.
Paul