该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WooCommerce Sold Out Products

描述

“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

  1. Go to Appearance -> Widgets
  2. Drag the ‘WooCommerce Sold Out Products’ widget to your desired widget area
  3. 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″]

屏幕截图

  • The Widget on Twenty Twelve theme
  • Shortcode on a page
  • Sold Out Flash on single product page

安装

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:

  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
  3. 通过WordPress的“插件”菜单激活插件

常见问题

Nothing here yet

评价

2016 年 9 月 3 日
Perfect Plugin if you want to show your Out Of Stock or Sold Out Products
2016 年 9 月 3 日
I'm thrilled with this plugin! Just one thing that took me a while to figure out: to set an item to "sold out", that is, if it doesn't sell through your site, manually set the Stock Status to "Out of Stock" under Inventory, and wallah!
阅读所有13条评价

贡献者及开发者

“WooCommerce Sold Out Products” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「WooCommerce Sold Out Products」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“WooCommerce Sold Out Products”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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!