描述
“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
- Go to Appearance -> Widgets
- Drag the ‘WooCommerce Sold Out Products’ widget to your desired widget area
- Select the setting and save.
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″]
屏幕截图
安装
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
- 通过WordPress的“插件”菜单激活插件
常见问题
- Nothing here yet
评价
贡献者及开发者
更新日志
1.0.4
2013-08-27 =
* 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!