WhatsApp and Print receipt
The Thank-you page buttons card is on Checkout & pages.
Print receipt#
Print receipt adds a button under the order summary. The printed page shows only the order: no header, footer or buttons.
WhatsApp button#
WhatsApp button is off by default. “Message us on WhatsApp” opens a chat with your number, with the order number already typed in the message.
- Turn on WhatsApp button.
- Type your WhatsApp number with the country code, such as
+965 5001 2345. Spaces and the+are fine. - Save.
A number per country#
For stores with a team in each country:
- Under A number per country (optional), click Add a country.
- Pick the country and type its number.
The order’s billing country picks the number; other countries use the main number.
Change the message#
The button text and the message are in the Thank you group on the Text & translations tab, in every language.
Privacy#
The button is a link to wa.me. Nothing is sent unless the shopper taps it; WhatsApp then opens on their device.
For developers#
add_filter( 'nbwt_whatsapp_number', function ( $digits, $order ) {
if ( $order && 'wholesale' === $order->get_meta( '_customer_type' ) ) {
return '96550001234';
}
return $digits;
}, 10, 2 );