Order Cancelled Notification, SHOPLINE Payments Refund Notification - Variables

4. EC + SC (EN).png

SHOPLINE's Custom Notification feature allows merchants to customize notification messages for membership-related occasions. Merchants can edit default messages and include links, text, and images to provide information about store campaigns to customers via SMS, email, or both.

This article is a list of variables that can be referenced, copied, and pasted when editing the content of "Order Cancelled Notification, SHOPLINE Payments Refund Notification".

 

Variable

Description

{{order.seller.name}}

Your shop's name

{{order.order_number}}

Order number

{{order.status_label}}

Order status

{{order.order_payment.status_label}}

Payment status

{{order.order_delivery.status_label}}

Delivery status

{{order.customer_url}}

Order URL

{{order.seller.email}}

Your shop's email

{{customer.name}}

Customer's name

{{customer.email}}

Customer’s email

{{customer.phone | mask: phone}}

Customer’s phone number (3 middle digits masked)

{{customer.gender}}

Customer’s gender

{{customer.birthday | date: "%b %d, %Y"}}

Customer’s birthday

{{customer.attributes}}

{{attribute | first}}

{{attribute | last}}

Customer’s custom fields

{{order.remarks}}

Order remarks

{{customer.attributes}}

{{attribute | first}}

{{attribute | last}}

Order-related custom fields

{{order.payment_slip_url}}

Pay and upload payment slips

{{order.created_at | date: "%Y-%m-%d %H:%M%p"}}

Order date

{{order.subtotal_price}}

Subtotal

{{order.discount_price}}

Discount

{{order.custom_discount_price}}

Custom discount total amount

{{order.applied_user_credit}}

Applied store credits

{{order.redeemed_points_to_cash}}

Member points redeemed for cash

{{order.redeemed_points_to_cash_amount}}

Applied point discount

{{order.delivery_fee}}

Delivery fee

{{order.exclusive_tax.fee}}

Tax fee

{{order.total_price}}

Total price

{{order.inclusive_tax}}

{{order.inclusive_tax.name}}

{{order.inclusive_tax.rate}}

{{order.inclusive_tax.fee}}

Tax included

{{order.earned_credit_value}}

Credits earned after paid

{{order.redeemed_points_to_gift}}

Points used to redeem gifts

{{order.earned_points_pending_days}}

{{order.earned_points}}

Point Assign Day + (number of) Points 

{{order.order_payment.status_label}}

Payment status

{{order.order_payment.name}}

Payment option

{{order.order_payment.instructions}}

Payment instructions

{{order.order_payment.instruction_image}}

{{order.order_payment.instruction_image.src | img_url: '750x'}}

{{order.order_payment.instruction_image | img_url: '750x' }}

Payment instruction image

{{order.order_payment.txn_id}}

PayPal transaction ID

{{order.order_payment.type}}

Payment type

{{order.order_payment.transaction_id}}

Transaction ID

{{order.order_payment.fee}}

Payment fee

{{order.order_delivery.name}}

Delivery option

{{order.delivery_date}}

{{order.delivery_time_slot}}

Delivery date

{{order.order_delivery.description}}

Delivery description

{{order.order_delivery.address.address.address1}}

Address

{{order.order_delivery.address.address.address2}}

{{order.order_delivery.address.address.city}}

{{order.order_delivery.address.address.state}}

{{order.order_delivery.address.address.country}}

{{order.order_delivery.address.address.postcode}}

{{order.order_delivery.recipient_name}}

Recipient name

{{order.order_delivery.recipient_phone}}

Recipient phone number

{{order.order_delivery.location_code}}

Pickup store code

{{order.order_delivery.location_name}}

Pickup store name

{{order.order_delivery.delivery_name_title}}

Courier company name (as a title)

{{order.order_delivery.delivery_name}}

Courier company name (e.g. T-cat)

{{order.order_delivery.tracking_number}}

Tracking number

{{order.order_delivery.url}}

Delivery tracking URL

{{order.order_delivery.shipment_number}}

Shipment number

{{order.order_delivery.sn_id}}

Shop-to-Shop delivery ID

{{order.line_items}}

Order items

{{line_item.image_url}}

Product image

{{line_item.title}}

Product name

{{line_item.type}}

Product type

{{line_item.variation_names}}

{{name}} for loop

Variation name

{{line_item.quantity}}

Product quantity

{{line_item.child_products}}

Child product

{{child_product.title}}

Child product name

{{child_product.variation_names}}

Child product variation name

{{line_item.item_points}}

(Number of) points redeemed for product

{{line_item.price}}

Product price

{{line_item.preorder_note}}

Preorder product notice

{{line_item.catcher_delivery_status}}

Delivery status from the manufacturer

{{line_item.total_points}}

Total points (quantity*point)

{{line_item.total_price}}

Total amount (quantity*price)

 

 

 

 

 

Have more questions? Submit a request

Comments