跳到内容

MarketBasketAnalysis for WooCommerce

v0.18.0

brian48x · 2026年10月2日 上架

Bundles ranked by profit, from your own orders. With proof. Frequently bought together and bundles that run on your own server.

正在使用
10 以下
评分
暂无
累计下载
523
最近更新
2026年11月13日
需要 WordPress 6.4+已测试到 7.1.5PHP 8.1+

贡献者

截图

Opportunities grid: ranked cross-sell and bundle picks with score, confidence and lift per rule. Pin, dismiss, or bundle rows in bulk.
Opportunities grid: ranked cross-sell and bundle picks with score, confidence and lift per rule. Pin, dismiss, or bundle rows in bulk.
Frequently Bought Together widget on a single product page, placed with the [mbawoo_fbt] shortcode or the Gutenberg block.
Frequently Bought Together widget on a single product page, placed with the [mbawoo_fbt] shortcode or the Gutenberg block.
Bundle Builder on the product page: the source product plus its mined companions, a running subtotal, the bundle discount, and a single Add to Cart.
Bundle Builder on the product page: the source product plus its mined companions, a running subtotal, the bundle discount, and a single Add to Cart.
Jobs page: pick an engine and a window, run now, and review completed runs with rule and transaction counts.
Jobs page: pick an engine and a window, run now, and review completed runs with rule and transaction counts.
API keys page: mint read-only keys so AI agents and external systems query the same mined recommendations over REST and MCP.
API keys page: mint read-only keys so AI agents and external systems query the same mined recommendations over REST and MCP.
Tabbed Settings page: General, Mining, Bundles, Scoring, Notifications, AI.
Tabbed Settings page: General, Mining, Bundles, Scoring, Notifications, AI.

Bundles ranked by profit, from your own orders. With proof.

MarketBasketAnalysis finds what your customers buy together, ranks it by profit, sells it as “Frequently bought together” and bundles, and shows the profit it earned. It runs entirely on your own server.

How it works

  1. It reads your WooCommerce order history and finds the products your customers buy together.
  2. It ranks each pairing by the profit it makes you. Cost comes from WooCommerce Cost of Goods Sold, so there is nothing to type. A product with no cost says so and ranks by lift instead.
  3. You put the winners in front of shoppers: on the product page as “Frequently bought together”, or as a bundle with its own discount.
  4. Results shows the profit and revenue those placements earned.

What’s included

  • Frequently bought together widget, with one button that adds every shown item to the cart. Place it with the [mbawoo_fbt] shortcode, the Gutenberg block, or the theme template tag. Recommendations are precomputed, so the widget adds no work at page load.
  • Bundles. Turn an opportunity into a bundle in one click. The plugin creates the bundle discount for you and applies it at the cart the moment a shopper has every item in the bundle, with no code to type.
  • Bundle builder widget, on the product page. Shortcode [mbawoo_bundle_builder] or the MBA Bundle Builder Gutenberg block. The shopper picks from the products bought together with the one they are viewing, sees a running subtotal, and adds the set with a single Add to Cart.
  • Opportunities, one ranked list. Each row shows how many times the products were bought together and the profit figure, with three actions: Show on product page, Create bundle, Hide.
  • Results. Attributed profit and revenue, per bundle and per widget, counted over a 14-day attribution window, with CSV export.
  • Weekly summary email, optional and off by default: profit earned and your top 3 opportunities, sent through your site’s own mailer.
  • Five screens: Home, Opportunities, Bundles, Results, Settings.
  • Runs on your server. The analysis happens inside your WordPress install, on a schedule you choose or on demand, and individual orders and customer records never leave your server. Works with both High-Performance Order Storage (HPOS) and classic order tables. WP-CLI commands are included: wp mbawoo run-job and wp mbawoo purge-old-jobs.

MBA Plus

Everything in this plugin works with no license and no account, and nothing in it is withheld or limited. The profit figure shows on every opportunity, for everyone.

MBA Plus is a paid service that runs on our servers. There is nothing else to install: after you buy Plus you receive a license key by email, and you paste it into WooCommerce, MBA: Settings, General tab, Connect MBA Plus, field License key. This plugin then connects to the hosted services. Today that is MBA’s AI: AI suggestions for products with no order history yet, a sense check of your top pairs, and bundle copy, with no AI key to set up (a separate checkbox on the AI tab, off by default). A license key connects hosted services only; it does not switch on or off anything that runs on your own server. There are two plans, Free and Plus. Plus comes in three steps with the same features, set by your average monthly orders: Plus 500 ($29 a month or $278 a year, up to 500 orders a month), Plus 2,000 ($59 a month or $566 a year, up to 2,000 orders a month), and Plus Unlimited ($99 a month or $948 a year). Each step has a 30-day free trial. The Get Plus button in Settings opens the install page in a new tab.

