Documentation

Everything you need to set up and get the most out of Smart Cart OS.

🚀 Quick Start

Install from the Shopify App Store → go to Theme Editor → add Smart Cart OS block → toggle it on. You're live in under 5 minutes.

🎯 Goals & Rewards

Set up to 3 spending goals (e.g. Free Shipping, Free Gift, 10% Off). Each goal has a label, threshold, icon, and toggle. Goals auto-chain as customers spend more.

🛒 Cross-Sell Recommendations

Choose from Automatic (full cascade), Shopify API only, or Manual overrides. Automatic mode works out of the box with zero configuration.

📊 Analytics

Track revenue influenced, items added, goals completed, and checkout attribution. All data is honest — only counts items added through Smart Cart OS.

Setting up goals

In the Shopify Theme Editor, find the Smart Cart OS block. You'll see settings for Goal 1, Goal 2, and Goal 3. For each goal:

Goals are automatically sorted by threshold and chain together. When a customer hits Goal 1, the bar advances to Goal 2.

Recommendation modes

Automatic (default)

Uses a cascading priority system that requires zero setup:

Shopify API only

Uses only Shopify's built-in product recommendation engine. Good if you want Shopify to handle all recommendation logic.

Manual overrides only

Reads from a product metafield called custom.smart_cart_recs. Set this to a comma-separated list of product handles to control exactly which products appear as cross-sells.

Fastest path suggestions

Smart Cart OS automatically calculates the cheapest product that will unlock the next reward. It shows a one-tap "Add" button so customers can reach their goal instantly. This feature can be toggled on or off in settings.

Variant selector

For products with multiple variants (e.g. sizes), Smart Cart OS shows a dropdown in the cross-sell carousel. Customers can pick their size (XS/S/M/L/XL) before adding to cart — no need to leave the cart drawer.

Customising the appearance

All visual settings are in the Theme Editor:

Analytics & tracking

Smart Cart OS tracks the following events:

Debug mode

Open your browser console and run these commands:

SmartCartAnalytics.getSummary()    // Full session summary
SmartCartAnalytics.enableDebug()   // Turn on console logging
SmartCartAnalytics.getEventLog()   // Raw event array

External integration

Smart Cart OS fires a custom DOM event smartcart:event for every tracked action. You can capture this in Google Analytics 4, Klaviyo, or any other tool that listens for custom events.

Fail-safe architecture

Smart Cart OS is designed to never break your checkout:

Need help?

Email us at support@peasoupdigital.com or visit the Support page.