WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
double sorting after update (3 posts)

  1. ctrlshift.ru@gmail.com
    Member
    Posted 1 year ago #

    Hi there,

    How can I remove a double sorting products drop down above my products? (I’ve tried to remove a part of the code from woocommerce-hooks.php, but after update it comes again)
    I've got U-design theme, Woocommerce 2.0.9, WP 3.5.1.
    Any help would be highly appreciated.

    Thanks

    http://wordpress.org/extend/plugins/woocommerce/

  2. ctrlshift.ru@gmail.com
    Member
    Posted 1 year ago #

    Here were the efforts to resolve it.
    I've tried to remove this code:

    /**
    	 * Products Loop
    	 *
    	 * @see woocommerce_show_messages()
    	 * @see woocommerce_result_count()
    	 * @see woocommerce_catalog_ordering()
    	 */
    	add_action( 'woocommerce_before_shop_loop', 'woocommerce_show_messages', 10 );
    	add_action( 'woocommerce_before_shop_loop', 'woocommerce_result_count', 20 );
    	add_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );

    from woocommerce-hooks.php, but after update it comes again.
    Also I added
    remove_action( 'woocommerce_after_shop_loop', 'woocommerce_pagination', 10 );
    to function.php, but nothing changed.

  3. jameskoster
    Member
    Plugin Author

    Posted 1 year ago #

    If you have double sorting, it will be due to your theme or another plugin.

    Please make sure you're running the latest version of everything and if the issue persists contact the appropriate author.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic