# Usage Guide

## Daily Operations

### Order Synchronization
PrestaPicqer automatically handles order synchronization once configured. Here's how it works:

#### Order Creation
When a new order is created in Picqer, a reference to the PrestaShop order will be added in the Picqer reference field, this takes the form of `Prefix #PSorderId / PSreference` (DEV #73 / ITQRFWVHT).

![Picqer Order View](images/order_picqer.png)

The Picqer order number will be added to the PrestaShop Order note, thus ensuring two-way traceability between PrestaShop orders and Picqer orders.

![PrestaShop Order Note](images/order_note.png)

#### Order Tracking
You can search for the PrestaShop order reference to find the order in Picqer. And use the `PSReference` that is in the Picqer reference field to find the order in PrestaShop.

![Search for PrestaShop orders in Picqer](images/order_picqer_search.png)

### Product Matching
Products are matched using:
- **PrestaShop**: Reference field (case-sensitive)
- **Picqer**: Product code field (case-sensitive)

![Reference field in PrestaShop](images/product_ps.png)
![Product code field in Picqer](images/product_picqer.png)

These need to match exactly, this is case sensitive.

#### Handling Missing Products
If not all of the products can be matched an order will be created in Picqer for the matching products and a