Hello,
I’d like to remove the drop-down field in the shop page where you can sort the products by name, date, price (which doesn’t apply in this case, as this is just a catalog, not a real shop).
How ca I do that?
Hey,
Thanks for contacting us!
Please go to Appearance > Editor and edit functions.php file and add following code to the bottom of it
function avia_remove_woocommerce_frontend_search_params() {
remove_action('woocommerce_before_shop_loop','avia_woocommerce_frontend_search_params', 20);
}
add_action( 'init', 'avia_remove_woocommerce_frontend_search_params');
Best regards,
Yigit
Hi,
I added the code to bottom of functions.php file and it worked. Please review your website :)
Best regards,
Yigit
Very kind of you, thank you.
Regards
Iole
Hi Iole,
You are welcome! :)
For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/
If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)
Enjoy the rest of your day!
Best regards,
Yigit