Skip to content
  1. Extras
  2. mSync
  3. Settings

Settings

System settings

All component settings are in the "msync" namespace.

KeyDefaultDescription
msync_alias_with_idNoSet Yes to append the resource ID to product aliases on create. Fixes duplicate alias issues.
msync_catalog_contextwebContext for import
msync_catalog_currency(e.g. RUB)Default catalog currency
msync_catalog_root_id0Resource ID of the catalog root for category export
msync_category_by_nameNoSet Yes to match 1C groups to site categories by name (pagetitle). Category trees on site and in 1C must match.
msync_create_prices_tvNoSet Yes to auto-create TVs for different prices from XML data
msync_create_properties_tvNoSet Yes to auto-create TVs for product properties
msync_debugNoSet Yes to see full import log in core/components/msync/logs
msync_import_all_pricesNoSet Yes to import all offer prices. If you have only one price, leave No.
msync_order_accept_status_idOrder status ID to set for processed orders instead of "New"
msync_orders_delay_time30Seconds 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_quantityNoSet Yes to publish products based on quantity
msync_publish_defaultNoSet Yes to import products as published
msync_save_properties_to_tv""TV name for storing all properties as JSON
msync_template_category_default0Template for new categories
msync_template_product_default0Template for new products
msync_time_limit60Execution time limit per import batch (seconds). Must be less than PHP max_execution_time.
msync_1c_sync_loginmSyncSync login
msync_1c_sync_passRandomSync password
msync_last_orders_sync""Last orders sync time
msync_user_id_import1User ID for import. User must have admin rights.
msync_remove_tempYesIf No, temp files are not removed from 1c_temp. Useful for debugging
msync_no_categoriesNoIf Yes, categories are not created; all products go into the category set in msync_catalog_root_id
msync_hidemenu_by_quantityNoIf Yes, products are hidden from menu when out of stock and shown when in stock
msync_import_only_offersNoIf Yes, the products file (import.xml) is skipped; only the offers file (offers.xml) is processed
msync_import_temp_count500Number of temp product records to process per import iteration. Adjust for time and memory.
msync_rewrite_import_filesYesIf Yes, temp files are overwritten, not appended