• Resolved l3kilos

    (@l3kilos)


    Hi Paul,

    What a great plug-in! Thanks so much for the high quality of work you’ve done, both the look and the performance of this plugin are stellar.

    I’m a bit confused as to whether it is possible to search within an Amazon category/browserNode? I thought that using something like

    [amazon text=Shoes at Amazon&title=Shoes at Amazon&search_text=Adidas shoes&template=carousel&search_link=1]

    would work, but that only seems to return generic Amazon items. I am basically looking to populate my carousel template with certain items based on a search string, say Adidas Men Shoes. Is that possible to do by default? If not, is there a way for me to customize the code to achieve this? I know I can achieve similar results by manually adding ASINs, but would like to avoid this route for a variety of reasons. Any help would be greatly appreciated!

    Thanks,
    Peter

    https://www.ads-software.com/plugins/amazon-link/

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

    (@paulstuttard)

    Hi,

    I did add a search facility but it’s still not fully tested. Be aware it uses the AWS to get some search results so may slow down page load times.

    Basically it uses the same arguments as available on the search function on the Page/Post edit screen. So a shortcode like this should do what you are after:

    [amazon s_index=All&s_author=&s_title=Addidas Shoes&s_page=1&template=carousel]

    This should be better, but may not work on all locales:

    [amazon s_index=Shoes&s_author=&s_title=Addidas&s_page=1&template=carousel]

    This should be even better, but for some reason it does not return any results:

    [amazon s_index=Shoes&s_author=Addidas&s_title=Shoes&s_page=1&template=carousel]

    (Author is converted into ‘Brand’ automatically by the plugin).

    Note there is a ‘search widget’ that Amazon provide that might give better results. I have not created a template for it yet though so it is not included with the plugin.

    Paul

    Thread Starter l3kilos

    (@l3kilos)

    Thanks a bunch for the quick response, that’s what I needed! The third code snippet didn’t work for you because the word Adidas was misspelled (Addidas). Works fine otherwise.

    Thread Starter l3kilos

    (@l3kilos)

    One more question, are you planning on adding the search template in the near future? Using the standard code from Amazon gives many warnings in PageSpeed Insights regarding compression and minifying of scripts and images, it results in quite a bit lower score than if I used your plugin actually (77 vs 92). Also, the performance is not really better, it was actually slower in my tests! I will use the carousel for the time being as it’s very nice, but I do like the vertical layout of the Search Widget, so adding that to your plugin would be absolutely awesome.

    Thanks again!

    Plugin Author paulstuttard

    (@paulstuttard)

    I’ll certainly add it in the future, but haven’t got a great deal of time on my hands at the moment.

    Paul

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Searching for Products Based on Search String’ is closed to new replies.