• I’m looking for more details on using the Search Template and putting a search widget on the my site. Is this possible using this plugin? If so, any documentation is appreciated. Can the template for “related” be used to show items from an Amazon category instead of related to found ASINs?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Ditto: tried [amazon text=search term] and it doesn’t work…

    hello dear chasman hello dear patter38

    many many thanks for steppin up the plate with this truely outstanding idea!! I like it very very much. I run Amazon-Link for years now. But this great feature would be a top-notch feature.

    hopefully the author answers

    greetings

    Okay, got it working:

    Template add %TEXT4% as search key:

    <script charset='utf-8' type='text/javascript'>
    amzn_assoc_ad_type = 'responsive_search_widget';
    amzn_assoc_tracking_id = '%TAG%';
    amzn_assoc_marketplace = 'amazon';
    amzn_assoc_region = '%MPLACE%';
    amzn_assoc_placement = '';
    amzn_assoc_search_type = 'search_widget';
    amzn_assoc_width = 'auto';
    amzn_assoc_height = 'auto';
    amzn_assoc_default_search_category = '';
    amzn_assoc_default_search_key = '%TEXT4%';
    amzn_assoc_theme = 'light';
    amzn_assoc_bg_color = 'FFFFFF';
    </script>
    <script src='//z-%REGION%.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1&MarketPlace=%MPLACE%'>
    </script>

    Shortcode: [amazon template=search &text4=duty belt]

    https://theedcbible.com/wp/shop/books/book1/belts/duty/

    Thread Starter patter38

    (@patter38)

    Outstanding work, @chasman! Thank you!

    I have more work to convert my site (since the aStore is dying)… but you can see the box at the bottom of this page using [amazon template=search &text4=solar gable fan]

    https://www.ok2begreen.com/diy-projects/solar-gable-fan-installation/

    Thread Starter patter38

    (@patter38)

    ok… not sure if anyone is looking, but i added something to set the default search to be the Yoast SEO focus keyword. You need the Yoast plugin, and also one called “PHP Code”…

    See https://www.ok2begreen.com/ to look how it looks…
    ———————————————————–
    <?php
    $focuskw = wpseo_get_value(‘focuskw’, $post->ID);
    if ($focuskw == “”) {
    $tempGreen = get_the_title();
    } else {
    $tempGreen = $focuskw;
    }
    echo amazon_shortcode(“template=search &text4=$tempGreen”);
    ?>
    <hr />

    If anyone uses this, i’d sure love to know!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search Template / Widget’ is closed to new replies.