[WordPress] 外掛分享: Woo One Product per Category

前言介紹

  • 這款 WordPress 外掛「Woo One Product per Category」是 2019-03-20 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2019-03-21,距離現在已有 2240 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.2.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

bash2day |

外掛標籤

products | restrict | woocommerce | dependencies | product category |

內容簡介

這是一款針對 WooCommerce 設計的外掛程式,允許每個類別在購物車中只有一件商品。最新添加的商品會保留在購物車內,同一類別的商品如果已經在購物車中就會被移除。

重要提示:需要 WooCommerce 3.1+ 版本。建議使用 WooCommerce 3.0+ 或更高版本。

使用說明

當客戶想要添加商品時,這個外掛程式會檢查購物車,確保每個類別只有一件商品。最新添加的商品會保留在購物車內,同一類別的商品如果已經在購物車中就會被移除。

設定

設定步驟如下:

進入 ** 產品 > 類別 **
選擇一個類別,進入 * 編輯類別 *
勾選 “每個類別只允許有一項產品” 選項
更新以保存更改。

原文外掛簡介

Plugin made for WooCommerce. Allows only one product per category in the cart. The latest added item stays, items of the same category that are already in cart are removed.
Important: Requires WooCommerce 3.1+. WooCommerce 3.0+ or higher recommended.
Documentation
The plugin checks the cart when customer attempts to add a product and allows only one product per category in the cart. The latest added item stays, items of the same category that are already in cart are removed.
Setup
To set up:

Go to the ** Products > Categories **
Select a category and go to * Edit category *
Check the “One Product per Category” option
Update to save the changes.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Woo One Product per Category」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | trunk |

延伸相關外掛(你可能也想知道)

  • WooCommerce Product Dependencies 》想要在 WooCommerce 中限制產品訪問權限嗎?不想建立一個完整的會員制度網站嗎?, 這個小型外掛允許您根據其他所需產品的所有權或購買情況,限制訪問任何 Woo...。
  • Dependency Minification 》此外掛會自動將使用wp_enqueue_script 及 wp_enqueue_style 加入的所有腳本和樣式表合併和縮小為邏輯組。例如,頁面底部的腳本會被分組,同樣媒體(例如print...。

文章
Filter
Apply Filters
Mastodon