Blog

Maxima Starts Selling on the WPBay Marketplace

Maxima starts selling on the WPBay marketplace, with a Larch Home product marked not available for delivery to Germany and a Country and State Restrictions rule for plants

Maxima Plugins now sells on WPBay, a marketplace for WordPress plugins, themes and services. Our first plugin there is Country and State Restrictions for WooCommerce, which lets a store sell products, offer payment methods and open pages only in the countries or states you choose.

You can find it on its Country and State Restrictions listing on WPBay.

Below: a short introduction to WPBay, and what the plugin does, with screens from Larch Home, our test store.

What is WPBay?

WPBay is a marketplace for WordPress products: plugins, themes, scripts and services, sold by the developers who make them. Buyers shop with one WPBay account, and their purchases stay in that account.

Products go through a review before WPBay lists them. Each developer sets their own prices and licenses, for 1 site, several sites or unlimited sites. If a purchase goes wrong, buyers first contact the seller, and WPBay’s support team can then review a refund request and talk to the seller, under WPBay’s refund policy. WPBay aims to review refund requests within 3 to 5 business days.

For developers, WPBay doesn’t ask for exclusivity, so a plugin can be sold on WPBay and on the developer’s own site at the same time. Sellers keep 70% of each sale to start, and up to 88% once their sales pass $50,000.

Country and State Restrictions: the plugin we listed

WooCommerce lets you choose which countries the whole store sells and ships to, in WooCommerce > Settings > General. It has no setting for a single product. Country and State Restrictions adds one: per product, per category or store-wide, down to the state.

Typical reasons to use it: live plants that can’t cross borders, furniture that costs too much to ship abroad, a product that isn’t licensed in every country, or a payment method you can only offer locally. In our Larch Home test store, we set plants to sell only within the United States (never to Hawaii), and furniture to ship only to the US and Canada. Here is how that looks.

Rules by country and state

Store-wide rules are in WooCommerce > Settings > Country restrictions. Each rule covers some products and has 2 lists, Sell only to and Never sell to, that take countries or single states.

Country restriction rule in WooCommerce settings: products in the Plants category sell only to the United States, never to Hawaii

Products can have their own lists in their Shipping tab, and each variation can be sold to fewer places than its product, with Sell this variation only to and Never sell this variation to under its attributes in the Variations panel. Rules can also close chosen pages, or the whole site, to some places.

What customers see

The plugin takes the customer’s place from their address. If you turn on country detection (it uses WooCommerce’s MaxMind Geolocation integration, which needs a MaxMind license key, or the country sent by Cloudflare or your host), it also finds new visitors’ country from their IP address until they enter an address. An optional “Delivering to” bar lets customers pick their country themselves.

Here Lena, a Larch Home customer with an address in Germany, opens the Plants category. Both products in Plants show “Not available for delivery to Germany.” instead of an add to cart button. That wording is our own: the message is set in the plugin’s settings, where {location} names the customer’s country or state, and the default is “Not available in your region.” You can also hide restricted products instead.

Plants category in the Larch Home store showing Not available for delivery to Germany under both products, with the Delivering to Germany bar at the top

Variations work the same way: our large vase can’t leave the US, so Lena sees Large greyed out in the Size list. Whatever the shop shows, checkout stops an order with an item that can’t go to the delivery address, on the classic checkout and the Checkout block.

Payment methods by country or state

The same plugin limits payment methods. Each method gets Offer only in and Never offer in lists, checked against the billing or the shipping address (you choose which). In Larch Home, cash on delivery is offered only in Oregon, where the store delivers its own orders.

Payment methods by country or state: cash on delivery offered only in Oregon, bank transfer and check payments everywhere

We checked this rule in our lab store: with an Oregon address, cash on delivery is offered next to bank transfer. With a Texas or a German address, cash on delivery is gone and bank transfer, which has no rule, stays. The rule applies on the checkout, the Checkout block and the pay for order page.

What it doesn’t do

  • Orders you create in wp-admin aren’t checked. Restrictions apply to customers in the shop.
  • With a full-page cache, country detection and page rules need the affected pages excluded from the cache, or a cache that varies by country. Checkout is always checked.
  • Rules are about places only. It doesn’t set different prices per country, and it doesn’t restrict shipping or payment by cart contents or customer role.

FAQ

What does Country and State Restrictions cost on WPBay?

It’s listed at $79 a year for 1 site. WPBay shows prices in US dollars, before taxes.

Does it work with the WooCommerce Cart and Checkout blocks?

Yes. It’s built for modern WooCommerce (Cart and Checkout blocks, HPOS). We tested it in the Cart block: when a customer switches to a country an item in their cart can’t go to, the cart shows an error that names the item and asks them to remove it, and the Checkout block won’t take the order until they do. Payment method rules apply on both the Checkout block and the classic checkout.

Can it restrict a single state rather than a whole country?

Yes. Both lists take single states as well as countries, so a rule like “only the United States, never Hawaii” is one rule. State rules are checked once the customer enters their address.

Can it hide restricted products completely?

Yes. Instead of showing them with the restriction message, you can hide restricted products from the shop, categories, search, product blocks and related products. A customer who opens a hidden product from a link sees the restriction message, or is sent to a page you choose.

Are other Maxima plugins on WPBay?

For now, our WPBay store has one plugin, Country and State Restrictions. WPBay reviews every product before it’s listed, so new plugins appear on our store page once they’re approved.

Where to find us on WPBay

Country and State Restrictions is on WPBay now, and our WPBay store, maximaplugins, is where anything we add to the marketplace will appear. To see how the plugin fits your store before you buy, the Country and State Restrictions docs walk through the setup field by field.

14-day money-back guarantee

Try it on your store, risk-free

Every plugin includes ongoing updates and support. If it isn’t right for your store, get a full refund within 14 days, no questions asked.