On any plan, the optional AI features can also use your own Anthropic or OpenAI API key, and the provider bills you directly; your own key always takes priority over MBA’s AI. Nothing in the plugin needs an AI key.

How it’s different

Plenty of plugins show “Frequently bought together” or build bundles from order history. Among the recommendation and bundle plugins we have checked, none ranks its suggestions by profit, and none reports the profit those suggestions earned. MarketBasketAnalysis does both, with the cost data you already keep in WooCommerce.

Compatibility

  • WordPress 6.4+ (tested up to 7.1)
  • WooCommerce 8.0+ (tested up to 9.4)
  • PHP 8.1+ (8.2 recommended)
  • Both classic and High-Performance Order Storage (HPOS) order tables
  • Multisite-compatible (per-site activation, per-site settings)

External services

This plugin works without any external service. By default, no data leaves your WordPress install: nothing below runs until you enter an MBA Plus license key, add an AI provider key, set an error-reporting DSN, or enter a webhook URL. Mining, recommendations, and the storefront widgets always run on your own server.

Every request below goes from your server straight to the service named, with credentials you supply. WordPress adds its standard user agent header to these requests, which includes your site address.

MBA Plus (license check)

MBA Plus is MarketBasketAnalysis’s own paid hosted service. The plugin contacts it only after you enter a license key under Settings, General, Connect MBA Plus. With the field empty, no request is made.

  • Where: https://app.marketbasketanalysis.com/api/v1/license/validate
  • What is sent: the license key, your site address, the plugin name, and the plugin version.
  • When it is sent: when you save a key, and then about twice a day while a key is saved (the answer is cached for 12 hours), when an admin screen or a hosted service needs the license status. Removing the key stops it.

The Get Plus button only opens https://www.marketbasketanalysis.com/install in a new tab; the plugin sends nothing to it.

This service is provided by MarketBasketAnalysis, the makers of this plugin: Terms of Service, Privacy Policy.

MBA’s AI (managed AI, with MBA Plus)

MBA’s AI runs the AI features on MarketBasketAnalysis’s servers, so no AI key is needed. It is off by default: it runs only when MBA Plus is connected AND you tick “Use MBA’s AI for suggestions (sends product names, categories and prices to MBA’s servers)” on the AI tab of Settings, AND no AI key of your own is saved (your own key always takes priority). Every request carries your license key and your site address.

  • Where: https://app.marketbasketanalysis.com/api/v1/ai/pairings, /api/v1/ai/sense-check, /api/v1/ai/bundle-copy and /api/v1/ai/usage.
  • Pairing suggestions: after each completed analysis, your published products (up to 5,000 per request), each as product ID, name, first category, price, and cost when one is set, plus the IDs of the products with no order history yet. A product the service already answered for is not asked about again for 30 days, and nothing is sent when every product has order history or a suggestion.
  • Sense check: after each completed analysis, up to 100 of your top pairs, each as the two product names and first categories and how many orders held both.
  • Bundle copy: the names of the products in a bundle, when you ask for AI bundle copy.
  • Usage: when you open the AI tab with MBA’s AI on, a request for this month’s usage (cached for ten minutes). Nothing but the license key and site address is sent.

Never sent: customer names, email addresses, postal addresses, phone numbers, IP addresses, or individual orders. The service passes the catalog text to an AI provider to produce the answer.

This service is provided by MarketBasketAnalysis, the makers of this plugin: Terms of Service, Privacy Policy.

AI features: what they send and when

The AI features (the ai_catalog engine, the sense check, bundle copy, the weekly plan, and shopper-facing rationales) send prompts to Anthropic or OpenAI, whichever you pick under Settings, AI, Advanced: Use your own AI key instead, using your own API key. With no key saved, every AI feature is inert and no request is made.

What is sent, per feature:

  • ai_catalog engine: up to 500 published products, each as product ID, SKU, name, first category, and price. Order history is not sent.
  • Sense check: up to 100 of your top pairs from the latest analysis, each as the two product names and first categories and how many orders held both.
  • Bundle copy: the titles (or SKUs) of up to eight products in the bundle.
  • Shopper-facing rationales: two product titles and the first category of each, the pair’s co-purchase statistics (how many baskets contain both, confidence, support, lift), and the reply language.
  • Weekly plan: your store’s hostname, the week date, up to 10 top opportunities (product SKUs, action, score, estimated profit), up to 5 approved bundles (SKU, status, lift, confidence), the number of mining jobs, up to 3 highest-margin products (SKU and title), and up to 5 substitution pairs (SKUs and score). Only when a B2B plugin (B2BKing, WooCommerce B2B, or Wholesale Suite) is active, it also sends up to 5 customer-group totals: the group ID or wholesale role, the number of customers in the group, total spend, and the top product IDs with units sold.

Never sent: customer names, email addresses, postal addresses, phone numbers, IP addresses, or individual orders. Order history reaches the provider only as the aggregate counts and scores listed above.

When it is sent:

  • ai_catalog engine: when a mining job runs with the ai_catalog engine, which happens only when you pick that engine on the Jobs page or in setup, or make it the default engine with Auto-run mining turned on (off by default).
  • Sense check: once after each completed analysis, while your own key is saved.
  • Bundle copy: when you click Draft AI copy on the Bundle proposals page.
  • Weekly plan: once a week, only if you turn on the weekly plan email (off by default).
  • Shopper-facing rationales: when an app using one of your plugin API keys requests a rationale for a product pair that has no cached rationale. Rationales stay cached for 30 days. The storefront widget only reads cached rationales and never calls the provider itself.

Anthropic API

Anthropic’s Claude API is a large language model service. The plugin uses it for the AI features above when Anthropic is your provider (the default). Requests go to https://api.anthropic.com/v1/messages with the API key you enter under Settings, AI, and Anthropic bills you directly. The data and triggers are the ones listed under “AI features: what they send and when”.

This service is provided by Anthropic, PBC: Commercial Terms of Service, Privacy Policy.

OpenAI API

The OpenAI API is a large language model service. The plugin uses it for the AI features above when you choose OpenAI as your provider under Settings, AI. Requests go to https://api.openai.com/v1/chat/completions with the API key you enter, and OpenAI bills you directly. The data and triggers are the ones listed under “AI features: what they send and when”.

This service is provided by OpenAI: Business Terms, Privacy Policy.

Sentry (optional error reporting)

Sentry is an error-monitoring service. The plugin reports errors to it only if you set a Sentry DSN, either with the MBAWOO_SENTRY_DSN or MBAWOO_REPORTS_SENTRY_DSN constant in wp-config.php or by saving a DSN to the mbawoo_sentry_dsn option. There is no settings screen for it, and with no DSN set the plugin makes no Sentry request. Reports go to the host in your DSN (for Sentry’s hosted service, an ingest.sentry.io address).

  • What is sent: the error type and message, the stack trace (file paths, line numbers, function names), your server’s hostname, the plugin and WordPress versions, and a tag naming the plugin task that failed. No order data, customer data, or product data is added.
  • When it is sent: when a plugin cron job or REST handler catches an error, and when an uncaught exception or fatal PHP error ends a request. PHP reports uncaught errors site-wide, so an error from other code on the site can be reported too.

This service is provided by Functional Software, Inc. (Sentry): Terms of Service, Privacy Policy.

Job notification webhook (a URL you choose)

If you enter a URL in Settings, Notifications, Job completion webhook URL, the plugin sends a JSON POST to that URL after every mining job completes or fails. You choose the destination, so its terms and privacy practices are those of whoever runs that URL.

  • What is sent: the event name (job completed or job failed), the job ID, your site URL, a result summary (job status, number of rules found, number of orders analyzed, run time, and the error message when the job failed), and a timestamp. If you set a webhook signing secret, the request carries an HMAC-SHA256 signature header.
  • When it is sent: after each mining job, only while a webhook URL is saved. Leave the field blank to turn it off.

Switched off in this release

The plugin files also contain code for features that are switched off in this release. They have no screen, no scheduled task, and no setting, and they make no requests. They are listed here because the code names an outside service.

  • Notion page sync. The code names the Notion API (https://api.notion.com/v1). Switched off: no request is made to Notion. Notion is provided by Notion Labs, Inc.: Terms and Privacy, Privacy Policy.
  • Catalog enrichment, the AI chat, and the autonomous agent. Their code calls the same Anthropic and OpenAI addresses listed above. Switched off: they make no requests, with or without an API key.
  • Feature request form. Its code sends an email to the MarketBasketAnalysis team through your site’s own mailer (wp_mail). Switched off: the form has no screen and no email is sent.

Emails from your own site

Setup tips, the weekly plan email, and job alert emails go through WordPress’s own wp_mail function and whatever mail service your site already uses. The plugin adds no mail provider of its own. Setup tips are off by default and turn on with a checkbox in the setup hub or in Settings, Notifications. The weekly plan email is off by default, and job alert emails go out only when you enter an alert address in Settings, Notifications.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums