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.

Restrict Product Purchase by Email – Changelog

Version 4.2 – Current Version 5/25/25

  • Side-by-side layout for editing current restricted products.
  • Admin UI now uses a flex layout to align email list and message fields.
  • Visually cleaner and faster to manage multiple restrictions.
  • Fully JavaScript-free and mobile-friendly within WordPress admin constraints.

Version 4.1

  • Improved nonce verification and consistent sanitization of inputs.
  • Partially prepped for WP_Filesystem usage (if needed later).

Version 4.0

  • New admin tab layout: Manage and How to Use.
  • Extensive plugin instructions and feature documentation included in admin UI.
  • Improved messaging with recommended error message tips.

Version 3.4

  • Added support for WooCommerce product variations.
  • List of current restricted products displayed in admin UI.
  • Inline editing of allowed emails and error messages.
  • Cleaned up styling, layout, and feedback messages.

Version 3.0

  • Added manual email entry option (textarea) alongside CSV upload.
  • Ability to update and save email lists from within the admin interface.
  • Basic error handling for file uploads and manual entry.

Version 2.0

  • Plugin rebranded and retitled as Restrict Product Purchase by Email.
  • Support for custom error messages per restricted product.
  • Basic WooCommerce admin submenu integration.

Version 1.0 – Initial Concept

  • Simple per-product email restriction using CSV files.
  • Unauthorized customers blocked at checkout with a default error message.