WP Manifestindependent plugin directory
manifest / ecommerce / ko-wc-state-restrictions

KO – WooCommerce State Restrictions

Allows sales only for approved states. Adds a Product-page state selector (with an "Other" option), saves the selection to the Woo session, hides cart

★ 0stars

Install

Download source zip No release zip yet

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.zip
No 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.