Support » Plugin: Post Types Order » Woocommerce product sorting not work

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author tdgu

    (@tdgu)

    I’am not sure but the free version might not work with WooCommerce.
    Or if you use the advanced post types order you should get in touch with the author.

    The problem is solved.
    Thanks a million to you, tdgu….!!!!!!!!!!

    @ygrafix,

    did you had problem with the front-end (shop page) sorting or at the admin section?
    awaiting reply,

    Plugin Author nsp-code

    (@nsp-code)

    Suppose was referring to front-end, since switched to Advanced Post Types Order, the products can be sorted within Archive, Taxonomy Terms, Grouping etc.

    How was that solved? I have the same issue.
    Or is it indeed that it wont work with free version?

    add the below code to the functions.php

    add_filter('woocommerce_default_catalog_orderby', 'woo_catalog_orderby');
    
    function woo_catalog_orderby()
    {
        return 'price'; // Can also use title and date
    }

    this should make the sort work.

    @shreyo

    No, it’s not solving the issue – once plugin is activated any sorting switching is not taking effect on shop page.

    any other ideas?

    You need to change the plugging settings to autosort OFF. Because the default sort in Woo will sort by menu_order, the plugin will still pick that up and re-sort. Works for me – both the custom sorting by product category and the built in sorts selected on the page work. Yay!

    scratch my previous comment – that DOESN’t work!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Woocommerce product sorting not work’ is closed to new replies.