Showcase & Templates Showcase

CartLane Templates

Explore CartLane layouts and workflow modules included in the plugin documentation. Every item shown here maps to CartLane Free or Pro capability guidance.

Checkout & Cart Layouts

Plugin module

Multi-Step Checkout

Pro

A multi-step checkout layout for stores that want to separate customer, shipping, and payment steps.

Plugin module

Minimalist Slide-Out Cart

Free

A clean, distraction-free AJAX cart that keeps users on the product page and reduces friction.

Funnel Flows

Plugin module

Post-Purchase 1-Click Upsell

Pro

Document a post-purchase upsell path that can be enabled only when the store gateway and Pro configuration support it.

Included Workflows

This section lists CartLane workflows only. It does not reference external case studies, unverified benchmarks, or features outside the plugin scope.

Free

AJAX Side Cart documentation covers drawer triggers, cart events, and theme-safe cart behavior included in the plugin docs.

Pro

Pro documentation covers funnels, bumps, testing, pricing rules, analytics, and gateway adapter readiness without promising unavailable integrations.

Getting Started Introduction

Build CartLane Checkout Flows

CartLane is a performance-first WooCommerce toolkit. We provide the infrastructure to optimize your cart, boost average order value (AOV), and recover abandoned checkouts.

Quick Start

Install via WP-CLI or Composer. Ensure your environment is running PHP 8.0+ and supports WooCommerce HPOS (High-Performance Order Storage).

bash
# Global installation via WP-CLI
wp plugin install cartlane --activate

# Or require as a composer dependency
composer require cartlane/cartlane

Unlock CartLane Pro Recommended

The free version includes our blazing-fast AJAX Side Cart. Upgrade to Pro to unlock the Drag & Drop Funnel Builder, dynamic Order Bumps, and advanced A/B Testing engines.

REST API Driven

CartLane is built entirely on the WordPress REST API and React. Our frontend endpoints are highly optimized for headless configurations.

php
// Filter the main cart payload response
add_filter( 'cartlane_rest_cart_response', function( $response ) {
    $response['extensions'] = [
        'loyalty_points' => calculate_user_points(),
    ];
    return $response;
});
Getting Started Installation

Installation

Set up CartLane on your WooCommerce environment. We support both standard WordPress administration workflows and modern CLI deployment.

Standard Setup (Free)

The core framework is available on the WordPress.org repository.

  • Navigate to Plugins -> Add New.
  • Search for CartLane.
  • Install and activate the plugin.

Activating Pro License Envato

If you purchased via CodeCanyon, download the cartlane-pro.zip archive.

  1. Upload the zip via the plugins page and activate it alongside the free version.
  2. Go to CartLane -> License in your dashboard.
  3. Input your Envato Purchase Code to unlock licensed Pro modules.

WP-CLI

bash
# 1. Install base plugin
wp plugin install cartlane --activate

# 2. Upload and activate Pro
wp plugin install ./cartlane-pro.zip --activate
Getting Started Configuration

Configuration

CartLane features a centralized React-based admin dashboard. This allows you to manage global configurations, design preferences, and toggle modules seamlessly.

Global Settings

Once installed, navigate to CartLane -> Settings in your WordPress dashboard. Here you can configure:

  • Brand Colors: Sync your brand primary and secondary colors across all checkouts and carts.
  • Typography: Inherit your theme font stack or define custom Google Fonts.
  • HPOS Sync: Monitor high-performance order storage sync status directly from the panel.

Module-Specific Configuration

Features like the AJAX Side Cart and Order Bumps have their own dedicated menus. You can enable or disable these modules globally without needing external caching purges.

Advanced Developer Hooks

Need to programmatically override settings for specific user roles or environments? CartLane exposes robust PHP filters for all configuration payloads.

