Restrict Product Purchase by Email

A lightweight WooCommerce plugin that allows you to limit access to specific products based on the customer's email address.

Key Features

  • WooCommerce Compatibility:
    Designed for WooCommerce; integrates seamlessly into your WordPress admin dashboard.
  • Per-Product Restrictions:
    Upload or manually enter a list of allowed email addresses for each individual product.
  • Multiple Restrictions Supported:
    Easily manage separate rules for multiple products—each product can have its own email list and custom message.
  • CSV Support:
    Accepts .csv file uploads containing one email per line for quick bulk importing.
  • Manual Entry:
    Option to paste email addresses directly into a text area, one per line.
  • Custom Error Messages:
    Define a custom message shown to users whose email isn’t on the list for a given product. Error Messages can be updated at any time, making it easy to adjust wording for clarity, promotions, or product changes.
  • Product ID-Based Logic:
    Restriction management is tied to product IDs for reliable identification and backend control.
  • Current Restrictions Overview:
    View all restricted products in one place, along with the associated email list and custom message.
  • Editable Inline Email Lists:
    Easily update the email list directly in the admin area without needing to reupload CSVs.
  • Scrollable Email List Field:
    To keep the admin UI clean and easy to navigate, long email lists appear in a scrollable text area.
  • Security Measures:
    Uses WordPress nonces to secure form actions and prevent unauthorized changes.
  • Variations Supported:
    Works with simple and variable products (by checking variation IDs if needed).
  • No JavaScript Required:
    Fully functional without JavaScript—ideal for performance-conscious environments or minimal plugin stacks.
  • Block-based Functionality:
    Enforces email restrictions at checkout, regardless of whether you're using the shortcode or the WooCommerce block-based checkout.