Skip to main content

Integration Points

This document outlines how Live Carts for WooCommerce integrates with various systems and provides extension points for developers.

Table of Contents

WooCommerce Hooks

The plugin integrates with key WooCommerce hooks:

  • woocommerce_cart_loaded_from_session - Initialize cart tracking
  • woocommerce_after_calculate_totals - Update cart contents
  • woocommerce_order_status_changed - Mark carts as converted

Analytics Dashboard

Native integration with WooCommerce Analytics provides:

  • Cart conversion rate metrics
  • Abandonment rate tracking
  • Average cart value analytics
  • Period-over-period comparisons

Developer Extensibility

Extensive hook system for customization:

  • Action Hooks: 6 custom actions for cart lifecycle events
  • Filter Hooks: 8 filters for modifying behavior and data
  • REST API: Extensible analytics endpoints
  • Database Schema: Well-documented table structure for custom queries