“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
- Go to Appearance -> Widgets
- Drag the ‘WooCommerce Sold Out Products’ widget to your desired widget area
- Select the setting and save.
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″]
Installing “WooCommerce Sold Out Products” can be done either by searching for “WooCommerce Sold Out Products” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:
- Download the plugin via WordPress.org
- Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
- Nothing here yet
“WooCommerce Sold Out Products” 是开源软件。 以下人员对此插件做出了贡献。贡献者
* Version bump to fix missing templates files
1.0.3 – 2013-08-14
- Fix missing sale badges after first sold out badge
1.0.2 – 2013-07-03
- Show sold out products on shortcode page when WC has it set to hide
1.0.1 – 2013-05-16
- Sold Out flash on shop archive pages
1.0 – 2013-05-10
- Initial release!