Alternative Images in search results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Alternative Images in search results

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14077
    conorhawking
    conorhawking
    Participant

    Is it possible to limit the search to only the primary product image. When searching the website it will also return the alternative images in the search results which results in a duplicate result. This is only relevant with the autocomplete AJAX function. You can see it if you check my website (www.myornament.com) and search for “graduation” for example.

    #14078
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    I’m not sure if I understand the problem correctly, but I think I might know what you are reffering to. I’m guessing you want to return only products.

    I believe the issue is caused by the fact that the search within attachments is enabled, while you only want to look for products. Make sure that the Return attachments as results? option is disabled on the General Options -> Attachments menu: https://i.imgur.com/l6M21Ui.png

    This will make sure that only the products are returned, but not the related attachment images.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #14115
    conorhawking
    conorhawking
    Participant

    Thank you! Looks like that did the trick 🙂

    #14126
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.