Skip to main content

How to sync data manually

The extension syncs your store data to the EChat knowledge base automatically via a daily cron job (at 2:00 AM). However, you can trigger a manual sync at any time using the CLI.

Sync all data types

bin/magento mirasvit:echat:sync

This command syncs all data types: products, categories, and CMS pages.

Sync a specific data type

Use the --type option to sync only a specific data type:

bin/magento mirasvit:echat:sync --type=product
bin/magento mirasvit:echat:sync --type=category
bin/magento mirasvit:echat:sync --type=cms_page

This is useful when you've made changes to only one type of content and want a faster sync.