Support » Plugins and Hacks » Amazon Link » [Resolved] Get product by his name

[Resolved] Get product by his name

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



    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,


    Thank you very much i will try this.

    Plugin Author paulstuttard



    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.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Get product by his name’ is closed to new replies.
Skip to toolbar