Hi team
I tested lots of code who normally have to work but unfortunatly no one are working.
I’m quite sure it’s due to Enfold.
My goal is to hide some entries i tested that for example :
// Edit WooCommerce dropdown menu item of shop page//
// Options: menu_order, popularity, rating, date, price, price-desc
function my_woocommerce_catalog_orderby( $orderby ) {
unset($orderby[“popularity”]);
unset($orderby[“date”]);
return $orderby;
}
add_filter( “woocommerce_catalog_orderby”, “my_woocommerce_catalog_orderby”, 20 );
Any idea?
Found olution working here:
https://kriesi.at/support/topic/store-sort-by-options-woocommerce/
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon