Linux 软件免费装
Banner图

Mercenza - B2B for WooCommerce

开发者 codewoogeek
heyvicky
propluginslab
更新时间 2026年10月22日 02:44
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce b2b wholesale pricing wholesale customer groups

下载

1.0.0 1.0.1 1.1.2 1.2.0 1.2.1 1.1.0 1.1.1 1.2.2 1.2.3

详情介绍:

Mercenza adds a wholesale side to a WooCommerce store without a second shop. Buyers apply for a trade account, you approve them, and from then on they see their own prices, their own minimum quantities, and only the products you want them to see. Retail customers notice nothing. Everything is explained inside the plugin: every setting has a short description, every screen has a plain language introduction, and the Help screen holds the full documentation. Customer groups Wholesale pricing B2B catalog control Trade registration Companies and sub accounts Ordering tools Built for a real store Privacy and security External services Mercenza can use the services below. Each one is off until you turn it on, nothing else leaves your site, and no usage data is collected. EU VAT number check (VIES, optional, off by default). Only when you turn on Settings > Registration > Check VAT numbers online, and an applicant enters a VAT number from an EU country on the registration form, the plugin sends the two letter country code and the number to the European Commission's VIES service to confirm the number is registered. This happens as the applicant finishes typing it (after a short pause) and again when the form is submitted, and the result (valid, invalid, or unknown) is stored with the application. A valid result is cached for a day, so the same number is not checked again within that time. While the setting is off, nothing is sent and VAT numbers are reviewed manually. Service: VIES, legal notice, privacy policy. UK VAT number check (HMRC, optional, off by default). With the same setting on, for a VAT number starting with GB the check sends the number, without the country code, to HM Revenue and Customs' "Check a UK VAT number" API. Service: API documentation, terms of use, privacy notice. Captcha (optional, off by default). When you choose a captcha provider for the registration form and enter its keys, the form loads the provider's script and, on submit, sends the visitor's captcha response, IP address, and your site address to that provider for verification: Google reCAPTCHA (terms, privacy), hCaptcha (terms, privacy), or Cloudflare Turnstile (terms, privacy). Slack and Microsoft Teams (optional, off by default). When you paste an incoming webhook URL and pick events, each of those events sends a short message (title, summary, a few facts such as a customer or company name, and a link back to your admin) to that URL. Nothing is sent until you add a URL. Slack: terms, privacy. Microsoft Teams: terms, privacy. The Teams message names the Adaptive Card schema (adaptivecards.io) as an identifier inside the message; that address is never contacted. WooCommerce webhooks (optional). Webhook topics you create under WooCommerce > Settings > Advanced > Webhooks are delivered by WooCommerce to the delivery URL you enter, signed by WooCommerce with your webhook secret. Failed deliveries of Mercenza topics are retried after 5, 30 and 180 minutes. Pro version Mercenza Pro is a separate, standalone edition. It contains everything in this free edition and adds: This free edition is complete on its own and nothing in it is locked or limited. Pro is a separate plugin that uses the same settings and data. While Pro is active the free plugin stays idle and shows a notice, so you can deactivate it yourself; nothing is deactivated for you.

安装:

  1. Install and activate WooCommerce.
  2. Upload the mercenza-b2b-for-woocommerce folder to /wp-content/plugins/, or install it from Plugins, Add New.
  3. Activate the plugin. The setup wizard opens and creates your first wholesale group.
  4. Place the Mercenza Registration Form block, or the [mercenza_registration_form] shortcode, on a page so buyers can apply.

屏幕截图:

  • Group prices, tiers, audience and wholesale info for one product.
  • Mercenza adds its own boxes to the order screen.
  • Tier prices and the next tier hint appear under the price.
  • The B2B area brings the buyer's tools together.
  • Variations are listed under their product with their own quantity field.
  • Each topic on the left opens its own group of settings.
  • The DEFAULT B2B flag marks the group that approved applicants join.
  • Pending applications show a yellow PENDING badge.
  • Every answer from the form is listed, with internal notes on the right.

升级注意事项:

1.2.3 Adds "Who sees the B2B area", subcategories for category rules, editable order minimum messages and a guest coupon option. Your current B2B area behavior is kept. Adds one column to the visibility rules table. 1.2.2 Fixes deposit and pay on release pre-orders (Anticipo) that charged customers with a group price the full price at checkout as well as the balance. No database changes. 1.2.1 Fixes a critical error on every page for logged in customers with orders, introduced in 1.2.0. Update now. No database changes. 1.2.0 Enforces sub account permissions and order limits, shows the PO number on the Checkout block, fixes price CSV uploads and imports, and adds reCAPTCHA v2. Adds one database table. 1.1.2 Deleting a group removes the role it created, and the WP-CLI unassign command works. No database changes. 1.1.1 Fixes the cart price when a product has both a group price and quantity tiers. 1.1.0 Adds a customer group column and filter to the Users screen, with small security hardening. 1.0.1 Small fix to who sees the Pro banner on the Settings screen. 1.0.0 First public release.

常见问题:

Do retail customers see wholesale prices?

No. A price belongs to a group, and a visitor who is not in a group sees your normal WooCommerce price.

Can I hide products or a whole category from retail customers?

Yes. Set the audience on a product in its Mercenza tab, or on a product category when you edit it. Products that are wholesale only vanish from the shop, search, feeds, and the API for everyone else, and their links return a 404.

Can I keep the B2B area out of sight for retail customers?

Yes. Settings > General > Who sees the B2B area has two choices. "Only customers in a Mercenza group or company", the default on new installs, gives the B2B tab in My Account and the B2B buttons to group and company members only, so retail customers shop as usual and see nothing wholesale until you add them to a group. "All logged-in customers" gives them to everyone who is logged in. Customers who applied for a wholesale account can always see their Application page.

Can a customer be in more than one group?

No. Each customer is in one group: their own, or else the group of their company. Assigning a new group replaces the old one. A group can inherit from a parent group, so "Distributors" can sit under "Wholesale" and set only what differs. For prices, the most specific source wins: a price for that customer, then a price for their company, then the group prices (fixed price, then discount, then category rule, then catalog wide rule). At each group step the customer's own group is checked first, then its parent, up the chain. Settings > Pricing > Price source order changes the order of the sources, and the price inspector on the Pricing screen shows the decision for any product and customer.

Does it work with variable products?

Yes. Prices and tiers can be set per variation, and the variation picker shows the wholesale price.

Can I import existing wholesale prices?

Yes. Tools has CSV importers for customers, companies, sub accounts, applications, group prices, customer prices, tiers, and pricing rules, each with a dry run and an error report. There are also migrators for B2BKing, Wholesale Suite, Wholesale X, and WHOLS.

How do I change the look of the B2B pages?

Copy any file from the plugin templates folder to yourtheme/mercenza/ and edit the copy. Email templates are the exception: copy them to yourtheme/woocommerce/emails/, the folder WooCommerce uses.

Is it compatible with High-Performance Order Storage?

Yes, and with the Cart and Checkout blocks.

Where is the documentation?

Inside the plugin, under Mercenza, Help. Every settings field also links to the page that explains it.

Where is the source code of the JavaScript files?

The compiled files in assets/build are generated from the human readable sources in assets/src, which ship with the plugin together with package.json and webpack.config.js. To rebuild them, run npm install and then npm run build in the plugin folder.

更新日志:

1.2.3 - 2026-10-22 1.2.2 - 2026-10-19 1.2.1 - 2026-10-18 1.2.0 - 2026-10-17 1.1.2 - 2026-10-17 1.1.1 - 2026-10-16 1.1.0 - 2026-10-15 1.0.1 - 2026-10-15 1.0.0 - 2026-10-15