Order Receipt Email

The Order Receipt email confirms that CyberStore accepted an order and provides the Account with a record of the submitted order details. CyberStore sends it to the Account email address after order placement when system-generated order receipts are enabled for the Site.

Use this message for confirmation rather than shipment or fulfillment status. Its content should distinguish an accepted web order from any later processing performed in SYSPRO.

Enable order receipts

Open Site Manager > Site Configuration > Email and enable System Generated Order Receipt. CyberStore does not send this message when that option is disabled.

The Send Notifications to Customer’s Default Email setting can add the Customer’s default address to applicable notifications. Its choices are Never, Always, and When Logged in as All Customer Account. Review this setting together with the Account recipient and the template’s configured To, CC, and BCC addresses to avoid unintended disclosure or duplicate delivery.

Configure the template

Open Setup > Email Manager and edit the record with Linkname OrderReceipt.

The default subject pattern is:

[WebAddress] - Order Receipt Confirmation No: [OrderNumber]

Configure the From, To, CC, and BCC fields for the Site’s delivery requirements. Do not retain demonstration addresses from sample content. The Account email address is supplied by the order context.

The default message body demonstrates the following receipt content:

  • Site identity, confirmation number, order date, total, and payment method.
  • Sold-to and ship-to names and addresses.
  • Shipping method and special instructions.
  • Item-line detail.
  • Subtotal, tax, shipping cost, and final order total.
  • The Site’s Global Message.

You can redesign the HTML, but preserve the information your shoppers need to identify and review the submitted order. See Email Manager for header and body editing requirements.

Order Receipt replacement tags

The Order Receipt supports the shared tags described on System Generated Emails, the Customer tags documented there, and the following order-specific tags.

Tag Value
[Account Email Address], [AccountEmailAddress] Account email address.
[AccountName] Account first and last name.
[AlternateKey], [AlternateKeyReference] Sales order alternate-key value.
[BillAddress] Billing address line 1.
[BillAddress2] Billing address line 2.
[BillAddress3] Billing address line 3.
[BillCity] Billing city.
[BillState] Billing state or province.
[BillZip] Billing postal code.
[BillingCountry] Billing country.
[CustomerPO], [PONumber] Purchase order number.
[Date], [OrderDate] Sales order date.
[GiftCertificateValue] Value contributed by an applied web promotion code.
[GSTTaxValue] GST tax value for the sales order.
[ItemDetails] Item-line details for the sales order.
[OrderHeaderComments] Header comments entered on the sales order.
[OrderNumber] Sales order number.
[OrderTotal] Order total formatted in the sales order’s currency.
[PaymentMethod] Payment method used for the order.
[RequestedShipDate] Requested ship date.
[ShipAddress] Ship-to address line 1.
[ShipAddress2] Ship-to address line 2.
[ShipAddress3] Ship-to address line 3.
[ShipCity] Ship-to city.
[ShipState] Ship-to state or province.
[ShipZip] Ship-to postal code.
[ShipMethod] Shipping method.
[ShipName] Ship-to name.
[ShippingCost] Freight value for the sales order.
[ShippingCountry] Ship-to country.
[SpecialInstructions] Special instructions stored with the sales order.
[SubTotal] Order value before tax, shipping, order discount, or web promotion.
[TaxAmount] Tax value for the sales order.
[WebAddress] Web address configured for the Site.

Use function tags

Email Parsing Functions can combine fixed values and replacement-tag data in date, math, and logical expressions. Enclose a function expression in double square brackets and prefix function names with @.

[[@IFERROR(@FORMATDATE(@ADDDAYS([OrderDate], 1), "MMMM d, yyyy"), "a later date")]]

Functions are evaluated from the innermost expression outward. If a function has invalid parameters, cannot calculate a result, or otherwise fails, CyberStore returns a blank string unless the expression handles the error.

Test the result

Place representative test orders before relying on the template in production. Verify:

  • The Account and any configured recipients receive the intended message only once.
  • The confirmation number, dates, monetary values, addresses, item details, and shipping information resolve correctly.
  • B2B and B2C Customer tags follow their different availability rules.
  • The subject, HTML, links, images, and Global Message render correctly in the supported email clients.
  • The wording does not imply shipment, fulfillment, or payment settlement unless those events have actually occurred.

This site uses Just the Docs, a documentation theme for Jekyll.