Shopreview CLI Commands for Magento 2
Looking for Shopreview? View the full Shopreview page to explore features, configuration options, and pricing.
Command line tools for the Shopreview extension.
Available Commands
| Command | Description |
|---|---|
shopreview:selftest |
Run diagnostic tests on the extension |
Selftest
Performs automated diagnostic tests to verify the extension is properly configured and functioning.
Usage
bin/magento shopreview:selftest
What It Tests
The selftest checks:
- Extension enabled status
- Database table integrity
- Required configuration settings
- Module dependencies
Example Output
Extension Enabled: success
- Extension is enabled
Database Tables: success
- All required tables exist
Configuration: success
- Configuration is valid
Interpreting Results
Success:
test_name: success
- Description of what passed
Error:
test_name: error
- Description of what failed
When to Run
Run selftest:
- After initial installation
- After Magento upgrades
- When troubleshooting issues
- After database migrations
Useful Magento Commands
While not specific to Shopreview, these commands are helpful:
Cache Management
# Clear all cache
bin/magento cache:flush
# Clear specific cache types
bin/magento cache:clean config full_page
# Check cache status
bin/magento cache:status
Reindex
# Reindex all
bin/magento indexer:reindex
# Check indexer status
bin/magento indexer:status
Setup
# Run upgrades after module updates
bin/magento setup:upgrade
# Compile DI
bin/magento setup:di:compile
# Deploy static content
bin/magento setup:static-content:deploy
Automation
Cron-based Tasks
The extension uses Magento's cron system for scheduled tasks. Ensure cron is properly configured:
# Verify cron is running
bin/magento cron:run
Integration with CI/CD
Include selftest in deployment pipelines:
# Example deployment step
bin/magento setup:upgrade
bin/magento cache:flush
bin/magento shopreview:selftest
This catches configuration issues early in the deployment process.
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Support - Get help from our team
For a complete overview of features and configuration options, see Shopreview.