Tokurabo Takeout Order Board: Manual

For web designers, developers, and the person who looks after the shop's website.

Everyday use for shop staff is in the guide. First setup is in Guide: 1. First Setup.

1. Requirements and How It Works with Takeout Orders

2. Admin Menu, Roles and Permissions

The plugin adds the capability tokurabo_takeout_order_board (given to administrators on activation) and the role Order board staff (tokurabo_takeout_board_staff, with only read and that capability).

Order Board > ...AdministratorsOrder board staff
SettingsYesNo
Order boardYesYes (including busy mode and stopping orders)
Order historyYes, with CSV export and Delete permanentlyView and print only
Special itemsYesNo
ReservationsYes, with CSV, Reset and Delete past reservationsView and print only

3. All Settings

Order Board > Settings (administrators only, manage_options). One Save Changes saves the whole page. While there are unsaved changes, a bar with Save Changes sticks to the bottom of the screen, and the browser asks before you leave the page.

SectionSettingNotes
Pickup timesLast order (minutes before closing)0–240, in steps of 5. Default 0. See 6. Busy mode, pausing and last order.
Order formOrder notes > EnabledAdds "Notes for the shop" (optional, up to 500 characters) at the end of the order form. On by default. The label and placeholder cannot be changed.
Special itemsMenu for special itemsA menu from the register, read through Takeout Menu. See 7. Special items (pre-orders).
StylesUse the plugin stylesOn by default. See 10. Changing the look.
Email logoChoose a logo / RemoveAn image from the Media Library, shown 56 px tall. Without it, the shop name (Shop name in Takeout Orders Order settings, or the site title if empty) is shown as text. The WordPress site icon is never used.
Emails to customersSix emails: Enable, Subject, Opening text, Closing text, Preview, Fill in the default textSee 5. Emails.

4. Order Statuses and the Order Board

Statuses

StatusSet byNotes
NewA new orderOrders with no row in the Order Board table are New (for example, orders placed before Order Board was installed).
In progressAccept
CompletedCompleteNo email. Undo complete goes back to In progress if the order was accepted, or New if not.
CancelledCancel orderFrom any status except Completed. Undo cancel goes back to the status before.

Which orders are shown

Updates, sound and screen

History

Status changes, emails (sent, sent again, failed), pickup time changes (before and after), staff notes, busy mode and pausing are recorded with the WordPress user and the time. The board shows the last 50 under History, and each order's history under its staff note. The history of an order is deleted when the order is deleted.

5. Emails

EmailWhenDefault subject
Order confirmationAn order is placed (replaces the Takeout Orders customer email)Thank you for your order: {order_number} - {shop_name}
Order acceptedAcceptYour order is confirmed: {order_number} - {shop_name}
DelayedDelayYour order will be delayed: {order_number} - {shop_name}
Pickup time changedChange time, with "Yes, and email the customer"Your pickup time has changed: {order_number} - {shop_name}
Ready for pickupReadyYour order is ready: {order_number} - {shop_name}
CancelledCancel order, with "Yes, and email the customer"Your order has been cancelled: {order_number} - {shop_name}

Emails are sent with wp_mail(). To make sure they arrive, use an SMTP plugin (Takeout Orders guide).

6. Busy Mode, Pausing and Last Order

7. Special Items (Pre-orders)

The menu

Rules for each item (Order Board > Special items)

