Plugin info

Total downloads: 194
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 6/18/2025 (196 days ago)
Added to WordPress: 6/18/2025 (0 years old)
Minimum WordPress version: 5.6
Tested up to WordPress version: 6.8.3
Minimum PHP version: 7.3

Maintenance & Compatibility

Maintenance score

Stale • Last updated 196 days ago

38/100

Is BuyGuard for WooCommerce abandoned?

Likely maintained (last update 196 days ago).

Compatibility

Requires WordPress: 5.6
Tested up to: 6.8.3
Requires PHP: 7.3

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Tiered Pricing Table for WooCommerce
Rating 4.7/5 (98 reviews)Active installs 10,000
Role Based Pricing for Woo by Meow Crew
Rating 4.2/5 (5 reviews)Active installs 2,000
Price by Quantity & Bulk Quantity Discounts for WooCommerce
Rating 4.8/5 (16 reviews)Active installs 1,000
Faire for WooCommerce
Rating 3.0/5 (4 reviews)Active installs 700
WooCommerce – Automatic Catalog Maker
Rating 3.3/5 (8 reviews)Active installs 100

Description

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.

Installation

  1. Upload the buyguard-for-woocommerce folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to WooCommerce > Settings > BuyGuard to configure your BuyGuard rules

Frequently Asked Questions

Will this work with my theme?

Yes! BuyGuard for WooCommerce is designed to be compatible with any properly coded WooCommerce theme.

Can I restrict access to certain products?

Absolutely! You can restrict individual products or entire product categories to specific user roles.

How do I set minimum quantities?

Create a restriction rule, select your products or categories, specify the minimum quantity, and choose which user roles can purchase those quantities.

Can I hide products completely from unauthorized users?

Yes, you can choose to hide restricted products entirely from catalog pages for unauthorized users.

Will this work with other WooCommerce extensions?

BuyGuard for WooCommerce is designed to be compatible with most WooCommerce extensions.

Is it HPOS compatible?

Yes, BuyGuard is fully compatible with WooCommerce High-Performance Order Storage (HPOS).

How do I debug issues with the plugin?

The plugin includes a debug mode that can be enabled in the settings. When enabled, it will log detailed information about rule processing and restrictions, which can be viewed in the WooCommerce Status > Logs section.

Review feed

No reviews available

Screenshots

  1. Rule management interface

    Rule management interface

  2. Creating a new restriction rule

    Creating a new restriction rule

  3. General settings

    General settings

  4. Frontend view of restricted product

    Frontend view of restricted product

Changelog

1.1.0

  • Enhanced Security: Improved nonce verification and user capability checks throughout the plugin
  • Performance Optimization: Added WordPress object cache flushing to prevent stale data issues
  • Code Refactoring: Removed direct inline CSS/JS in favor of proper WordPress enqueuing methods
  • Improved UI: Better error handling and feedback during rule management
  • Fixed: Intermittent issue when saving rules where updates would occasionally fail
  • Fixed: Cache consistency issues when managing multiple rules
  • Fixed: Error messages now properly escaped for security and translation
  • Added: Better internationalization support with translator comments for placeholders
  • Added: Cache buster parameters to admin redirects to prevent browser caching issues
  • Compliance: Added “Requires Plugins” header to explicitly declare WooCommerce dependency
  • Technical: Added more comprehensive validation for form inputs
  • Technical: Enhanced error logging for easier troubleshooting

1.0.0

  • Initial release