In this guide, you'll learn how to manage the settings of the 1C:Enterprise integration.
To open the 1C:Enterprise settings page:
This opens the 1C:Enterprise settings page with the integration status, the Sync settings and Exchange rules sections, and two sections added by the plugin, Sales channel & region and Currency mapping.

The sales channel and the region are required. Until you save them, the integration stays Not configured or Incomplete, and the plugin rejects requests from 1C.
To choose the sales channel and region:

The Sync settings section holds the Price type ID field. It's the of the 1C price type whose prices the plugin writes to variants as retail prices. If the field is empty, the first price type in is the retail one. The other price types become price lists, as described in Enable Price Lists from 1C below.
When exporting the catalog to 1C, the plugin sets the same on prices. If the field is empty, the export uses the .
To edit the sync settings:

The Currency mapping section links a currency name, as 1C writes it in the exchange files, to a currency of your Medusa store. The plugin uses this mapping to determine the currency of variant prices, price lists and orders from 1C, and picks an order's region by its currency.
The plugin compares names ignoring case and surrounding spaces. If a currency has no mapping, the plugin uses its 1C name in lowercase as the Medusa currency code. So from 1C becomes without any setup. If there are no mappings at all, the plugin treats as .
To add a mapping:
To change or remove a mapping, open the action menu in its row and choose Edit or Delete.

The Exchange rules section holds three fields:
The plugin saves the number under which an order went to 1C in the order itself. When 1C sends the order back, the plugin finds it by its or by that number and doesn't create it again. So changing the prefix doesn't affect orders already exported.
The action only runs after a full catalog export. If 1C sent only changes, the plugin doesn't treat the products absent from them as missing.
The handle sets the URL of the product page on the storefront. A new product gets a handle built from its name and part of its 1C , as described in Record Matching. While the setting is off, the plugin doesn't change an existing product's handle, and links to the product keep working. When it's on, renaming a product in 1C makes the plugin rebuild the handle from the new name, and the old link to the product stops working.
To edit the exchange rules:

This plugin's connection test doesn't call 1C, because 1C starts the exchange itself. Instead, it checks that the sales channel and region are chosen and that their IDs start with and .
To check the settings:
The result appears in a notification.
The plugin brings every 1C price type except the retail one into Medusa as a price list. It creates a new price list as a draft of the Sale type, with the price type's name as the title and as the description. The plugin updates its prices on every exchange. It doesn't change the title, status, type or rules of an existing price list, so your edits to it stay.
To make the price list's prices visible to customers:
Set the customer groups before you activate the price list. Otherwise, between these two steps, the price list applies to every customer.
Medusa applies an active price list without customer groups to every storefront visitor, guests included. If the wholesale price is below the retail one, such a price list shows it to everybody. That's why the plugin creates new price lists as drafts.
To have the price list get its group and status automatically, use the hook, as in the Wholesale Price for a Customer Group example.