Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Some help
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 1 month, 1 week ago.
- AuthorPosts
- February 15, 2023 at 1:59 pm #41397
Hi i use the indexing table feature. i would like to know where could I enable to search by product SKU?
Also is possible to return 20 first results and rest load via infinity scroll? Because now I set 200 results to show me.
February 15, 2023 at 3:57 pm #41406Hi,
Make sure to index the “_sku” custom field, that holds the product SKU values.
You can of course do the infinite scroll “load more” too, this documentation will help with that.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 16, 2023 at 7:53 am #41418thanks for the reply.
all worked,
one more question pls.is possible somehow to optimize, cache or do something else for the images? i have to show 20 results. i get instant the title but images take some time to load.
February 16, 2023 at 3:55 pm #41428Sure! By default the plugin tries to fetch the smallest possible image sizes (thumbnails), so the rest is up to the server and client connection speed.
Best,
You can however do a bit more to optimize by enabling the image cropping feature. This will further resize the images according to the live search image container size, as small as possible.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 20, 2023 at 9:53 am #41459Thanks for the reply. After activating this setting on search it returns a 500 error. I have the latest version of the plugin.
February 20, 2023 at 2:01 pm #41469Okay, do you see any error messages within the error log? Do you still return 200 results at once? If so, then that could cause the issue, as the script may try to resize all of them one by one and that could probably cause a memory limit issue and halt the process automatically.
Can you please also check the image source sizes for the featured images here: https://i.imgur.com/1I3AHsD.png
Best,
You may have different options, try choosing the smallest possible dimension. That alone could resolve the problem without having the cropping feature enabled.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.