Home Plugins buyguard for woocommerce
BuyGuard for WooCommerce logo

BuyGuard for WooCommerce

by Themology on WordPress.org

Restrict WooCommerce product purchases based on user roles, product categories, and quantity rules.

(0)
Rule management interface

Rule management interface

BuyGuard for WooCommerce gives store owners powerful control over who can purchase products and in what quantities. Perfect for wholesale, membership, and B2B stores.

Key Features

  • Role-Based Restrictions: Limit products to specific user roles.
  • Category-Based Rules: Apply restrictions to entire product categories.
  • Quantity Rules: Set minimum and maximum purchase quantities.
  • Customizable Messages: Show custom messages to restricted users.
  • Visual Controls: Hide product prices and “Add to Cart” buttons.
  • Product Visibility: Optionally hide restricted products completely.
  • Guest User Controls: Configure permissions for non-logged-in users.
  • Rule Scheduling: Set start and end dates for restriction rules.
  • Rule Priority: Control how multiple rules interact.
  • Easy Management: Intuitive interface for creating and managing rules.
  • Cart Validation: Server-side validation on cart and checkout pages.
  • Debug Mode: Optional debug mode for troubleshooting.

Perfect For

  • Wholesale stores that need to restrict regular customers from wholesale pricing.
  • Membership sites that offer exclusive products to members.
  • B2B businesses that need to limit certain products to business customers.
  • Stores with quantity requirements for certain product lines.
  • Tiered customer programs with different purchasing privileges.

Technical Features

  • HPOS Compatible (High-Performance Order Storage).
  • Compatible with WooCommerce Blocks.
  • Clean, well-documented code.
  • Performance optimized.
  • Responsive design.
  • Translation ready.
Active installations0+
Weekly downloads
17
Version1.1.0
Last updated6/18/2025
WordPress version5.6
Tested up to6.8.1
PHP version7.3
Tags
membershipRestrictionuser rolewholesalewoocommerce