Orders
Overview
A signed-in customer's own orders as cards: number, total, status badge and order date.
The customer's own orders.
When to use
- Customers check what they ordered and when.
- A My orders page in the portal.
- Reduce where is my order emails.
Quick start
- Drag Orders (portal) onto a page that requires sign-in.
- Make sure orders carry the customer's email in Customer Email.
- Preview as the customer: only their orders appear.
Recommended data
Reads the Orders entity (created or reused): Number, Customer Email, Total, Status (New → Processing → Shipped → Delivered / Cancelled) and Order Date. The customer read rule is added on first drop.
- Orders — fields: Number, Customer Email, Total, Status, Order Date; status pipeline on Status.
Layout rules
- Can contain any component.
- Can be placed in any container (page, section, card, row, column, grid…).
Properties
Heading above the cards.
Default: Orders
Example: My orders
Entity to read orders from. Defaults to Orders.
Data binding
Cards bound to Orders filtered to Customer Email = the signed-in user's email: title = Number, subtitle = Total, badge = Status, details = Order Date; 2 per row.
Events
This block is built from ordinary components. Select one of them (in Layers) to change what happens on these events:
- On click
- None on the block; the inner Cards component fires onClick with the clicked order.
Responsive behavior
Uses 12 of 12 columns by default. In the Responsive tab you can change visibility, span, dimensions, padding, margin, font, order, alignment, direction separately for tablet and mobile.
Permissions
Adds a record-level rule for the Customer role: read orders where Customer Email equals their email.
Common patterns
- Pair with the portal Order Status block for a progress view.
Limitations
- Read-only; customers cannot cancel orders unless you add an update rule and a button.
Troubleshooting
Why: Customer Email mismatch.
Fix: Use the same email on the order as on the customer's account.