Better Coupon Restrictions

How can we help?

Search the documentation or ask the AI agent anything about the plugin.

Requirements and compatibility

Updated September 15, 2026

Better Coupon Restrictions needs WordPress, WooCommerce and a supported PHP version, and works with both the classic and block-based cart and checkout.

Requirements

  • WordPress 4.7 or later
  • WooCommerce 3.7 or later, installed and active
  • PHP 7.4 or later

Version 2.0.0 has been tested up to WooCommerce 11.0.1.

High Performance Order Storage

The plugin declares compatibility with WooCommerce High Performance Order Storage (HPOS). Order lookups use WooCommerce’s own order functions, so they work with either order storage option.

Block and classic checkout

Restrictions run inside WooCommerce’s normal coupon validation, so they apply on the classic shortcode cart and checkout and on the block-based Cart and Checkout. Payment method rules recognise both the classic checkout requests and the block checkout’s Store API requests.

Where restrictions do not run

Restrictions are only checked when there is a shopping cart. They are not applied to coupons added from the admin order screen, or to orders created through the REST API or WP-CLI.

Multisite

Each site keeps its own coupon restrictions, settings and rejection log. When the plugin is deleted, data is removed from every site on the network. See Data, privacy and uninstalling.

Translation

All text uses the better-coupon-restrictions text domain and can be translated with a plugin such as Loco Translate or through translation files in the plugin’s languages folder.

Performance

  • Rules only run for coupons that have them set.
  • Order history lookups are cached for the rest of the page load and only fetch as many orders as needed.
  • Admin scripts and styles only load on the coupon edit screen.
  • Rejection analytics is off by default.
  • The referring domain cookie is only set when a referring domain rule is in use, so other stores keep fully cacheable pages.

Related

Was this article helpful?