• Resolved emadassadi

    (@emadassadi)


    Hi,

    In the past I had no problems removing the Woocommerce sorting menu and result count. For my previous shops I simply added this code to the functions.php file:

    remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_result_count’, 20 );

    remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 30 );

    However, this does not seems to work for Neve. Am I using the wrong code?
    I used to have another webshop that ran on Neve and if I remember correctly, the code worked back then.

    Looking forward to your suggestions.

    Emad

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter emadassadi

    (@emadassadi)

    Ok I found the issue. Maybe some others have the same problem, so here is my situation.

    I had a plugin called “Woocustomizer” activated, which was probably overriding the action. The plugin allows you to easily remove both the sorting menu and result count in your theme customization area. Very simple. The problem was not with Neve.

    Hi @emadassadi,

    I’m happy that you figured it out! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove “Default sorting” and “Showing x results” in Woocommerce’ is closed to new replies.