I managed to display product variations in the same menu_order as their parent variable products. Note: This code also filters the results by ...
Support » Plugin: Themify - WooCommerce Product Filter » Sorting by price does ... WP query attribute is not set properly and items are sorted by menu_order.
I couldn't make Andriy Kovalenko code to work, don't know if it's my fault, but anyway, this code seems to be working:
You can try the following (untested) mini plugin:
Now let me show you how to change this default product sorting “ menu_order +
Looking at your edit, you have a bad filter somewhere, most probably a
works to re-order them in a specific output as it works in products or normal post.
$query = new WP_Query( array( 'post_type' => 'page', 'orderby' => 'menu_order date', 'order' => 'ASC' ) );. And it should solve your problem. (It should, but if ...
$query = new WP_Query( $args );
Here we are going to use just one filter hook woocommerce_catalog_orderby , it is very