Site logo

[Support request] products doesn?t appear when using a product filter

Home Forums Support [Support request] products doesn?t appear when using a product filter

Home Forums Support products doesn?t appear when using a product filter

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #2437105
    Heinrich

    hi team,

    heavily fighting with a product filter from barn2.
    filter is working when i have gp premium deactivated. when i activate gp premium, then no products are shown. i have the number of products which are filtered, but no products shown on the page.

    when i deactivate gp premium again, filtered products are shown.

    any idea where in gp this does come from?

    #2437747
    Leo
    Staff
    Customer Support

    Hi there,

    I can’t see how GP Premium would have the ability to cause this issue.

    Can you deactivate each module to see if you can identify the one causing the issue?
    https://docs.generatepress.com/article/installing-gp-premium/#activate-your-modules

    #2437777
    Heinrich

    hi leo, of course i have done this before.
    but i will deactivate them again except gp-pro, woo and product filter. do not evaluate the optics .-))
    when you deactivate gp-pro, the products appear again as they should…
    when you activate it again, they disappear.

    #2437800
    Ying
    Staff
    Customer Support

    Hi there,

    What Leo suggested is to deactivate GP Premium’s modules to determine which module of GP premium is causing the issue.

    Can you do that instead of disabling GP premium plugin?

    #2437804
    Heinrich

    properly reading is art .-)

    it`s the woocommerce module

    #2438763
    Heinrich

    hi team, any news on this topic?
    tks in advance.

    #2438929
    David
    Staff
    Customer Support

    Can i see the page with the filter enabled ? And with GP Woo module enabled ?

    #2439333
    Heinrich

    hi david,
    this is the current state.

    #2439560
    Ying
    Staff
    Customer Support

    I’m not sure why but the Woocommerce filter plugin has this CSS to hide the filtered content:
    https://www.screencast.com/t/8OTtf64Q7lp

    .wcf-hider {
        display: none;
    }

    It’s added by the plugin not GP, I don’t know why GP’s Woocommerce module would cause this issue.

    Can you try disabling GP’s Woo module so I can compare?

    Let me know!

    #2439787
    Heinrich

    hi ying, done, woocommerce module is disabled.
    wouldn`t it be better if you login to the site? its a staging, so you can play around as you want?

    all the best.
    heinrich

    #2439866
    Ying
    Staff
    Customer Support

    Yes, an admin login of the site will be very helpful so I can do some testing 🙂

    Thank you!

    #2439874
    Heinrich

    hi ying, i sent this in the first form .-(
    here again in the private form. i change the language to english.

    #2439910
    Ying
    Staff
    Customer Support

    i change the language to english.

    That’s very considerable 🙂

    So the issue is that there’s a conflict between the plugin and GP’s Woo module, it breaks the HTML structure.

    This PHP snippet should fix the issue:

    remove_action( 'woocommerce_before_shop_loop', 'generatepress_wc_before_shop_loop' );
    add_action( 'woocommerce_after_shop_loop', 'generatepress_wc_before_shop_loop' );
    #2439962
    Heinrich

    tks a lot, seems it`s working. is this a thing you will fix in an update? barn2 filter is planned for a few shops with gp.

    #2440068
    Ying
    Staff
    Customer Support

    No, I don’t think so.

    As it’s not an error or bug in GP, it’s just not compatible with this plugin, if we change it for this plugin, another conflict might happen with other plugins.

Viewing 15 posts - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.