I notice since upgrading to 4.5.6 that Woocommerce archive page “Sort by” dropdown has a lot more (unwanted) orderby options. E.g. Product ID, Average Rating, Custom etc.
Can you please advise how to unset or remove (rather than css hide) options I do not wish to appear.
Working localhost right now – will try to get a version online to test but wanted to flag this as appears to be result of Enfold update.
Many Thanks, M
Hey M1000000,
Thank you for reporting this.
The options were extended with 4.5.6 – but currently are hardcoded.
For the moment if you want to remove them:
enfold\config-woocommerce\config.php line 1435ff.
I added this to our repo to make the options filterable.
I will let you know when we have the solution.
Best regards,
Günter
Hey!
I added filter avf_wc_product_order_dropdown_frontend
Please update enfold\config-woocommerce\config.php with
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_6/WooCommerce/config.php
The filter is on line 1371.
Should become part of the next update.
Cheers!
Günter
Thanks Gunter – will give this a go,