Upgrading POS Pro
This guide explains how to upgrade your POS Pro plugin to the latest version.
Before You Begin
Before upgrading, we recommend:
- Backup your database: Create a full backup of your database
- Backup your files: Copy the
/platform/plugins/pos-prodirectory - Check compatibility: Verify the new version is compatible with your Botble CMS version
- Review release notes: Check the changelog for breaking changes
Upgrade Process
Method 1: Standard Upgrade
- Download the latest version from CodeCanyon downloads page
- Extract the downloaded zip file
- Replace the entire
/platform/plugins/pos-profolder with the new version - Run database migrations:bash
php artisan migrate - Clear all caches:bash
php artisan cache:clear php artisan config:clear php artisan view:clear - Rebuild assets (if needed):bash
npm run build php artisan cms:publish:assets
Method 2: Admin Panel Upgrade
- Download the latest version from CodeCanyon downloads page
- Go to Admin > Plugins > Add New
- Upload the zip file
- The system will detect an existing installation and offer to upgrade
- Clear cache from Admin > Platform Administration > Cache Management
Method 3: Manual Upgrade (Advanced)
If you've made custom modifications:
- Download the latest version
- Extract and compare files with your modified version
- Merge your custom changes carefully
- Replace the
/platform/plugins/pos-profolder - Run migrations and clear caches as above
WARNING
Custom modifications may be lost during upgrades. Consider using hooks and events instead of modifying plugin files directly.
Post-Upgrade Steps
After upgrading:
- Clear Browser Cache: Hard refresh (Ctrl+Shift+R) on POS pages
- Test POS Functions:
- Open the POS interface
- Add a product to cart
- Complete a test transaction
- Test receipt printing
- Verify Settings: Check POS settings are preserved
- Test Integrations: If using Stripe Terminal or other integrations, verify they work
Database Migrations
Some upgrades include database changes. Always run:
php artisan migrateIf you encounter migration errors:
- Check the error message
- Verify database connection
- Ensure you have database write permissions
- Contact support if issues persist
Troubleshooting
Assets Not Loading
If CSS/JS doesn't load after upgrade:
npm run build
php artisan cms:publish:assets
php artisan cache:clearFeatures Missing
If features seem missing:
- Check the plugin is activated
- Verify user permissions
- Review settings - some may reset
Interface Looks Wrong
If the POS interface displays incorrectly:
- Clear browser cache completely
- Try incognito/private mode
- Rebuild assets as above
Errors After Upgrade
If you see errors:
- Check
/storage/logs/laravel.logfor details - Verify PHP version meets requirements (8.2+)
- Ensure all dependencies are up to date
- Restore from backup if necessary
Rolling Back
If you need to revert to a previous version:
- Restore your file backup to
/platform/plugins/pos-pro - Restore your database backup
- Clear all caches
- Verify the POS works correctly
DANGER
Database rollback may cause data loss for any transactions made after the upgrade. Only roll back if absolutely necessary.
Version-Specific Notes
Check the changelog for version-specific upgrade notes. Major versions may include:
- Database schema changes
- New required settings
- Deprecated features
- Breaking API changes
Getting Help
If you need assistance:
- Review the troubleshooting guide
- Check the FAQ
- Contact support: [email protected]
Include in your support request:
- Current POS Pro version
- Version you're upgrading to
- Botble CMS version
- Error messages (if any)
- Steps you've taken