php
// Example: Force dark mode side cart for wholesale customers
add_filter( 'cartlane_get_global_settings', function( $settings ) {
    if ( current_user_can( 'wholesale_buyer' ) ) {
        $settings['theme']['mode'] = 'dark';
        $settings['features']['skip_cart'] = true;
    }
    return $settings;
});
Core Modules AJAX Side Cart

AJAX Side Cart

Replace the default WooCommerce cart page with a highly optimized, slide-out cart. This reduces friction and keeps users on the product catalog, significantly improving the path to purchase.

Triggering the Cart

By default, CartLane automatically binds to your theme native Add to Cart buttons and cart menu icons. You can manually trigger the side cart using custom CSS classes.

  • .cartlane-open-cart - Add this class to any link or button to open the side cart on click.
  • .cartlane-toggle-cart - Toggles the side cart visibility dynamically.

Supercharge Your Cart (Pro) Upsell Ready

Transform your side cart into a revenue engine. CartLane Pro introduces In-Cart Order Bumps and a Free Shipping Progress Bar to boost Average Order Value (AOV).

JavaScript Custom Events

CartLane dispatches custom DOM events that you can listen to in your theme or custom scripts.

javascript
// Listen for when the side cart is fully opened
document.addEventListener( 'cartlane:cart_opened', function( e ) {
    console.log( 'Cart opened! Current total:', e.detail.cartTotal );
});

// Listen for an item being added to the cart
document.addEventListener( 'cartlane:item_added', function( e ) {
    console.log( 'Added product ID:', e.detail.productId );
});
Core Modules Optimized Checkout

Optimized Checkout

Replace the WooCommerce default checkout with CartLane checkout layouts and configurable checkout controls.

Field Editor

CartLane provides a built-in field editor to hide, require, or rename checkout fields without writing custom PHP.

  • Hide Company Name: Perfect for B2C stores.
  • Hide Phone Number: Only ask for what you need to ship.
  • Address workflow: Keep shipping and billing fields focused on the details your store actually needs.

Trust Signals

CartLane automatically injects security badges and trust signals around the Place Order button to reassure buyers right before they pay.

Multi-Step Checkout (Pro) Conversion Boost

Break down the daunting single-page checkout into a clean, intuitive multi-step process. CartLane Pro documents configurable multi-step checkout layouts that remain compatible with WooCommerce payment flows.

Core Modules Order Bumps

Order Bumps

Increase your Average Order Value (AOV) instantly by offering highly relevant, one-click add-ons right before the customer completes their purchase.

Global Placement

CartLane leverages React and Zustand for state management, meaning Order Bumps are not restricted to just the checkout page. You can dynamically render them inside the AJAX Side Cart as well.

Advanced Bumps (Pro) Revenue Engine

CartLane Pro unlocks Dynamic Rules, Multi-Bumps, and A/B Testing specifically for bump offers.

Core Modules Abandoned Cart

Abandoned Cart Recovery

Automatically capture lost revenue. CartLane tracks users as they type their email and triggers recovery sequences if they fail to complete the checkout process.

Live Cart Tracking

CartLane uses early-capture technology. As soon as a user enters an email address in the checkout field or logs into their account, their cart state is synchronized in the background.

php
// Filter the checkout capture delay (default is 15 minutes)
add_filter( 'cartlane_abandoned_cart_cutoff_time', function( $minutes ) {
    return 30;
});

Advanced Recovery (Pro) Maximizer

CartLane Pro documents advanced recovery controls, repeatable email sequences, and discount-based win-back workflows where supported by your store configuration.

Advanced Funnel Builder Pro Only

Visual Funnel Builder

Design CartLane checkout flows without writing a single line of code. The React-powered drag-and-drop canvas lets you map out store-specific funnel steps.

Flow preview Checkout Funnel
Draft
Checkout Entry step
Upsell Offer Conditional offer
Order Complete Exit step

Core Concepts

A CartLane Funnel is built using nodes connected via conditional paths.

  • Trigger Nodes: What starts the funnel, such as Global Checkout or a specific product purchase.
  • Offer Nodes: The pages shown to the user, such as Upsell or Downsell.
  • Conditionals: Logic gates that route the user based on previous actions.

