How to change product category page – sort by….

This topic has 4 replies, 3 voices, and was last updated 8 years, 7 months ago ago by Eva Kemp

  • Avatar: vdberggert
    vdberggert
    Participant
    April 12, 2016 at 11:53

    Hi,
    On my product category page, I have the column on top of page that sort the products by default according to popularity. How can I change this default to sort it by default according to newness?

    Thank you.

    3 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 12, 2016 at 12:17

    Hello,

    Please try to edit code in \wp-content\plugins\woocommerce\includes\wc-template-functions.php file on line 682-709. Replace the menu_order to date value.

    See screenshot: http://prntscr.com/ar9x7u

    Regards,
    Robert Hall

    Avatar: vdberggert
    vdberggert
    Participant
    April 12, 2016 at 20:36

    Hello Robert,

    Ive tried that, but its still the same?
    As per my screenshot, Ive changed number 1 to date and saved – but it was unchanged, then I also changed number 2 to date and saved – but also it was unchanged.

    Any suggestions please?

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    April 13, 2016 at 07:35

    Hello,

    If you want to change default sorting go to wp-admin panel > Woocommerce > Settings > Products > Display > Default Product Sorting > select “Sort by most recent”.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.