Sending orders to Abacus
Orders in Shopware are sent to Abacus for processing.
Guest orders
Guest orders are created in Shopware when a customer checks out without creating an account. which then is sent to Abacus and can directly be processed there.
Order of a new customer
When a new customer is created in Shopware and the customer makes an order, the order is sent to Abacus and can be processed there. So, first the sign-up of a new customer: and then the order of the new customer:
which then is sent to Abacus and can directly be processed there.
Because it is a new customer, the address can't be found and the address must be processed manually in Abacus.
If the address already exists or Abacus detects a similar address, the address can be selected to prevent duplicates.
Once successfully processed, the order gets a green checkmark and can be converted into an order.
The order can be found in the "Closed" orders in Abacus.
And the order is created in the abacus order tool (111).
Sync back to Shopware
During the order processing in Abacus, the shopper is created for the new customer in Abacus. This shopper is then synced back to Shopware (after 15 minutes). Before the sync, the new customer looks like this in Shopware: And once the sync is done, the existing customer is updated with the shopper data:
Note that the shopper data is stored in the custom fields of the customer entity.
💡 How we identify the correct Shopware customer
First, we try to find the correct Shopware customer using the shopper ID. However, newly registered Shopware customers don't have a Shopper ID yet.
In Shopware, unlike in Abacus, the email address of a customer account is unique. Based on the configuration set in the Shopware plugin, we use the value of the "Account" field or the "Email" field of the Shopper API body to identify the correct Shopware customer.
Order of an existing customer
When an existing customer makes an order, the order is sent to Abacus and can directly be processed there. Because existing customers have already a shopper in Abacus and a shopper ID, the order can be processed without any manual address processing if the address has not changed.
If there is a change in the address, the wizzard in Abacus will guide you through the process of updating the address or selecting an existing address.