- This topic has 7 replies, 2 voices, and was last updated 3 years, 3 months ago by
Leo.
-
AuthorPosts
-
January 15, 2023 at 2:09 pm #2496624
Fredrik
I’m using Beaver Builder, Beaver Themer, PowerPack (WooPack) and GeneratePress Pro.
On my archive pages there’s two instances of the product sorting function generated from WooCommerce
On the archive page i’m using WooPack to display my own custom grid.The product sorting is displayed from both GeneratePress and Woopack Grid.
Disabling product sorting in GeneratePress will disable both of them.
I have to use some ugly CSS to disable the themes output of the filtering, but doesn’t feel like the right solution.#wc-column-container .woocommerce-ordering {display:none;}
.fl-module-content .woocommerce-ordering {display: inline-block;}January 15, 2023 at 2:18 pm #2496633Leo
StaffCustomer SupportHi there,
Does it work if you uncheck Display product sorting in the customizer?
https://docs.generatepress.com/article/woocommerce-overview/#shopJanuary 15, 2023 at 4:02 pm #2496700Fredrik
No, as I mentioned, that disables both products sorting.
I’ve sent the same question to WooPack since I don’t know where the issue is coming from, or if it is an issue.
But it seems both WooPack and GP hooks into the same standard Woo sorting, and GP customizer settings disables them both.I added login details if you want to take a look.
January 15, 2023 at 4:06 pm #2496701Leo
StaffCustomer SupportI believe this is something WooPack’s support team will have to help with.
GP’s customizer option is working as it should.
I suspect that CSS is the solution.
January 15, 2023 at 4:13 pm #2496707Fredrik
So isn’t the option in GP customizer just supposed to stop the output of the GP theme? Seems weird it also hides other plugins output as if it’s a global control button.
January 15, 2023 at 4:31 pm #2496716Leo
StaffCustomer SupportThe sorting option is a WooCommerce core feature – GP’s option simply allows you to display or remove it.
January 16, 2023 at 12:17 pm #2497969Fredrik
Yes, the issue is that you disable the woocommerce function.
I got an answer from PowerPack team that GP disables a standard functionality, which their tool uses.WooPack uses the same WooCommerce way to output the sorting dropdown and the same way is used widely in themes and other plugins. So when you disable it from the theme it also gets disabled from WooPack.
Wouldn’t it make perfect sense if your theme only disables your output instead of other tools that use the product sorting function?
Anyhow, I solve this with CSS. But maybe it’s should be considered to not conflict with other Woocommerce tools.
January 16, 2023 at 12:44 pm #2497991Leo
StaffCustomer SupportWouldn’t it make perfect sense if your theme only disables your output instead of other tools that use the product sorting function?
The issue here is that there is no “your output” here – the output is coming from WooCommerce itself and not GP.
GP’s customizer option simply lets you choose to output the WooCommerce feature or not. -
AuthorPosts
- You must be logged in to reply to this topic.