Thank you
thank you page template
is the page the customer is taken to after completing an order transaction. Naturally, the page includes a brief thank you message that signals the store's appreciation for completing the order - just like any consumer would expect. In addition, this page template lists the order details for the customer's reference.
Example

Variables
ThankyouPage
page
string | object
optional
title
string
optional
slug
enum<string>
optional
Allowed value:
thank-you
order
object (Order)
optional
id
number
required
cart_reference_id
number
required
reference_id
number
required
urls
object (Urls)
required
date
object (Date)
required
updated_at
object (Date)
required
source
enum<string>
required
Allowed values:
storelandingforgotten_basketabandoned-cartcampaigndashboardbuy_as_giftmahly-appbuy_nowone-clickcomplete_order
draft
boolean
required
draft
read
boolean
required
source_device
string
required
source_details
object
required
status
object (NewOrderStatus)
required
is_price_quote
boolean
required
payment_method
string
required
receipt_image
string
required
currency
string
required
amounts
object
required
exchange_rate
object
required
can_cancel
boolean
required
True
value should be set if the order status is in under review and in progress, as according to the store settings.show_weight
boolean
required
can_reorder
boolean
required
is_pending_payment
boolean
required
payment_pending
.pending_payment_ends_at
integer
required
total_weight
string
required
rating_link
string | null
required
Note that the order has to be of either of the following statuses:
completed
, delivered
, or shipped
. The merchant has to allow the product to be rated from the Store Settings > Rating Settingsshipping
object
required
shipments
array [object {22}]
required
pickup_branch
object (Branch)
required
shipment_branch
object (ShipmentBranch)
required
customer
object (Customer)
required
items
array [object {16}]
required
bank
object
required
tags
object (OrderTag)
required
store
object
required
thank_you
string
optional
share_message
string
optional
short_share_message
string
optional
Hooks
thank you page template
may call the following hooks in order to inject extra information.
JS Web Components
<salla-button>
Usage
order
object, which contains all of the information related to the purchased order.order.order_id
.After that, a for-loop statement is used in order to list the purchased items with their details. For example,
item.codes
and item.name
. Other details can also be displayed, such as attached files, with these items, using the array item.files
.
order.customer.email
along with the order invoice.
Educational Clip
Modified at 2025-03-04 12:54:02