Pitchbar for WordPress & WooCommerce — Streaming AI Chat Widget, Knowledge Sync & Deep Store Integration

Pitchbar for WordPress is the official companion plugin that connects your WordPress (or WooCommerce) site to a Pitchbar workspace and drops a streaming Sales-AI chat widget on every public page. The agent answers from your own posts, pages, and products — captures leads, applies real coupon codes to the cart, looks up the visitor's orders, and hands off to a human operator in real time.

One click installs the widget on every public page. Posts, pages, and the entire WooCommerce catalog sync to your Pitchbar agent in the background. Five major page builders (Elementor, Divi, Beaver, Oxygen, Bricks) are rendered properly so their visible HTML actually reaches the agent. Every product / post in the WP admin gets an “Indexed” badge so you can see at a glance which entries are searchable.

Self-hosted, GPL-licensed, multi-page-builder, WooCommerce-aware. Built by the team behind Pitchbar.

Pitchbar for WordPress — streaming AI sales widget with knowledge sync


Live Demo

WordPress + WooCommerce demo site (full admin access, the widget is loaded on the front end):

Visit the front end and chat with the widget in the bottom-right corner. Open Settings → Pitchbar in the WP admin to see the connection panel, the agent picker, and the “Sync posts now / Sync products now” buttons. Open Posts or Products to see the “Pitchbar” admin column with Indexed / Out of date / Not indexed pills.

What you need to run it: a Pitchbar workspace (the SaaS this plugin connects to). If you've purchased the main Pitchbar — Self-hosted Sales AI Widget you already have one. Otherwise create a free trial workspace at your Pitchbar deployment and paste the URL + API token into the plugin's settings page.


Why this plugin


What the plugin actually does

1. One-click widget embed

2. Posts + pages knowledge sync

3. Page-builder support

4. WooCommerce: product sync

5. WooCommerce: deep store integration

6. Admin badges + status

7. Connection & diagnostics

8. Security & privacy


Where the plugin is genuinely different

Generic chat plugins drop a third-party script and call it done. Pitchbar for WordPress is built to actually work on real WordPress sites:


Requirements


Installation in 60 seconds

  1. Download the pitchbar.zip from your CodeCanyon downloads.
  2. WP admin → Plugins → Add New → Upload Plugin. Choose the zip, click Install Now, then Activate.
  3. Settings → Pitchbar. Paste your Pitchbar workspace base URL and the API token you created in your Pitchbar admin under Settings → API tokens.
  4. Click Test connection. The plugin reports the workspace name and lists the agents you can attach.
  5. Pick an agent from the dropdown. Click Save changes. Done — visit any public page on the site and the widget loads in the bottom-right corner.
  6. Hit “Sync posts now” (and, on Woo sites, “Sync products now”) so the agent has knowledge to answer from. New posts and products are pushed automatically on every save / publish thereafter.

Frequently Asked

Does this plugin need anything other than WordPress?

A Pitchbar workspace — that's where the AI lives. The plugin handles the WordPress side: widget embed, knowledge sync, store integration, admin badges. If you bought the main Pitchbar self-hosted item you already have a workspace. Otherwise you sign up for one in the Pitchbar deployment you want to use.

Will it slow my site down?

No. The widget loader is a single asynchronous <script> tag injected into wp_footer. The widget itself is under 25 KB gzipped and renders inside a Shadow DOM, so it never blocks paint and never interacts with theme CSS. Page-builder content is rendered server- side only when the “Sync now” button runs — never on every visitor request.

Does it work with WooCommerce subscriptions / bookings / bundles?

Yes — the product syncer doesn't filter by type, so subscriptions, bundles, memberships, bookings, and any custom product type extensions register all sync. If your store has a multilingual plugin or subscription gate that hides products from wc_get_products, a fallback WP_Query against post_type=product picks them up automatically.

What happens if a sync hits PHP's 30-second timeout on shared hosting?

The syncer is resumable. After 20 seconds of wall-clock work it persists a resume marker in a transient, schedules a WP-Cron continuation 30 seconds out, and finishes the rest in the background. You'll see a soft “is finishing in the background” notice on the Plugins screen while it works. Re-running “Sync now” just resumes from where the last pass left off.

Can I see which posts have actually been indexed?

Yes — every post and product gets a green “Indexed”, yellow “Out of date”, or gray “Not indexed” pill in the WP admin list tables. The status is computed from a sync timestamp + content hash the plugin stamps on every successful push.

Are my customer's emails sent to the AI provider?

No. The shopper context carried in the widget loader contains wp_user_id and a SHA-256 hash of the email — never the plaintext email. The Pitchbar server uses the hash to dedupe leads and correlate sessions, nothing more.

Does the widget work with Elementor / Divi / Beaver / Oxygen / Bricks?

Yes. Each builder ships a public renderer; the plugin calls it server-side when syncing so the visible HTML reaches the agent intact. Without this, builder-owned pages have empty post_content and the agent silently has no knowledge of them. Divi posts route through the_content correctly with setup_postdata priming.

Can a logged-in customer ask “where's my order?”

Yes — that's the lookup_order tool. Enable it on the agent in your Pitchbar admin and the AI will call back to the plugin's /wp-json/pitchbar/v1/orders/lookup endpoint over an HMAC-signed POST. The plugin returns the visitor's recent orders with status, items, total, tracking URL (AfterShip / Shipment Tracking / generic _tracking_url meta), and a deep-link to their view-order page.

Can the bot apply a coupon to the cart?

Yes. The agent emits a <coupon/> card with the code, label, and discount; the visitor clicks Apply; the plugin's /wp-json/pitchbar/v1/cart/coupon endpoint validates the code with WC_Coupon and stages it in a 15-minute transient. On the visitor's next cart load $cart->apply_coupon() fires automatically.

Can I disable the widget on specific post types?

Yes — the settings page lets you tick which post types load the widget. Posts and Pages are enabled by default; uncheck them or tick custom post types (CPTs) as needed. Singular pages of unchecked types stay widget-free.

Is the plugin open-source?

Yes — GPLv2 or later. No obfuscation, no encoder, no phone-home. Fork it, audit it, ship a variant — whatever you need.


What's included


Roadmap (no extra purchase)

Already on the radar for upcoming releases — every buyer in the major version receives every minor / patch release at no extra cost:


Ready to ship

Pitchbar for WordPress is production-ready, GPL-licensed, and powered by the same team that builds the Pitchbar SaaS. Every feature on this page is shipped, tested, and visible in the demo site.

Drop it on your WordPress site. Connect to your Pitchbar workspace. Done.