Configuration
Module settings: Sklepy → Konfiguracja → SISL → Optima Connector (Stores → Configuration → SISL → Optima Connector) or SISL Optima → Konfiguracja (Configuration).
0. Licencja (Licence)
Paste the key, save the configuration and click Sprawdź licencję (Check licence). The key is stored encrypted. Do not change the "Serwer licencji" (Licence server) field.
1. Połączenie z usługą (Connection to the service)
| Field | What to enter |
|---|---|
| Włączony (Enabled) | Tak (Yes) |
| Adres usługi (Service address) | The address from ListenUrl, for example http://100.64.0.10:5000 |
| Sekret HMAC (HMAC secret) | The same value as SharedSecret in the service |
| Limit czasu zapytania (Request timeout) | The default is enough |
2. Produkty, ceny i stany (Products, prices and stock levels)
| Field | Effect |
|---|---|
| Pobieraj produkty (Import products) | Creating and updating products |
| Nadpisuj nazwy / opisy (Overwrite names / descriptions) | Names and descriptions of existing products are left untouched by default. An empty description in Optima deletes nothing |
| Wyłączaj produkty nieaktywne (Disable inactive products) | Sets the status to disabled for an inactive item. You re-enable it manually |
| Pobieraj ceny (Import prices) | Off by default. With "Nie" (No), a new product without a price is created disabled |
| Poziom ceny (Price level) | 0 is the default price from the item card, and we recommend it. Diagnostics shows the list of levels. Level 1 in Optima is sometimes the purchase price |
| Stawka VAT → klasa podatkowa (VAT rate → tax class) | For example 23=2, one rate per line |
| Tylko kody zaczynające się od (Only codes starting with) | Limits synchronisation to part of the items |
| Pomijaj usługi (Skip services) | With "Nie" (No), services reach the store as virtual products |
| Magazyn (jeden) (Warehouse, single) | Warehouse symbol, stock goes to the default source |
| Magazyny → źródła MSI (Warehouses → MSI sources) | For example MAGAZYN=default, one per line. Takes precedence over the field above |
| Bufor (Buffer) | Units subtracted from the stock level |
| Próg „brak w magazynie” (Out-of-stock threshold) | A stock level after the buffer equal to or below the threshold means out of stock |
The stock level from Optima is the quantity minus reservations.
3. Nowe produkty (New products)
Status, visibility and websites, applied only when a product is created.
4. Harmonogram (Schedule)
Products and customers hourly, stock levels and documents every 15 minutes. This requires Magento cron to be running. The module has its own cron groups, sisl_optima and sisl_optima_long, so a long run does not hold up the store's other jobs.
5. Dokumenty, klienci, ceny per witryna (Documents, customers, prices per website)
| Field | Effect |
|---|---|
| Faktury i wysyłki z Optimy (Invoices and shipments from Optima) | An approved FA or PA creates an invoice, a WZ creates a shipment |
| Prefiks numeru zamówienia (Order number prefix) | MG- by default. In the Optima document, enter for example MG-100000123 |
| Gdzie szukać numeru (Where to look for the number) | Description, external number, or both |
| Nazwa przewoźnika (Carrier name) | Title shown next to the tracking number |
| Maile do klientów (E-mails to customers) | Off by default. Standard Magento e-mails about the invoice and shipment |
| Klienci z Optimy (Customers from Optima) | Contractors with a valid e-mail address become customer accounts |
| Grupa i witryna nowych klientów (Group and website of new customers) | Used only when the account is created |
| Ceny per witryna (Prices per website) | A line in the form website_code=level:prefix. Requires the price scope "Witryna" (Website) |
Where to enter the order number in Optima
On an invoice, the Opis (Description) field is on the Płatności (Payments) tab, and on a WZ it is on the Dodatkowe (Additional) tab. Enter the tracking number on the Kontrahent (Contractor) tab. A WZ created automatically from an invoice inherits the description.
Excluding a product
Katalog → Produkty (Catalog → Products) → the product → the SISL Optima group → "Wykluczony z synchronizacji" (Excluded from synchronisation). The module skips it for products and stock levels.
Service settings
The appsettings.Local.json file next to the program. After a change: Restart-Service SislSyncService.
| Setting | Meaning |
|---|---|
Sisl:ListenUrl |
Listening address |
Sisl:SharedSecret |
HMAC secret |
Sisl:Optima:Server, Database |
SQL instance and company database |
Sisl:Optima:IntegratedSecurity |
true uses the service account, false requires SqlUser and SqlPassword |
Sisl:Optima:TimeZone |
Time zone of the dates in the database |
Sisl:License:Key |
Licence key |
Switching the database to a different company is safe: each database has its own document log, and after the switch the module checks documents from the last 7 days without sending e-mails.
Next step: Licensing →