• OC2PS

    (@sooskriszta)


    The plugin serves a useful function in multilingual WooCommerce stores.

    However, the sorting of the comments needs a tweak:

    Current page language reviews/comments should be shown on top, sorted by rating (highest first) and date (latest first).
    Then all other languages reviews/comments should be shown, sorted by rating (highest first) and date (latest first).

    Something like

    ORDER BY language_id = current_language DESC, language_id ASC, rating DESC, comment_date DESC

  • The topic ‘Sort order’ is closed to new replies.