Amazon Link
[resolved] Get product by his name (4 posts)

  1. cartouche699
    Posted 2 years ago #


    Is it possible with this plugin to get amazon product by his name not by his AMAZONPRODUCT .

    I would like to add an amazon link to my website wich is an ad mobile site.

    when a customer looks to an iphone on my website i would like to have a link to iphone amazon, same for each mobile.

    thank you


  2. paulstuttard
    Plugin Author

    Posted 2 years ago #


    You can't uniquely link to a product by name or get the plugin to populate a template based on a search result. However you can manually populate the product items and then link to amazon using 'search links'.

    I would do this by:

    • In the amazon link Settings Page copying the template you want to use and give it a new name 'named links'
    • Change all the %LINK_OPEN% strings in the template to %SLINK_OPEN%, and UPDATE the template.
    • Make sure the 'Default Search String' option contains something like %TITLE%

    Now create a shortcode along the lines of:

    [amazon template=named links&title=iphone&manufacturer=apple&thumb=http://ecx.images-amazon.com/images/I/41weDFA6ZAL._SL75_.jpg.jpg]

    This should now contain links like this:


    It would be quiet slow to get the plugin to automatically search for an item then retrieve the details of the top result to populate the link/template details.

    Hope that helps,


  3. cartouche699
    Posted 2 years ago #

    Thank you very much i will try this.

  4. paulstuttard
    Plugin Author

    Posted 2 years ago #


    If you don't mind delving into the PHP code in your theme files you might be able to do something better along the lines of what is posted here:


    But I still think it might slow your page load times too much.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Amazon Link
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic