WooCommerce plugin docs / Integrations

Integrations

WooCommerce

  • Catalog: wc_get_products + query compatibility for untyped simples / missing stock meta
  • Cart: native session
  • Checkout: redirect to wc_get_checkout_url(); optional consent field
  • Orders: CRUD / HPOS-safe reader
  • Mail: wp_mail for recovery and stock alerts
  • Logs: WooCommerce logger, source aiwsa
  • Status: plugin panel on WooCommerce → Status

AI providers

Register extra adapters on aiwsa_register_providers. HTTP must pass Url_Validator (allowed hosts, HTTPS, reject_unsafe_urls).

Semantic search

Not bundled. Use aiwsa_semantic_search_available + aiwsa_semantic_search_ids. Set Search mode to Hybrid if you supply IDs.

Licence / feature gates

add_filter( 'aiwsa_feature_is_licensed', function ( bool $licensed, string $slug ) {
	// Return false to hide a non-core feature.
	return $licensed;
}, 10, 2 );

Core always-on slugs: search, cart_recovery.

Cart recovery mailer

Replace delivery:

add_filter( 'aiwsa_cart_recovery_mailer', function ( $mailer, $cart ) {
	return $mailer; // object used by Processor
}, 10, 2 );

Page builders

Shortcode only. No official Elementor/Divi widget.

Cron

Active: aiwsa_daily_cleanup (daily), aiwsa_cart_recovery (custom minutes). Registered-for-teardown but without handlers in this release: aiwsa_usage_rollup, aiwsa_embed_queue. Do not document those as live jobs.

Query args (public)

  • aiwsa_recover — restore abandoned cart (signed)
  • aiwsa_unsub — unsubscribe recovery mail (signed)

Do not rename these; emails already contain them.