Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/wy4tt34rp/ko-wc-state-restrictions/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A custom state-restrictions plugin with Buy With Prime support.
Description
This plugin restricts standard WooCommerce purchasing flows (Add to Cart, Cart, Checkout) based on the customer's selected state. It also supports Buy With Prime (BWP) at the variation level, allowing Prime-eligible variations to show the BWP module even when the customer selects "Other".
Prime Eligibility
Prime eligibility is controlled at the variation level (recommended), and is also available for simple products.
Changelog
1.6.6.13
- Fix: JavaScript error (setClasses undefined) that could break product-page logic.