[WordPress] 外掛分享: Prevent Purchase for WooCommerce

首頁外掛目錄 › Prevent Purchase for WooCommerce
60+
安裝啟用
★★★★★
5/5 分(1 則評價)
136 天前
最後更新
問題解決
WordPress 3.3+ v1.1.0 上架:2015-03-18

內容簡介

這個外掛需要WooCommerce。它允許網站擁有者通過啟用複選框來防止購買產品。此外,它還允許您基於每個產品覆蓋消息。當您想讓客戶知道產品僅在店內提供,但仍然在您的網站上列出該產品時,這將非常有用。

它是如何運作的?

這是一個非常簡單的外掛程序,可鉤取到WooCommerce的woocommerce_is_purchasable篩選器。當產品被視為不可購買時,在主要產品列表上的“加入購物車”按鈕將被替換為“閱讀更多”按鈕。當客戶查看單個產品頁面時,他們會看到一條消息,指出該產品不可購買,並且移除添加到購物車的按鈕。

保持最新狀態

成為Facebook粉絲
http://www.facebook.com/sumobicom

在Twitter上關注我
http://twitter.com/sumobi_

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Prevent Purchase for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin requires WooCommerce. It allows the site owner to prevent a product from being purchased by enabling a checkbox. It also allows you to override the message on a per-product basis. This will be useful for when you want to let customers know a product is only available in-store but still have the product listed on your website.
How does it work?
This is a very simple plugin that hooks into WooCommerce’s woocommerce_is_purchasable filter. When a product is deemed unpurchasable the “add to cart” button on the main product listing is replaced with a “read more” button. When the customer views the single product page they are shown a message that the product is not available for purchase and the add to cart buttons are removed.

延伸相關外掛

文章
Filter
Mastodon