Manually Sort WooCommerce Products

Home Elementor Manually Sort WooCommerce Products

December 13, 2021

 

In this video I will show you how to manually sort WooCommerce products and display them in your Elementor posts widget.

You will need Elementor Pro & WooCommerce installed and activated on your website to follow this tutorial.

I also recommend installing Code Snippets (https://wordpress.org/plugins/code-snippets/) because we will need to manual add some custom code to make this work correctly.

Timestamps:

  • 0:00 Introduction
  • 0:29 Elementor Posts Widget
  • 2:35 Add Custom Code
  • 3:27 WooCommerce Sorting Dashboard

Custom Code:

add_action( ‘elementor/query/menu-order’, function( $query ) {
$query->set( ‘orderby’, ‘menu_order’ );
} );

*Some of the links on this page are affiliate links, meaning we may receive a commission if you follow them. This allows us to continue providing free content and educational resources for you. Thank you for supporting our small business!

More Free Resources