SettingValues
Show on your siteNew items start hidden with no rules.
Pickup dates (required)Any day (today up to Takeout Orders' Days ahead), or Only these dates (one or more periods, up to 400 days ahead).
Order deadline (required)0–90 days before pickup, by a time.
Pickup hours (required)Days of the week, one period per day. Pickup times use Takeout Orders' Time slots. Store hours, special hours, ASAP and preparation time are not used.
Orders open onOptional date.
Minimum quantity1–999, counted over all lines of the item in the cart.
Quantity limitNo limit / Per day / In total, with a number.

If a required rule is missing when you save with Show checked, the item is saved hidden, and the missing rules are listed. Values that cannot be used (an impossible date, an end time before the start) are removed when saving, with a notice.

Status

The status is worked out each time the item is shown, in the store's time zone, in this order:

  1. Hidden: not shown, or a required rule is missing. Visitors see nothing. Editors see a short notice.
  2. Orders closed: no pickup date can be ordered now (dates in the past, or after the deadline).
  3. Coming soon: before Orders open on.
  4. Sold out: sold out in the register (the item, or all its variations), or the limit is reached.
  5. Open (Pre-order): otherwise.

The block and the cart

After the season

8. Reservations, Order History and CSV

Reservations

Order history

9. Customer Data and Privacy

Add these points to your site's privacy policy as needed.

10. Changing the Look

The order board and the admin pages have their own design and cannot be changed in the settings. What you can style is on your site: the Takeout Special Item block and its Pre-order bar.

Writing all the CSS yourself

Turn off Use the plugin styles in Order Board > Settings > Styles. The stylesheet for the Pre-order bar and labels is no longer loaded (in the editor too). A one-line stylesheet with zero specificity (:where()) is still loaded to size the icons. To do the same in code, return false from the tokurabo_takeout_order_board_load_css filter.

11. For Developers: REST API and Data

REST API (namespace tokurabo-takeout-order-board/v1)

The board endpoints need the tokurabo_takeout_order_board capability and return Cache-Control: no-store.

EndpointWhat it does
GET /boardOrders, today's date, time zone offset, paused, busy, preparation minutes and a version. With ?version=, returns {"modified": false} if nothing changed.
POST /orders/{id}action: accept, delay, change_time, ready, complete, cancel, uncancel, uncomplete, note. Other fields: note, minutes, message, date, time, notify, resend. Returns the order and mail (sent, failed, off or empty).
GET /logThe last 50 history entries.
POST /modebusy (-1 = off, 0, 15, 30, 45, 60) or paused (true or false).
POST /previewEmail preview (administrators).
GET /special-pickup?item=, GET /special-data?item=Pickup times and data for a special item's cart (public).
POST /special-convertData for Convert to regular blocks (editors).

Filters

Database tables and options

12. Troubleshooting, Logs and Uninstalling

What happensWhat to check
The board stays "Offline. Retrying…"The REST API is blocked (security plugin, server rule) or returns an error. Open /wp-json/tokurabo-takeout-order-board/v1/board while logged in.
The screen turns offScreen Wake Lock needs https and a current browser. Otherwise, change the device's screen timeout.
Emails are not sent ("email failed" in the history)The site cannot send email. Use an SMTP plugin, and check the log.
Times or "today" look shiftedCheck the store time zone in the register and Settings > General > Timezone.
Special items says to update Takeout Menu or Takeout OrdersUpdate to Takeout Menu 0.3.0 and Takeout Orders 0.2.0 or later.
A special item is not in the Special items listWait for the next sync, or click Sync now in Takeout Menu. Check the menu chosen in Settings.
Labels such as "N left" are out of dateA page cache. Exclude the page or shorten the cache time. Orders are checked on the server anyway.

Detailed errors (for example, email sending errors) are written to wp-content/debug.log only when WP_DEBUG_LOG is enabled in wp-config.php.

When you deactivate or delete the plugin

Deactivating keeps everything. The special items menu is no longer brought in at the next sync, and the Special Item blocks show nothing. Deleting the plugin removes the order statuses, staff notes, history, rules of special items, settings, the capability and the Order board staff role. Users with that role are left with no role. The orders themselves and the customer notes stay in Takeout Orders.

Get Takeout Order Board

Tokurabo Takeout Order Board is a paid plugin. It is not on WordPress.org.

$29 per month or $299 per year. See the License page for how to buy.

Buy a license