
Settings
System settings
All component settings are in the "msync" namespace.
| Key | Default | Description |
|---|---|---|
| msync_alias_with_id | No | Set Yes to append the resource ID to product aliases on create. Fixes duplicate alias issues. |
| msync_catalog_context | web | Context for import |
| msync_catalog_currency | (e.g. RUB) | Default catalog currency |
| msync_catalog_root_id | 0 | Resource ID of the catalog root for category export |
| msync_category_by_name | No | Set Yes to match 1C groups to site categories by name (pagetitle). Category trees on site and in 1C must match. |
| msync_create_prices_tv | No | Set Yes to auto-create TVs for different prices from XML data |
| msync_create_properties_tv | No | Set Yes to auto-create TVs for product properties |
| msync_debug | No | Set Yes to see full import log in core/components/msync/logs |
| msync_import_all_prices | No | Set Yes to import all offer prices. If you have only one price, leave No. |
| msync_order_accept_status_id | — | Order status ID to set for processed orders instead of "New" |
| msync_orders_delay_time | 30 | Seconds between receiving orders and the success confirmation request to 1C. This setting subtracts seconds from the last orders export time to include orders in that gap. |
| msync_price_by_feature_tv | "" | TV name for storing prices by feature |
| msync_publish_by_quantity | No | Set Yes to publish products based on quantity |
| msync_publish_default | No | Set Yes to import products as published |
| msync_save_properties_to_tv | "" | TV name for storing all properties as JSON |
| msync_template_category_default | 0 | Template for new categories |
| msync_template_product_default | 0 | Template for new products |
| msync_time_limit | 60 | Execution time limit per import batch (seconds). Must be less than PHP max_execution_time. |
| msync_1c_sync_login | mSync | Sync login |
| msync_1c_sync_pass | Random | Sync password |
| msync_last_orders_sync | "" | Last orders sync time |
| msync_user_id_import | 1 | User ID for import. User must have admin rights. |
| msync_remove_temp | Yes | If No, temp files are not removed from 1c_temp. Useful for debugging |
| msync_no_categories | No | If Yes, categories are not created; all products go into the category set in msync_catalog_root_id |
| msync_hidemenu_by_quantity | No | If Yes, products are hidden from menu when out of stock and shown when in stock |
| msync_import_only_offers | No | If Yes, the products file (import.xml) is skipped; only the offers file (offers.xml) is processed |
| msync_import_temp_count | 500 | Number of temp product records to process per import iteration. Adjust for time and memory. |
| msync_rewrite_import_files | Yes | If Yes, temp files are overwritten, not appended |
