Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro WP ALL IMPORT: after import Search&Filter Pro doesn't show product

Viewing 2 posts - 1 through 2 (of 2 total)
  • Ronny Briolotti
    #222298

    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

    Trevor Moderator
    #222337

    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.

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

The forum ‘Search & Filter Pro’ is closed to new topics and replies.