- This topic has 1 reply, 2 voices, and was last updated 6 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › WP ALL IMPORT: after import Search&Filter Pro doesn't show product
Tagged: wp-all-import display-product
Hi,
I have a WooCommerce site where I import products by WP ALL IMPORT PRO and I use S&F to filter products shown in some custom page.
I can import products without any problem but, if I want to make the Search&Filter Pro works properly, I have to save all the product after every import.
Could you please help me to sort this issue out?
Thanks in advance for your help.
Ronny
If you are using WP All Import, then this code (in the child theme functions.php file) should be used:
add_action('pmxi_saved_post', 'wp_all_import_post_saved', 1000, 1);
function wp_all_import_post_saved($id) {
do_action('search_filter_update_post_cache', $id);
}
We have had some issues with a recent release of WP All Import, which is fixed in their latest beta release (but that was in July, so a more recent release should be OK).
This is needed because WP ALL Import does not notify WordPress that it has updated a particular post.