---
title: Hantar WhatsApp order baru kepada pelanggan
description: >-
  Hidupkan mesej order baru, masukkan placeholder, dan buat order ujian
  WooCommerce.
sidebar:
  order: 3
---
Dalam tutorial ini, anda akan menghantar satu WhatsApp kepada pelanggan bila order WooCommerce dibuat.

**Masa diperlukan:** 10 minit

## Sebelum mula

Pastikan:

- Plugin WordPress Wabot sudah dipasang dan **Active**.
- **Verify Status** (jika ada) tidak kata disconnected.
- Checkout WooCommerce ada nombor telefon bil.

> Siapkan [Pasang plugin WordPress Unofficial](/ms/features/notifications/install-unofficial) atau [Pasang plugin WordPress Official](/ms/features/notifications/install-official) dahulu. Guna satu zip sahaja.

## 1. Buka notifikasi pelanggan

Dalam admin WordPress, buka **Wabot**.

Buka tetapan notifikasi pelanggan. Cari **Customer Notifications** atau senarai mesej order.

Hidupkan notifikasi pelanggan.

<figure class="doc-shot-ph shot-01-customer-notifications" data-shot="01-customer-notifications.png">
  <div class="doc-shot-ph-frame" role="img" aria-label="Customer Notifications">
    <span class="doc-shot-ph-kicker">Contoh screenshot</span>
    <strong class="doc-shot-ph-title">Customer Notifications</strong>
    <span class="doc-shot-ph-hint">UI bersih. Tiada nama, e-mel, atau chat sebenar.</span>
  </div>
</figure>

## 2. Tulis mesej order baru

Cari mesej untuk order baru. Nama status mungkin **Pending payment**, **On hold**, atau **Processing**, bergantung pada checkout anda.

Tulis mesej pendek. Guna placeholder supaya setiap order berbeza.

> Hai [billing_first_name], terima kasih. Kami terima order [order_id] berjumlah [order_amount]. — [shop_name]

Placeholder biasa:

- `[billing_first_name]`
- `[order_id]`
- `[order_amount]`
- `[order_product]`
- `[shop_name]`

Simpan.

<figure class="doc-shot-ph shot-02-new-order-message" data-shot="02-new-order-message.png">
  <div class="doc-shot-ph-frame" role="img" aria-label="Mesej order baru dengan placeholder">
    <span class="doc-shot-ph-kicker">Contoh screenshot</span>
    <strong class="doc-shot-ph-title">Mesej order baru dengan placeholder</strong>
    <span class="doc-shot-ph-hint">UI bersih. Tiada nama, e-mel, atau chat sebenar.</span>
  </div>
</figure>

## 3. Buat order ujian

Guna nombor sendiri sebagai telefon bil.

Gunakan kod negara, tanpa `+` dan tanpa ruang.

**Betul:** `60123456789`  
**Salah:** `+60 12-345 6789`

Buat order ujian yang murah dan lengkapkan checkout.

## Pastikan ia berjaya

Tutorial ini berjaya apabila:

- Order ujian muncul dalam **WooCommerce → Orders**.
- Telefon ujian terima WhatsApp.
- Nama dan nombor order dalam mesej sepadan dengan order ujian.

## Kalau tak jadi

### Mesej tidak sampai

- Pastikan telefon bil guna kod negara, tanpa `+`.
- Pastikan notifikasi pelanggan hidup untuk status order itu.
- Buka [Semak log mesej](/ms/features/notifications/message-log).

### Nama kosong

Guna `[billing_first_name]`. Kurungan segi empat, bukan `{customer_name}`.

### Tiada menu plugin

Pasang plugin dahulu: [Unofficial](/ms/features/notifications/install-unofficial) atau [Official](/ms/features/notifications/install-official).

## Seterusnya

Pelanggan kini dapat WhatsApp bila ada order baru. Seterusnya, hantar satu bila status berubah, contoh **Completed**.

[Hantar WhatsApp bila status order berubah →](/ms/features/notifications/order-status)
