Tagged: , , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27551

    How can I remove these bad boys from my Shop page, Category page(s) and Product pages? I’ve tried adding the following to my functions.php file but apparently none of these work with the new version of WooCommerce.

    remove_action( ‘woocommerce_after_main_content’, ‘woocommerce_catalog_ordering’, 20 );

    and

    remove_action(‘woocommerce_after_shop_loop’, ‘woocommerce_catalog_ordering’, 20 );

    and

    remove_action(‘woocommerce_pagination’, ‘woocommerce_catalog_ordering’, 20 );

    Here’s a link to screenshot of what I’m talking about.

    http://goo.gl/7aMSZy

    Any help would be appreciated!

    #134392

    Okay, I was able to remove it by putting this in my child theme stylesheet but would really rather have something I could put in the functions.php file. I don’t know php so if you could provide something I could place in the functions.php file that would be peachy.

    div .product-sorting {

    display:none;

    }

    #134393

    Hey!

    Open wp-contentthemesenfoldconfig-woocommerceconfig.php and delete/comment out following line

    woocommerce_catalog_ordering();

    Regards,

    Peter

    #134394

    Thanks Dude but that didn’t work. I removed the css styling and commented out and even deleted the line you referenced from the config.php but the drop downs returned. I’ve shown which line I deleted below. Is this the correct one?

    echo “<div class=’extralight-border title_container shop_title_container $titleClass’>”;

    //echo avia_breadcrumbs();

    woocommerce_catalog_ordering(); (I DELETED THIS LINE)

    echo $image;

    #134395

    Hey!

    place this at the top of your functions php and you should be good to go:


    function avia_woocommerce_frontend_search_params()
    {
    return;
    }

    Regards,

    Kriesi

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to remove the Sort dropdowns in WooCommerce 2.0.13?’ is closed to new replies.