Monday, 20 July 2015

Woocommerce- Remove Orderby Dropdown for Products

Hello again, In this tutorial I will guide you to remove or edit the orderby dropdown for products, so if you have any such requirement follow the below code. If you want completely remove the drop down and ordering options, add below single line code to your functions.php file:

remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 10 );
 
Here in above code, 10 is priority of the function, which is default priority, you can change it according to you. For complete set of Steps/ Codes, Visit full Blog: Woocommerce- Remove Orderby Dropdown for Products

  Woocommerce- Remove Orderby Dropdown for Products

FindNerd: Being an effective C, C#, Java , PHP Developer forum, here you can also post & look for various programming queries along with their solutions including android, java, PHP questions and answers etc.

No comments:

Post a Comment