WooCommerce Integration
The Loyalty.lt WooCommerce plugin seamlessly integrates loyalty card functionality into your WordPress e-commerce store. Customers can earn points on purchases, redeem rewards, and track their loyalty status directly from your store.Plugin Overview
Key Features
Automatic Point Awards
Checkout Integration
Customer Dashboard
Admin Management
Installation
Method 1: WordPress Plugin Directory
Access Plugin Directory
Search for Plugin
Install and Activate
Configure Settings
Method 2: Manual Installation
Download Plugin
Upload Plugin
Install ZIP File
Activate Plugin
Configuration
Basic Setup
Advanced Configuration
Product-Specific Rules
Product-Specific Rules
- Category Multipliers: Different rates for product categories
- Product Exclusions: Products that don’t earn points
- Bonus Point Products: Products that earn extra points
- Seasonal Campaigns: Time-limited bonus point periods
Customer Tiers
Customer Tiers
- Tier Levels: Bronze, Silver, Gold, Platinum
- Tier Benefits: Point multipliers and exclusive offers
- Progression Rules: How customers advance tiers
- Tier Rewards: Special bonuses for tier achievements
Email Integration
Email Integration
- Welcome Emails: New loyalty member messages
- Point Notifications: Emails when points are earned/redeemed
- Tier Updates: Notifications for tier changes
- Expiration Warnings: Alerts for expiring points
Customer Experience
Registration Flow
Account Creation
Welcome Points
Email Confirmation
Dashboard Access
Earning Points
Redeeming Points
Checkout Integration
Apply Discount
Real-time Updates
Order Completion
Admin Features
Customer Management
- Current points balance
- Lifetime points earned and redeemed
- Tier status and progression
- Recent transaction history
- Customer activity timeline
Reporting and Analytics
Points Report
- Daily/weekly/monthly summaries
- Point liability tracking
- Redemption rate analysis
- Revenue impact metrics
Customer Insights
- Tier distribution analysis
- Engagement level metrics
- Churn risk identification
- Customer lifetime value
Product Performance
- Point-earning product rankings
- Category performance analysis
- Promotional campaign results
- Cross-sell opportunities
Financial Impact
- Revenue attribution to loyalty
- Average order value impact
- Customer retention rates
- Program cost analysis
Customization
Hooks and Filters
The plugin provides numerous WordPress hooks for customization:Template Overrides
Customize the appearance by copying templates to your theme:Copy Templates
/plugins/loyalty-lt/templates/
to /your-theme/loyalty-lt/
.Modify Templates
Style with CSS
Test Changes
Available Templates
Customer Account Templates
Customer Account Templates
account/loyalty-dashboard.php
- Main loyalty dashboardaccount/points-history.php
- Transaction history tableaccount/available-rewards.php
- Redemption optionsaccount/tier-progress.php
- Tier status display
Checkout Templates
Checkout Templates
checkout/loyalty-points.php
- Points balance displaycheckout/point-redemption.php
- Redemption controlscheckout/loyalty-rewards.php
- Available rewards
Widget Templates
Widget Templates
widgets/loyalty-card.php
- Loyalty card widgetwidgets/points-balance.php
- Points balance widgetwidgets/tier-status.php
- Tier status widget
Troubleshooting
Common Issues
Points Not Awarding
Points Not Awarding
- Check API credentials in plugin settings
- Verify order status is set to “Completed”
- Ensure customer has a loyalty card
- Check product/category exclusion rules
- Review minimum order amount settings
Checkout Integration Issues
Checkout Integration Issues
- Clear cache if using caching plugins
- Check for JavaScript conflicts in browser console
- Verify AJAX requests are reaching the server
- Test with default theme to isolate theme conflicts
- Ensure WooCommerce is up to date
API Connection Problems
API Connection Problems
- Verify API credentials are correct
- Check if staging/production environment is correct
- Ensure server can make outbound HTTPS requests
- Check firewall settings on hosting provider
- Test API connection using staging environment
Customer Data Sync Issues
Customer Data Sync Issues
- Trigger manual sync from plugin settings
- Check for duplicate customer accounts
- Verify email addresses match exactly
- Review customer merge/deletion logs
- Contact support for data reconciliation
Debug Mode
Enable debug logging for troubleshooting:wp-config.php
:Performance Optimization
Caching Considerations
Object Caching
- Cache customer point balances
- Store tier information locally
- Cache redemption options
- Implement cache invalidation on updates
Page Caching
- Exclude checkout pages from full-page caching
- Use AJAX for dynamic loyalty content
- Cache static loyalty pages
- Implement cache warming for popular pages
Database Optimization
API Request Optimization
Security Best Practices
API Security
Credential Storage
- Store API credentials in wp-config.php
- Use environment variables for sensitive data
- Never commit credentials to version control
- Rotate API keys regularly
Request Validation
- Validate all customer inputs
- Sanitize point amounts and references
- Check user permissions before API calls
- Implement rate limiting for API requests
Data Protection
- Encrypt sensitive customer data
- Use HTTPS for all API communications
- Implement proper session management
- Log security-related events
Access Control
- Restrict admin access to loyalty settings
- Implement role-based permissions
- Audit admin actions and changes
- Use strong authentication methods
Migration and Updates
Migrating from Other Loyalty Plugins
Export Existing Data
Data Transformation
Import to Loyalty.lt
Verify Data Integrity
Customer Communication
Plugin Updates
- Plugin checks for updates daily
- Notifications appear in WordPress admin
- One-click updates with backup recommendations
- Changelog displayed before updating
Advanced Features
Multi-Store Support
For businesses with multiple WooCommerce stores:Shared Loyalty Program
Shared Loyalty Program
Store-Specific Rules
Store-Specific Rules
- Different point rates per store
- Store-exclusive offers and rewards
- Location-based tier benefits
- Individual store performance tracking
Network Management
Network Management
- Central admin dashboard for all stores
- Bulk configuration updates
- Network-wide campaigns and promotions
- Consolidated reporting across stores
API Extensions
Support and Resources
Documentation and Guides
- Plugin Documentation: Complete setup and configuration guide
- Video Tutorials: Step-by-step installation and customization videos
- Code Examples: Sample implementations and customizations
- Best Practices: Optimization and security recommendations
Support Channels
Technical Support
Developer Support
Community Forum
Partners Portal
Professional Services
- Custom Development: Tailored features and integrations
- Migration Services: Data migration from other loyalty systems
- Performance Optimization: Speed and scalability improvements
- Training and Consultation: Team training and best practices