CLI commands
Product kits reindex
bin/magento mirasvit:product-kit:reindex
This command executes processes all configured kits and updates the generated combinations, pricing, and availability data stored in the index tables. Use this command after changing kit configurations or stock to ensure storefront data is up to date.
This command starts up at minute 0 past every 2nd hour by cron.
To reindex a single kit, pass its ID:
bin/magento mirasvit:product-kit:reindex 12
If a kit cannot be reindexed — for example, a smart kit whose conditions fail — the command prints
The product kit was not reindexed: followed by the reason, and moves on to the next kit. The failed kit keeps
the products it had before. When any kit fails, the command exits with a non-zero code, so a deployment script or
scheduler can detect it. The scheduled reindex works the same way: it logs the failed kit and reindexes the others.