This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Can Search adhere to menu visibility rules or some other visibility logic?

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Can Search adhere to menu visibility rules or some other visibility logic? Reply To: Can Search adhere to menu visibility rules or some other visibility logic?

#45112
Ernest MarcinkoErnest Marcinko
Keymaster

Hi Bill,

Great!

The reason is, that the index does not update if the post is not saved, so the SKU is not being added to the database. I suggest triggering at least the save_post hook after each item is pushed, so that WordPress can run all the triggers related to that item. It is a best practice, because WordPress and plugins can have some hooks applied to this for maintenance (like Ajax Search Pro), so this way the index is kept up to date.