We'll create fresh WordPress site with WooCommerce Sold Out Products installed. You have 20 minutes to test the plugin after that site we'll be deleted.
“WooCommerce Sold Out Products” enhances the built-in WooCommerce functionality by adding a Widget and Shortcode for displaying sold out products. The WooCommerce Sold Out Products extension uses native WooCommerce functionality ensuring that the widget and shortcode content for the sold out products integrates with your current WooCommerce templates ensuring uniformity on your WooCommerce store.
This plugin is WooCommerce 2.x compatible.
Contribute to the plugin via github
Widget
Shortcode
The shortcode to use is sold_out_products and takes the following arguments:
* per_page – Number of products to display
* columns – Number of columns per row
* orderby – Order by https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters ( default: date )
* order – asc or desc ( default: desc )
[sold_out_products per_page=”10″ columns=”4″]