Skip to content
  1. Extras
  2. amoConnector
  3. Status mapping

Status mapping

Map miniShop2 order statuses to amoCRM pipeline stages for automatic sync.

Manager

Mapping is configured in CMP: AppsamoConnectorStatus mapping tab.

Each row has:

FieldDescription
ms2 statusminiShop2 order status
amoCRM pipelinePipeline ID in amoCRM
amoCRM statusStage (status) ID in that pipeline
ActiveEnable/disable this mapping

Forward sync (MODX → amoCRM)

When an order status changes in miniShop2:

  1. Component checks for a mapping for the new status
  2. If found and the order is linked to a lead — updates the lead stage in amoCRM
  3. If not found — operation is skipped without error

Информация

When creating a new order the initial status is not mapped — the lead is created with default pipeline settings.

Reverse sync (amoCRM → MODX)

With amoconnector.sync_statuses_from_amo enabled and webhook configured:

  1. amoCRM sends a notification when a lead stage changes
  2. Component finds the linked order in amo_order_link
  3. Looks up reverse mapping: amoCRM stage → ms2 status
  4. Updates the order status in miniShop2

Example

ms2 statusamoCRM pipelineamoCRM stage
New1234567890 (New request)
Paid1234567891 (Payment received)
Shipped1234567892 (In delivery)
Completed12345142 (Successfully closed)
Cancelled12345143 (Closed lost)

Подсказка

Pipeline ID can be copied from the amoCRM URL. Stage IDs — via dev tools by selecting the status column in the pipeline.