Support Forums

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

Forums Forums Search & Filter Pro Plugin is not finding Woo categories

Viewing 10 posts - 1 through 10 (of 17 total)
  • Jonathan Rose
    #25662

    Hi Ross,

    Plugin looks great. Have been unable to get it to work with Woocommerce.
    It picks up blog categories but not product categories.
    I have tested it on an Avada setup and on a non-avada setup (Vantage).

    In the case of the Avada theme, we are getting an error message:
    Warning: Illegal offset type in isset or empty in /home/user/public_html/avada/wp-includes/post.php on line 1168

    I have tried placing it with shortcodes and also using the woocommerce shop page.

    Any ideas?

    Ross Moderator
    #25669

    Hey there

    Woocommerce tags and categories are actually taxonomies.

    Have you tried a taxonomy field?

    Thanks

    Jonathan Rose
    #25786

    Ah, yes. That helps. Thanks.

    In your instructions you say to be sure to add Search and Filter widget to the Shop page. You mean to a sidebar in the Shop page?

    Also, what about the php error? If I use the shortcodes method on a different page, I don’t see that error on either the shortcodes page, or the Shop.

    Ross Moderator
    #25797

    Hi Jonathan

    Yeah you can add it as a widget to the sidebar or place it anywhere else you like using the shortcode – so long as it can be found on your actual shop page somewhere.

    RE the PHP error, I’m not sure about that.

    What display mode did you use? (under “display results” tab)

    Thanks

    Jonathan Rose
    #25800

    Display method? Woocommerce shop, without ajax.

    What I am trying to do eventually is get it to appear on the side of a woo category page.

    Ross Moderator
    #25853

    I think you can just add it as a widget to the sidebar 🙂

    RE The error, can you provide a link so I can investigate it further?

    Thanks

    Jonathan Rose
    #25914
    This reply has been marked as private.
    Ross Moderator
    #26013
    This reply has been marked as private.
    Ross Moderator
    #26221

    Found the issue 🙂

    It technically an issue in Avada I would say but I’ve updated S&F to workaround it.

    Basically, in the Avada breadcrumb function in class-fusion-breadcrumbs.php (line 466) they access the post type variable from the current query:

    $post_type = $wp_query->query_vars['post_type'];

    The issue is they are treating it as a string, when in fact it can be an array (completely valid with WP) – this means that the following line throws an error, because it is expecting a string, but S&F uses arrays.

    Anyway, I modified this so it should now stop throwing this error – emailing you the update now.

    Thanks

    Jonathan Rose
    #26267

    Hi Ross,
    That’s great!

    I haven’t gotten anything in the email yet. Where did you send it?

Viewing 10 posts - 1 through 10 (of 17 total)

You must be logged in to reply to this topic.