Configuration
This guide covers how to configure Live Carts for WooCommerce to meet your specific needs.
Table of Contents
- Basic Settings
- Frontend Options
- Privacy Controls
- Debug and Logging
- Advanced Configuration
- Cart Abandonment Settings
- Data Retention Settings
Basic Settings
Navigate to WooCommerce > Live Carts to configure basic options:
Frontend Options
Display Cart ID
Toggle visibility of cart IDs on cart and checkout pages
- When enabled, customers can see their unique cart identifier
- Useful for support purposes and order tracking
Privacy Controls
Collect IP Addresses
Enable/disable IP address tracking
- Can be disabled for enhanced privacy compliance
Track Page URLs
Enable/disable URL tracking
- Tracks the last page viewed before cart abandonment
- Useful for understanding customer journey
Debug and Logging
Debug Mode
Enable detailed logging for troubleshooting
Log File Location
File: wp-content/plugins/live-carts-for-woocommerce/debug-<TOKEN>.txt
<TOKEN>
is a random identifier generated when debug mode is enabled.
What is Logged Errors and exceptions caught within the plugin during:
- cart creation and validation,
- cart content updates,
- marking carts as abandoned,
- order-to-cart association (order status changes),
- scheduled tasks (cron).
Entries appear only when an error/exception occurs on the plugin side.
Advanced Configuration
Cart Abandonment Settings
Default abandonment timeout is 2 hours, but can be customized using filters:
// Customize abandonment timeout (in seconds)
add_filter('phplugins_live_carts_abandon_time', function() {
return 3600; // 1 hour
});
Data Retention Settings
Default archive timeout is 30 days, customize with:
// Customize archive timeout (in seconds)
add_filter('phplugins_live_carts_archive_time', function() {
return 86400 * 60; // 60 days
});
Pro Version Configuration
License Management
Navigate to WooCommerce > Live Carts > Activation to manage your Pro license:
- License Key: Enter your BerryPress license key
- License Status: View activation status and expiration
- Automatic Updates: Enabled when license is active
Pro Feature Settings
Cart Editing:
- All cart editing is performed directly in the cart detail view
- Changes are automatically saved to both database and active sessions
- No additional configuration required
Recovery URLs:
- Automatically generated for each cart when viewed in admin
- 32-character unique keys ensure security
- URLs remain valid until cart is converted or archived
Order Creation:
- Available for any non-converted cart
- Creates pending WooCommerce orders with all cart contents
- Automatically applies coupons and calculates taxes
- Marks original cart as "converted" after order creation