Print Click & Collect Order

Print order documents for Click & Collect fulfillment at store.

Overview

The Print Click & Collect Order step generates and prints a PDF document for Click & Collect orders at the pickup store. This supports in-store fulfillment workflows.

Identifier

PropertyValue
KeyPrintClickAndCollectOrder
GroupExport
Applicable StatusesNew

Configuration Properties

This step has no configurable properties. The printer is determined by the store configuration.

Behavior

What It Does

  1. Creates order view model from order
  2. Generates HTML content for Click & Collect order
  3. Converts HTML to PDF
  4. Gets the store associated with the order
  5. Determines printer ID:
    • Uses store property bccprinter if configured
    • Falls back to store ID as printer identifier
  6. Sends PDF to printer asynchronously

Prerequisites

  • Order must have a store ID
  • Store must exist in the system
  • Print service must be configured
  • Printer must be available (either via bccprinter property or store ID)

Side Effects

  • PDF document generated
  • Print job sent to store printer
  • Print operation runs in background (fire and forget)

Business Cases

When to Use

  • Click & Collect: Print packing slips for store pickup orders
  • In-store fulfillment: Provide printed order details to store staff
  • Order preparation: Generate pick lists for store associates

Example Scenarios

Scenario 1: Successful Print Order printed to store's configured BCC printer.

Scenario 2: No BCC Printer Configured Store doesn't have bccprinter property. Print sent using store ID as printer.

Scenario 3: Store Not Found Order's store ID doesn't match any store. Returns error.

Scenario 4: PDF Generation Failed HTML to PDF conversion fails. Returns error.

Error Handling

ConditionResultContinues Workflow?
Print successfulSuccessYes
Order view model creation failedErrorYes
HTML generation failedErrorYes
PDF generation failedErrorYes
Store not foundErrorYes
Exception during printError with messageYes

On this page