=== Yatoon Restaurant Menu & Online Ordering ===
Contributors: yatoon
Tags: restaurant menu, online ordering, food ordering, pickup, menu plugin
Requires at least: 5.8
Tested up to: 6.9
Stable tag: 3.7.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Restaurant menu and pay-at-restaurant ordering — no monthly fees, no commission.

== Description ==

**Yatoon Restaurant Menu & Online Ordering** lets restaurants publish a digital menu and accept orders from their WordPress site.

= Free Features =

**Menu & Ordering**
* Responsive menu with photos, descriptions, modifiers, and pricing
* Featured items carousel, full-text search, sticky category nav
* Cooking preferences — Uber Eats-style chips (spice, salt, oil, sugar, and more) fully configurable from the admin
* Special instructions — free-text box on every item so customers can type any request
* Pay-at-restaurant ordering (pickup, delivery, dine-in)
* Scheduled orders, tip options, tax, service fee, delivery fee
* Coupon / promo code support

**Personal Center (logged-in customers)**
* Order history with item images, status badges, and "Order again"
* Email notifications on every status change (Preparing → Ready → Done)
* Favorites with item image and direct add-to-cart
* Saved address book (up to 5 addresses, auto-fills delivery field)
* Editable profile (name, phone) and spend statistics
* Native WordPress accounts — no extra tables

**Operations**
* Kitchen Display (`[yatoon_kitchen]`), Order Status page (`[yatoon_order_status]`)
* Real-time new-order browser alerts + sound (admin Orders page and kitchen display)
* Admin order management with one-click status updates
* Full Cooking Preferences admin page — add, edit, delete groups and options freely

= Pro Features =
* Stripe card payments, Apple Pay, Google Pay
* Alipay and WeChat Pay
* Twilio SMS status notifications (in addition to email)
* Google, Facebook, Instagram social login

= Shortcodes =
* `[yatoon_menu]` — full menu with cart and checkout
* `[yatoon_kitchen]` — real-time kitchen display
* `[yatoon_order_status]` — customer order tracking

== Installation ==
1. Plugins → Add New → Upload Plugin → upload ZIP → Activate
2. Yatoon Restaurant Menu → Settings — configure your restaurant
3. Add `[yatoon_menu]` to any page

== External Services ==
Free version: no external services. Pro adds Stripe, Twilio, Google/Facebook/Instagram OAuth (all opt-in).
Freemius SDK bundled for licensing — no data sent unless you connect an account.
* Freemius: https://freemius.com/ · Terms: https://freemius.com/terms/

== Changelog ==

= 3.7.0 =
* Added Cooking Preferences admin page — freely add, edit, and delete preference groups and options without touching code.
* Added Special Instructions free-text box on every item modal (Uber Eats style). Toggle in Settings.
* Upgraded Personal Center: order history now shows item images, fulfillment type, and notes; "Order again" on every order.
* Added spend stats to Personal Center header (total spent, order count, saved items).
* Added Favorites panel with item images and direct "add to cart" button.
* Added editable Profile — customers can update their name and phone number.
* Added Address Book — save up to 5 delivery addresses; tap any saved address to auto-fill the delivery field at checkout.
* Added email notifications for every status change (Preparing, Ready, Done), not just "Ready". Includes order-tracking link.
* Pro: Twilio SMS also fires on Preparing and Done status changes.
* Added Order Status Page URL setting — included as a tracking link in all customer status emails.
* Added Special Instructions and Customer Accounts toggles to Settings.

= 3.6.0 =
* Added cooking preference chips (Uber Eats style) and real-time new-order sound alerts.

= 3.2.6 =
* WordPress.org Plugin Check compatibility fixes.

== Upgrade Notice ==
= 3.7.0 =
Major personal-center upgrade. Adds editable profile, address book, spend stats, image-based order history, and email notifications for every order status change. Recommended for all users.
