plugin-icon

Age Validation Per Product for WooCommerce

제작자: asynadak·
Validate and enforce age restrictions per product or variation in WooCommerce, with user profile storage.
버전
1.3.1
활성화된 설치 항목
10
최근 업데이트일
Mar 14, 2025
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

  1. Activate the plugin.
  2. For Simple Products:
    • Go to the “General” tab in “Product Data,” fill in DOB Minimum or DOB Maximum in dd-mm-yyyy format.
  3. 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.
  4. 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.

무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.7.5
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.