REST API Architecture

All funnel definitions are serialized and stored efficiently, and execution happens seamlessly via the REST API during checkout.

php
// Filter funnel execution logic programmatically
add_filter( 'cartlane_pro_funnel_should_execute', function( $should_execute, $funnel_id, $order ) {
    if ( $order->get_total() > 5000 ) {
        return false;
    }
    return $should_execute;
}, 10, 3 );
Advanced A/B Testing Pro Only

Split Testing Engine

Stop guessing what converts. CartLane Pro includes a robust, zero-flicker A/B testing engine that lets you experiment with different funnels, checkout layouts, and order bump pricing.

How It Works

Traffic is distributed across variants using a secure tracking cookie. The backend can record configured events and variant performance data for CartLane reports.

4.2%Variant ACheckout + Bump
VS
Winner7.8%Variant BCheckout + Upsell Funnel

Developer API

Hook into the variant assignment process to integrate external analytics.

php
// Hook into variant assignment
add_action( 'cartlane_pro_assigned_ab_variant', function( $experiment_id, $variant_id, $session_id ) {
    External_Tracker::log_experiment( [
        'experiment' => $experiment_id,
        'variant'    => $variant_id,
        'session'    => $session_id,
        'timestamp'  => time(),
    ] );
}, 10, 3 );
Advanced Dynamic Pricing Pro Only

Dynamic Pricing Engine

Incentivize bulk purchases and reward loyal customers. The Dynamic Pricing engine allows you to create complex discount rules instantly, without heavy server-side processing delays.

Supported Rule Types

CartLane Pro supports a wide array of condition-based pricing architectures:

  • Volume Discounts: Buy 5 to 9 items get 10% off; buy 10+ get 20% off.
  • BOGO: Buy 2 t-shirts, get 1 cap free.
  • Role-Based Pricing: Exclusive wholesale catalogs for logged-in B2B users.
Summer Wholesale RuleActive - Evaluated on Cart Update
Volume Tier
Condition:Quantity >= 10 in T-Shirts Category
Action:Apply 25% Discount to Cart

Performance First

Traditional pricing plugins often crash WooCommerce due to recursive cart recalculations. CartLane rule engine evaluates pricing trees in memory and caches the outcome.

Programmatic Overrides

Developers can inject completely custom algorithms into the pricing pipeline using the provided filter hooks.

php
// Filter the final price of a cart item
add_filter( 'cartlane_pro_calculate_item_price', function( $price, $cart_item, $rule_context ) {
    if ( is_user_logged_in() && check_is_user_birthday( get_current_user_id() ) ) {
        return max( 0, $price - 5.00 );
    }
    return $price;
}, 10, 3 );
Advanced Analytics Pro Only

CartLane Analytics

Use CartLane Analytics to review CartLane-specific events such as order bump accepts, funnel step movement, checkout actions, and abandoned cart recovery activity.

Event Tracking

Through the Event_Tracker module, CartLane can record module-specific events locally without requiring third-party tracking scripts.

  • Cart events: drawer opened, item added, coupon applied, checkout clicked.
  • Order bump events: bump viewed, accepted, removed, and purchased.
  • Funnel events: step viewed, offer accepted, offer skipped, and funnel completed.
  • Recovery events: cart captured, email queued, email sent, and recovered checkout linked.
Sample report CartLane Activity Overview
Last 30 days
Bump Revenue $4,250 From accepted bump events
Funnel Accept Rate 18.5% Accepted offers / viewed offers
Recovered Carts 32 Linked to recovery workflow
Module activity Sample
Cart Bumps Funnels
Tracked events
  • order_bump_accepted
  • funnel_step_viewed
  • recovery_email_sent
  • checkout_started

Report Views

