Remove “Sort by Price”
-
Hey guys,
i am really confuse right now.
I have tried to remove the Sort by price option, with// Edit WooCommerce dropdown menu item of shop page// // Options: menu_order, popularity, rating, date, price, price-desc function rsd_catalog_orderby( $orderby ) { unset($orderby["price"]); unset($orderby["price-desc"]); return $orderby; } add_filter( "woocommerce_catalog_orderby", "rsd_catalog_orderby", 20 );
but it does not work.
Currently I have WooCommerce 2.6.11 isntalled.
(Booster for Woocommerce 2.5.9 | Booster Plus 1.1.0 installed too)
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Remove “Sort by Price”’ is closed to new replies.