AmazonWidgets-Talk

Summary: Talk page for AmazonWidgets.
Maintainer: Benoit Dutilleul?
Users: (View? / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

CodeGier on October 27, 2017, at 05:07 PM The widget didn't work for me. The function ShowAmazonProductLink needed some update:

     function ShowAmazonProductLink($assoid,$asin) {
        #$assoid='wefa-20';
        #$asin='B000JVZKFK';
        ## iframe tag
        $out = '<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"';
		$out .= ' src="//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=DE';
		$out .= '&source=ac&ref=qf_sp_asin_til&ad_type=product_link&tracking_id='.$assoid;
        $out .= '&marketplace=amazon&region=DE&placement=3808541075&asins='.$asin.'&linkId=3e1a5106b5fdcc1ad1a83ed770c2dd61&show_border=false&';
		$out .= 'link_opens_in_new_window=false&price_color=333333&title_color=0066C0&bg_color=FFFFFF"></iframe>';
        return Keep($out);

     }

Talk page for the AmazonWidgets recipe (users?).