Store owners can review CartLane reports by module and date range so operational decisions stay tied to plugin activity instead of mixed marketing data.

  • Revenue Overview: totals from CartLane-assisted bumps, funnels, and recovery workflows.
  • Funnel Steps: step-by-step drop-off and accept/skip activity for configured funnels.
  • Recovery Queue: captured carts, email status, and recovered checkout references.
  • Experiment View: variant assignment and configured event performance for A/B tests.

Local Data Model

Analytics data is intended to stay inside WordPress/WooCommerce tables controlled by the plugin. External analytics tools can be connected through hooks, but the docs do not require any third-party script.

Developer Hooks

Developers can mirror selected CartLane events into their own reporting layer without editing plugin files.

php
add_action( 'cartlane_analytics_event_recorded', function( $event_name, $payload ) {
    if ( 'order_bump_accepted' !== $event_name ) {
        return;
    }

    // Send a sanitized copy to your internal reporting service.
    my_store_log_cartlane_event( [
        'event'    => sanitize_key( $event_name ),
        'order_id' => absint( $payload['order_id'] ?? 0 ),
        'bump_id'  => absint( $payload['bump_id'] ?? 0 ),
    ] );
}, 10, 2 );
Advanced Payment Gateways Pro Only

Payment Gateways

To offer post-purchase One-Click Upsells, CartLane Pro utilizes specialized Gateway Adapters to securely tokenize and charge cards without re-entering details.

Supported Gateways

  • Stripe: Adapter-readiness guidance for WooCommerce Stripe gateway integrations.
  • PayPal: Adapter-readiness guidance for PayPal gateway workflows that support tokenized follow-up charges.
  • WooPayments: Adapter-readiness guidance for WooPayments-based checkout flows.

Custom Gateway Integration

If you are using a local or custom payment gateway, you can register a new adapter using the RealUpsellGatewayAdapterRegistry.

php
add_action( 'cartlane_register_gateway_adapters', function( $registry ) {
    // Requires implementing RealUpsellGatewayAdapterInterface.
    $registry->register( new My_Custom_Gateway_Adapter() );
});
Developers REST API Reference

REST API Reference

CartLane operates natively on the WordPress REST API, enabling headless WooCommerce setups and custom frontend integrations. All endpoints are prefixed with /wp-json/cartlane/v1.

Cart Endpoints

GET/cartlane/v1/cart

Retrieves the current user cart state, including items, totals, applied coupons, and active order bumps.

POST/cartlane/v1/cart/add

Adds a product or variation to the cart.

product_id
Integer (Required)
quantity
Integer (Optional, Default: 1)

Authentication (Nonce)

For logged-in users or sessions managed by WooCommerce, include the WordPress nonce in the headers of your requests.

javascript
fetch( '/wp-json/cartlane/v1/cart/add', {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
        'X-WP-Nonce': cartlane_data.nonce
    },
    body: JSON.stringify( { product_id: 123, quantity: 1 } )
} )
.then( res => res.json() )
.then( data => console.log( data ) );
Developers Hooks & Filters

PHP Hooks & Filters

Extend and modify CartLane core behavior without editing plugin files. We provide dozens of actions and filters strictly adhering to WordPress coding standards.

cartlane_checkout_fields

Allows you to add, remove, or reorder fields in CartLane optimized checkout process.

php
add_filter( 'cartlane_checkout_fields', function( $fields ) {
    unset( $fields['billing']['billing_company'] );
    return $fields;
});

cartlane_pro_order_bump_eligible

Determine programmatically if an order bump should be displayed.

php
add_filter( 'cartlane_pro_order_bump_eligible', function( $is_eligible, $bump_id ) {
    if ( WC()->cart->get_cart_contents_total() < 50 ) {
        return false;
    }
    return $is_eligible;
}, 10, 2 );

cartlane_funnel_step_completed

Fires immediately after a user accepts or rejects a funnel offer. Great for external CRM syncing.

Developers HPOS Integration

High-Performance Order Storage

CartLane is 100% compatible with WooCommerce HPOS architecture. We do not rely on legacy wp_posts or wp_postmeta tables for order processing.

