-
AuthorPosts
-
October 27, 2023 at 4:25 pm #1423917
Hi
Is there an Option in Theme ENFOLD to HIDE both Sort Dropdowns?
– Sortieren nach Standard
– Zeige X Produkte pro SeiteI tried:
// Entfernen der Dropdown-Sortierung im Shop.
remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_result_count’, 20 );
remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 30 );
Which is not working.Any tipps how to hide both Sort Dropdowns on Shop Page?
Thank you
SteveOctober 29, 2023 at 3:29 pm #1424021Hey Steve,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top.woocommerce-shop .template-shop .product-sorting { display: none; }After applying the css, please clear your browser cache and check.
Best regards,
MikeOctober 30, 2023 at 3:43 pm #1424137Hi and thank you
I am aware of the CSS display none; possibility.
I am looking for the PHP snippet instead or an Option the Check «disable Sort function» somewhere to hide Sort function.
This PHP Snippet
remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 30 );
unfortunately does not workAny ideas?
November 1, 2023 at 10:46 pm #1424352Hi,
This remove_action is already applied in the /config-woocommerce/config.php file in the theme, that is why it is not working. I didn’t find another PHP solution so I asked the rest of the team for advice and will write back when I hear from them.
I believe that the css solution above will give you better control of where the items are removed, but possibly a PHP solution will be provided, thank you for your patienceBest regards,
MikeOctober 4, 2025 at 12:36 pm #1489847Hi Mike,
but if the remove_action is already integrated in the config-woocommerce/config.php (line 476+477) why doesn’t it work?Regards Biggy
October 4, 2025 at 1:31 pm #1489851Hi,
If you are looking to remove the shop sort-by & products per page drop downs:

add this function to your child theme functions.php file:function remove_avia_woocommerce_frontend_search_params() { remove_action( 'woocommerce_before_shop_loop', 'avia_woocommerce_frontend_search_params', 20 ); } add_action( 'wp_loaded', 'remove_avia_woocommerce_frontend_search_params' );Best regards,
MikeOctober 4, 2025 at 1:46 pm #1489852Hi Mike,
We looked for it in the documentation but couldn’t find it. Thank you.
Regards
BiggyOctober 4, 2025 at 2:36 pm #1489854 -
AuthorPosts
- The topic ‘WooCommerce – Entfernen der Dropdown-Sortierung auf der WooCommerce Shop-Seite’ is closed to new replies.

