Site logo

[Support request] Product sorting showing twice

Home Forums Support [Support request] Product sorting showing twice

Home Forums Support Product sorting showing twice

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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;}

    #2496633
    Leo
    Staff
    Customer Support

    Hi there,

    Does it work if you uncheck Display product sorting in the customizer?
    https://docs.generatepress.com/article/woocommerce-overview/#shop

    #2496700
    Fredrik

    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.

    #2496701
    Leo
    Staff
    Customer Support

    I 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.

    #2496707
    Fredrik

    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.

    #2496716
    Leo
    Staff
    Customer Support

    The sorting option is a WooCommerce core feature – GP’s option simply allows you to display or remove it.

    #2497969
    Fredrik

    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.

    #2497991
    Leo
    Staff
    Customer Support

    Wouldn’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.

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