[WordPress] 外掛分享: Age Validation Per Product for WooCommerce

首頁外掛目錄 › Age Validation Per Product for WooCommerce
WordPress 外掛 Age Validation Per Product for WooCommerce 的封面圖片
10+
安裝啟用
尚無評分
394 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.0+ v1.3.1 上架:2025-02-06

內容簡介

**總結:**
WooCommerce Age Validation Per Product 可根據設定的出生日期(DOB)在 WooCommerce 商店中細緻控制誰可以購買限制商品。商店擁有者可以設定最小或最大DOB在簡單商品上,並為變化產品全球定義DOB限制或依變化設定。

**問題與答案:**
1. 透過 WooCommerce Age Validation Per Product 可以如何細緻控制誰可以購買商店中的限制商品?
透過設定的出生日期(DOB),可以控制購買限制商品的使用者範圍。

2. 如何在結帳時提示使用者輸入出生日期,只有當購物車內有限制商品時顯示?
只有在購物車中有限制商品時,結帳時才提示使用者輸入出生日期。

3. WooCommerce Age Validation Per Product 針對商品的DOB限制範圍有哪些主要特點?
可設定產品或變化的DOB範圍;全球性變化產品的字段可以覆蓋每個變化設定;結帳時有條件的DOB字段(僅在購物車中有限制商品時顯示)。

4. 如何調整變異產品的DOB設置以滿足特定需求?
在「General」標籤中填寫全球DOB最小值或DOB最大值。
(可選)編輯每個變異以設置特定的DOB字段,如果全球字段為空或需要覆蓋。

5. 如何獲得更多相關問題的解答或聯絡插件的開發人員?
如有任何問題,請查看「FAQ」部分,或在https://socialmind.gr/contact 與我們聯絡。

外掛標籤

開發者團隊

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

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

原文外掛簡介

WooCommerce Age Validation Per Product gives you fine-grained control over who can purchase restricted items in your WooCommerce store based on date-of-birth (DOB) settings. Shop owners can:
* Set a minimum or maximum DOB on simple products.
* Globally define DOB restrictions for variable products, or set them per variation.
* Prompt users for DOB at checkout only if restricted items are in the cart.
* Block checkout if the entered DOB does not satisfy the product(s) restrictions.
Key Features:
* Per-product or per-variation DOB range (e.g., only allow customers with birthdates in 01-01-1980 to 31-12-2005).
* Global fields for variable products that override each variation’s settings.
* Conditional DOB field at checkout (shown only if restricted items are in the cart).
* Client-side datepicker in the admin (so store managers can pick min/max dates) and in the checkout for users.
* Automatic validation to block purchase if the DOB is outside the allowed range.
* Optionally show notices on the product page or in the cart for restricted items.
Use Cases:
* Alcohol, tobacco, vaping, or adult content requiring age gating.
* Specialty products requiring a specific DOB range (e.g., child tickets vs. adult tickets).
* Special subscription products that require age segmentation (i.e. summer camps for children of different ages).
* Any scenario needing a user’s date-of-birth for compliance.
Usage

Activate the plugin.
For Simple Products:

Go to the “General” tab in “Product Data,” fill in DOB Minimum or DOB Maximum in dd-mm-yyyy format.

For Variable Products:

In the “General” tab, fill in Global DOB Minimum or Global DOB Maximum.
(Optionally) Edit each variation to set specific DOB fields if the global fields are empty or need overriding.

Optionally adjust JavaScript to handle date format or display if your store uses different date formats.

If you have any questions, see the “FAQ” section or contact us at https://socialmind.gr/contact.

文章
Filter
Apply Filters
Mastodon