Command line interface
This page contains console commands used when operating with the Product Label extension.
Base command
php -f bin/magento mirasvit:label:indexer
Base command of the extension. This command requires one of the following options.
| Option | Description |
|---|---|
| --status | displays information about Product Label index |
| --reindex-all | run full reindex of Product Label index |
| --reindex-new | run reindex of Product Label index for recently created/updated products |
Emulate cron
php -f bin/magento mirasvit:label:emulate:cron
Manually runs the extension's cron job instead of waiting for its scheduled execution. Use this to immediately apply label changes without waiting for the periodic cron run mentioned in Labels.