HPOS Ready & Certified

You can safely enable custom order tables in WooCommerce without breaking any CartLane funnels, analytics, or order bumps.

Data Retrieval Methods

If you are writing custom integrations, always use WooCommerce CRUD objects to interact with orders created through CartLane.

php
// Correct way to get CartLane metadata from an HPOS order
$order = wc_get_order( $order_id );
$funnel_data = $order->get_meta( '_cartlane_funnel_data' );

// NEVER DO THIS (Breaks in HPOS):
// $funnel_data = get_post_meta( $order_id, '_cartlane_funnel_data', true );

Analytics & HPOS

Our internal Analytics engine uses custom lightweight tables joined correctly with WooCommerce order tables using abstract DB query layers. No direct table hardcoding exists.

Resources FAQ

Frequently Asked Questions

Quick answers for store owners and developers using CartLane with WooCommerce checkout, cart, and revenue optimization workflows.

General Questions

CartLane is built for WooCommerce stores that want faster cart interactions, cleaner checkout controls, order bump workflows, and Pro funnel features.

  • Does CartLane replace WooCommerce? No. CartLane extends WooCommerce cart and checkout workflows.
  • Can I use only the side cart? Yes. Modules can be configured independently where the plugin settings expose module controls.
  • Does CartLane require a page builder? No. CartLane works through plugin modules, WordPress hooks, and WooCommerce integration points.

Free vs Pro

The free plugin focuses on core cart and checkout infrastructure. Pro unlocks advanced conversion features documented in the Advanced section.

  • Free: AJAX Side Cart, base checkout controls, and developer extension points.
  • Pro: Funnel Builder, A/B Testing, Dynamic Pricing, Analytics, and Payment Gateway adapters.
  • License-gated features remain disabled until a valid Pro license is activated.

Compatibility

CartLane is designed for modern WooCommerce environments using current WordPress standards, REST endpoints, nonces, and HPOS-safe order access.

  • PHP 8.0+ is recommended for production stores.
  • WooCommerce HPOS is supported through WooCommerce CRUD APIs.
  • Theme conflicts are usually resolved by checking cart trigger selectors and checkout template overrides.
Resources Troubleshooting

Troubleshooting

Resolve the most common CartLane setup issues without leaving the plugin workflow.

Cart Issues

If the side cart does not open, confirm the module is enabled and your theme buttons are still using WooCommerce add-to-cart behavior.

  • Clear page cache and object cache after changing CartLane module settings.
  • Check that custom buttons include a supported CartLane trigger class or WooCommerce add-to-cart attributes.
  • Disable script optimization temporarily if a performance plugin delays CartLane frontend assets.

Checkout Issues

Checkout conflicts usually come from theme template overrides, payment gateway scripts, or custom snippets changing WooCommerce fields late in the request.

  • Test with a default WooCommerce-compatible theme to isolate template overrides.
  • Confirm active payment gateways render correctly on the default WooCommerce checkout.
  • Review custom snippets that modify checkout fields, totals, fees, or payment fragments.

Debug Checklist

When reporting an issue, capture the module state and environment first. This avoids guessing and shortens support turnaround.

text
1. WordPress version
2. WooCommerce version
3. CartLane version
4. Active theme name
5. Enabled CartLane modules
6. Browser console errors
7. Steps to reproduce
Resources License & Updates

License & Updates

Manage CartLane Pro activation, update checks, and production-safe upgrade workflows.

License Activation Envato

After purchasing CartLane Pro, activate the license from the CartLane license screen in wp-admin using your Envato purchase code.

  1. Keep the free CartLane plugin active when using CartLane Pro.
  2. Use the purchase code only on sites you control.
  3. If activation fails, confirm the site can make outbound HTTPS requests.

Safe Updates

