Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › About Indexing and de-indexing new products
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 3 years, 7 months ago.
- AuthorPosts
- May 7, 2020 at 3:13 pm #27163
Hello,
first of all great work with the search pro plugin!The problem we have is that it doesn’t index new products. Let me explain further.
We have an api which inserts products every day from clients ERP. We created the api and it worked well with the previous or the default search. The main question is which hook or way do you use to index new products because probably we are missing something. Probably the same will happen when the client will delete a product but we will test it further.Also we scheduled from plugin dashboard to check for new products and to run a cron every hour to extend the index table
Regards,
GeorgeAttachments:
You must be logged in to view attached files.May 7, 2020 at 4:26 pm #27166Hi George,
Whenever the “save_post” or the “wp_insert_post” or the “new_to_publish” actions are triggered, the plugin will automatically index the new product.
The screenshot only tells, that the cron job had nothing to index at that moment, but that does not mean the products are not indexed.
If any of the above filters are triggered upon the import, then the cron will always return 0 items indexed.Do the stats show any items not indexed?
Best,
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.