Sorting of search results by date and not relevance
-
Hi xtemos,
we changed in customizer the sorting settings to date but on the normal search page it wouldn’t work.
// Default order.
add_filter('woocommerce_default_catalog_orderby', 'pp_default_catalog_orderby', 99 );
function pp_default_catalog_orderby( $sort_by ) {
return 'date';
}
doesnt work too.
Could you please check it and tell me the solution?
Florian
Hello,
Sorry but we could not help you with this as the default sorting options are woocommerce functionality.
It requires customizations and this is beyond our limitations and support policy.
Best Regards
Hey Support-Team,
thanks for your reply.
This has nothing to do with a customization and is indeed part of your support.
The Customizer option works correctly as you can see in the preview, but it gets overwritten by the Woodmart Theme.
This does not happen when I’m switching the theme.
All we want is the working default behavior of the WooCommerce sorting options.
Please fix that as soon as possible.
If you need further information, please get in contact.
Best regards,
Hello,
Please deactivate all the third party plugins and provide with the admin panel login details of the website.
Regards.
Xtemos Studios
We have tested it in some installations with new and older versions and if woodmart active it wont work. With standard theme twenty it works.
Hello,
Please deactivate all the third party plugins and provide admin panel login details in the private content area.
Regards.
Xtemos Studios