JoonWeb Theme Guide

JoonWeb template documentation


ORDER CONFIRMED

STORE ORDER : JW NOTFICATION TEMPLATE

This documentation explains the available variables used in JW Email Notification Templates. These variables are dynamically replaced during email generation.
Same object will work for [Order Confirmed, Ordered Cancelled, Ordered Shipped, Ordered Delivered, Abandoned Checkout etc].

Sample JSON Data

{
  "invoice_id": "99999",
  "order_id": "99999",
  "site": {
    "name": "Your Site",
    "logo": "https://static.joonsite.com/storage/5530/media/2408031352295916.png",
    "url": "yoursite.com"
  },
  "customer": {
    "name": "John",
    "mobile": "9999999999",
    "email": "dummycustomer@gmail.com"
  },
  "mode": "Credit Card, UPI",
  "payment_status": "paid",
  "shipping_address": {
    "full_name": "John",
    "address": "Dummy Address Line 1, India",
    "address2": "",
    "landmark": "Dummy Landmark",
    "city": "New Delhi",
    "country": "India",
    "state": "delhi",
    "countryName": "India",
    "stateName": "Delhi",
    "pin": 110058,
    "mobile": "9999999999",
    "email": "dummycustomer@gmail.com"
  },
  "billing_address": {
    "full_name": "John",
    "company": "",
    "address": "Dummy Address Line 1, India",
    "address2": "",
    "landmark": "Dummy Landmark",
    "city": "New Delhi",
    "country": "India",
    "state": "delhi",
    "countryName": "India",
    "stateName": "Delhi",
    "pin": 110058,
    "email": "dummycustomer@gmail.com"
  },
  "items": [
    {
      "title": "Sample Product",
      "description": "COLOR:RED",
      "qty": 1,
      "stock": 0,
      "varient": {
        "COLOR": "RED"
      },
      "cover": "https://static.joonsite.com/storage/5530/media/10729_25856-7743.jpg",
      "price": "2699.00",
      "sale_price": "1999.00",
      "status": "pending",
      "type": "product"
    }
  ],
  "returnAvailable": false,
  "returns": [],
  "shipping_mode": "",
  "ship_data": ["serviceName" => "ShipRocket", "serviceURL" => "https://shiprock.com", "tracking" => "89898988"],
  "order_currency": "₹",
  "order_total": "1999.00",
  "order_due": "0.00",
  "price_data": {
    "sub_total": 1999,
    "tax": "0.00",
    "tax_type": "excluded",
    "discount": "0",
    "shipping": "0.00",
    "total": "1999.00",
    "refunded": "0.00",
    "order_due": "0.00"
  },
  "status": "confirmed",
  "order_date": "2025-03-05 15:21:52",
  "updated_on": "2025-03-05 15:21:52",
  "created_on": "2025-03-05 15:21:52"
}


 

Top-Level Variables

Variable Type Description
invoice_id string Unique identifier for the invoice.
order_id string Unique identifier for the order.
site object Information about the website.
customer object Customer’s personal information.
mode string Payment method(s) used (e.g., Credit Card, UPI).
payment_status string Status of the payment (e.g., paid, pending).
shipping_address object Customer’s shipping address details.
billing_address object Customer’s billing address details.
items array of object List of items in the order.
recover_hash string Hash used in recovery link in Abandoned Cart Email
custom_message string Used in Sending Manual Messages to Abandoned Checkout customer
returnAvailable boolean Returns available or not.
returns array Return records (if any).
shipping_mode string Chosen shipping method.
ship_data array Shipping-related metadata (if any).
order_currency string Currency symbol used.
order_total string Total order amount.
order_due string Amount still due.
price_data object Breakdown of pricing info.
status string Current order status (e.g., confirmed).
order_date string (datetime) Order placement date & time.
updated_on string (datetime) Last update time.
created_on string (datetime) Order creation time.

 site Object

  • name (string) - Website name.
  • logo (string) - Logo URL.
  • url (string) - Website domain.

 customer Object

  • name (string) - Full name of the customer.
  • mobile (string) - Customer's mobile number.
  • email (string) - Customer's email address.

   shipping_address & billing_address Objects

  • full_name (string) - Recipient's full name.
  • company (string) - Company name (billing only).
  • address / address2 (string) - Address lines.
  • landmark (string) - Landmark near the address.
  • city (string) - City name.
  • state / stateName (string) - State info.
  • country / countryName (string) - Country info.
  • pin (number) - Postal/ZIP code.
  • mobile (string) - Mobile (shipping only).
  • email (string) - Email for the address.

 items Array

Each item represents a product in the order:

  • title (string) - Product name.
  • description (string) - Product variant info.
  • qty (number) - Quantity ordered.
  • stock (number) - Stock level (at time of purchase).
  • varient (object) - Selected variant details (e.g., color).
  • cover (string) - Product image URL.
  • price (string) - Original price.
  • sale_price (string) - Discounted price.
  • status (string) - Item fulfillment status.
  • type (string) - Item type (e.g., product).

 price_data Object

  • sub_total (number) - Price before tax/shipping/discount.
  • tax (string) - Tax applied.
  • tax_type (string) - Tax type (included/excluded).
  • discount (string) - Discount amount.
  • shipping (string) - Shipping charges.
  • total (string) - Final total price.
  • refunded (string) - Refunded amount.
  • order_due (string) - Remaining due amount.

 ship_data Object

  • serviceName (string) - Name of the Shipping Partner
  • serviceURL (string) - URL of the Shipping Partner
  • tracking(string) - Tracking No (AWB or WayBill No)