Documentation
ReturnDesk
Email Templates

Email Templates

ReturnDesk wraps all emails in the WooCommerce email template using woocommerce_email_header and woocommerce_email_footer hooks, so they automatically match your WooCommerce email design.


Available Templates

Template KeyTriggerRecipient
new_request_adminCustomer submits a new requestStore admin
new_request_customerCustomer submits a new requestCustomer
status_approvedAdmin sets status to ApprovedCustomer
status_rejectedAdmin sets status to RejectedCustomer
status_cancelledAdmin sets status to CancelledCustomer

Each template has an editable Subject and Body field supporting HTML and the token system.


Email Tokens

Use these tokens in subject lines and email bodies. They are replaced with live values when the email is sent:

TokenDescription
{request_id}Unique return request ID
{order_id}WooCommerce order number
{order_date}Date the order was placed
{customer_name}Customer full name
{customer_email}Customer email address
{type}Request type (return)
{status}Current request status
{reason}Selected return reason
{notes}Customer notes submitted with the request
{items}HTML list of requested items and quantities
{store_name}Store name from settings
{store_address}Full formatted store address
{site_name}WordPress site name
{site_url}WordPress site URL
{admin_url}Direct URL to the request in the admin dashboard
{submitted_date}Date the return request was submitted

Test Email

Each template has a Send Test Email button that sends a preview to your admin email address with sample token values. Use this to verify formatting before going live.