[WordPress] 外掛分享: WooCommerce Sold Out Products

首頁外掛目錄 › WooCommerce Sold Out Products
WordPress 外掛 WooCommerce Sold Out Products 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
500+
安裝啟用
★★★★★
5/5 分(13 則評價)
4587 天前
最後更新
問題解決
WordPress 3.5+ v1.0.4 上架:2013-05-12

內容簡介

「WooCommerce Sold Out Products」通過添加小工具和短碼,增強了內置的 WooCommerce 功能,以顯示已售完的產品。該外掛程式使用本機 WooCommerce 功能,確保小工具和短碼內容與您當前的 WooCommerce 模板相整合,確保您的 WooCommerce 商店一致性。

此外掛程式相容於 WooCommerce 2.x。

通過Github貢獻外掛程式

使用方法

小工具

前往"外觀" -> "小工具"
將「WooCommerce Sold Out Products」小工具拖放到所需的小工具區域
選擇設置並保存。

短碼

要使用的短碼是 sold_out_products,其擁有以下參數:
* per_page - 顯示產品的數量
* columns - 每行的列數
* orderby - 排序方式 https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters (默認: date)
* order - 升序或降序 (默認: desc)

[sold_out_products per_page=”10″ columns=”4″]

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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
Usage
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″]

延伸相關外掛

文章
Filter
Mastodon