For production WooCommerce stores, update during low-traffic windows and test checkout, cart, and payment flows immediately after the update.

  • Back up the database before updating revenue-critical checkout tools.
  • Update WooCommerce-compatible payment gateways before testing one-click upsell flows.
  • Purge cache after updating CartLane assets or checkout configuration.

Staging Sites

Use a staging copy to test new CartLane versions with your active theme, payment gateways, order bump rules, funnels, and checkout customizations before deploying to production.

Resources Support

Support

Prepare useful technical details before contacting CartLane support so issues can be reproduced and resolved faster.

Before Contacting Support

Run through the troubleshooting checklist first and confirm the issue still occurs with CartLane enabled and relevant modules configured.

  • Confirm the issue is reproducible on a clean browser session.
  • Check browser console errors on the affected cart or checkout page.
  • Test with cache/minification disabled if assets appear stale.

What To Include

Support requests should include exact steps, environment details, and the CartLane module involved.

  • CartLane version, WordPress version, WooCommerce version, PHP version.
  • Active theme and relevant checkout/payment/cart plugins.
  • Screenshots or a short screen recording of the issue.
  • Temporary admin access only when requested through the official support workflow.

Scope

CartLane support covers plugin setup, documented modules, license activation, and compatibility guidance. Custom theme development, custom gateway implementation, and third-party plugin customization may require separate development work.

Resources Changelog

Changelog

Track CartLane plugin and documentation updates using the same version history shipped with the plugin readme.

Version 1.1.1

Documentation and resource coverage update.

  1. Added

    Added Getting Started, Core Modules, Advanced, Developers, and Resources documentation groups.

  2. Added

    Added docs for AJAX Side Cart, Optimized Checkout, Order Bumps, Abandoned Cart, and Pro conversion modules.

  3. Added

    Added REST API, Hooks & Filters, HPOS Integration, FAQ, Troubleshooting, License & Updates, and Support pages.

Version 1.1.0

Release hygiene, safer data handling, admin UI updates, and REST gating improvements.

  1. Feature

    Added release asset hygiene and performance budget checks.

  2. Feature

    Added Keep Data on Uninstall setting for safer migrations.

  3. Tweak

    Improved admin visual presets and Tailwind UI components.

  4. Tweak

    Improved conditional frontend asset loading for faster page speeds.

  5. Fix

    Hardened uninstall cleanup coverage.

  6. Fix

    Improved Free vs Pro gating accuracy in the REST API.

Version 1.0.9

Analytics session tracking and package size fixes.

  1. Fix

    Removed auth-related session token usage from analytics session tracking.

  2. Tweak

    Slimmed down the release package by excluding vendor and Composer lock artifacts.

Version 1.0.8

Guest cart permission hardening and admin editor improvements.

  1. Security

    Hardened cart REST API permissions specifically for guest cart ownership validation.

  2. Fix

    Improved product search stability and sorting within the Order Bump editor component.

  3. Tweak

    Applied several Admin UX and accessibility updates.

Version 1.0.7

Repository review alignment release.

  1. Tweak

    Review compliance updates for script enqueues and review tooling alignment.

Version 1.0.6

Side cart and repository review compliance update.

  1. Security

    Hardening applied for Side Cart redirect handling and nonce validation.

  2. Tweak

    WordPress repository review compliance updates.

Version 1.0.5

Abandoned cart recovery link reliability update.

  1. Fix

    Resolved an issue with recovery link nonce verification on mobile devices.

Version 1.0.0

First public CartLane release.

  1. Added

    Added AJAX Side Cart with free shipping bar.

  2. Added

    Added Smart Checkout optimization tools.

  3. Added

    Added Order Bump checkout offer system.

  4. Added

    Added Abandoned Cart Recovery email sequences.

  5. Added

    Added 7-day Analytics dashboard.

  6. Added

    Added React 18 powered admin Single Page Application.

Update Notes

Release notes should stay aligned with planning/cartlane/readme.txt.

  1. Note

    Roadmap-style future commitments are intentionally excluded from this public documentation. Confirmed changes should be documented here after release.