Home Forums WoodMart support forum Sorting of search results by date and not relevance

Sorting of search results by date and not relevance

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #304727

    florianibe
    Participant

    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

    #304772

    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

    #304964

    florianibe
    Participant

    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,

    #304985

    Hello,

    Please deactivate all the third party plugins and provide with the admin panel login details of the website.

    Regards.
    Xtemos Studios

    #306138

    florianibe
    Participant

    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.

    #306283

    Hello,

    Please deactivate all the third party plugins and provide admin panel login details in the private content area.

    Regards.
    Xtemos Studios

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)