Automatic order creation and inventory deduction with Shopify integration.
- Automatic Inventory Deduction: Items are automatically deducted from inventory upon order completion
- Variant Matching: System matches items by skuId, condition, language, and printing
- Stock Item Matching: Finds matching stock items by comment and remarks fields for accurate tracking
- Shopify Items: Shopify-only items (no local inventory) skip local deduction but are tracked in order
- Shopify Order Creation: If Shopify integration is active, draft order is created in Shopify with line items
- Order History: All orders are saved with complete details including staff member, timestamp, and till ID
- Receipt Generation: Print or email receipt immediately after order completion
Inventory Deduction Details: The system creates a unique key for each line item combining productId, variant details, and stockItemId. Items can be skipped from deduction if flagged. Shopify variant IDs (prefixed with "shopify-") are handled specially - if no local inventory exists, deduction is skipped but order is still created.