Site logo

Archived topic

products doesn?t appear when using a product filter

15 replies · Started by Heinrich on November 27, 2022

Viewing posts 1–15 of 16

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?

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.

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?

properly reading is art .-)

it`s the woocommerce module

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

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

hi david,
this is the current state.

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!

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

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

Thank you!

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

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' );

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.

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.

This archived topic is closed to new replies.