= ID Restaurant Menu - Changelog =

== 1.3.0 — 2026-02-19 ==

= Bug Fixes =
* Fixed IDVE block fields (Display Style, Category dropdowns) not populating — resolved `plugins_loaded` timing issue with early registration at priority 20
* Fixed bulk pricing "Apply" / "Preview" buttons doing nothing — `IDRM_Bulk_Pricing` was loaded but never instantiated, so AJAX handlers were not registered

= New Features =
* Menu Groups — create menus (e.g. Breakfast, Lunch, Dinner) and assign items to multiple menus
* Menu admin page (Restaurant Menu > Menus) with add/edit/delete form and drag-and-drop reorder
* `[id_restaurant_menu menu="breakfast"]` shortcode attribute to display items from a specific menu
* Menu description displayed above items on frontend when set
* Inline menus multi-select column on items list table — change saves immediately via AJAX
* Menu checkboxes on item edit form
* IDVE block Menu dropdown field for selecting a menu in the visual editor

= Improvements =
* Bulk pricing simplified to a single Apply button with confirmation — no preview step

== 1.2.0 — 2026-02-18 ==

= Bug Fixes =
* Fixed IDVE block not appearing in the editor due to timing issue with block registration on `plugins_loaded` vs `after_setup_theme`

= New Features =
* Grip handle column on items page — dot-grip drag handle replaces generic sortable for clear visual reorder affordance
* Inline editing for item names — click to edit directly in the list table
* Inline category editing — dropdown select saves immediately on change
* Inline price editing — single price, size-based variants, and custom labels all editable in-place
* Price mode switching — toggle between single price, sizes, and label modes per item from the list table
* Add/remove size variants inline without opening the item edit form
* Bulk pricing panel integrated directly into items page as a collapsible section

= Improvements =
* Drag-and-drop automatically disabled when sorting by a column header or using search (with visual indicator)
* Bulk pricing "Apply" now reloads the items table to reflect updated prices
* Removed separate Bulk Pricing submenu page — all pricing tools consolidated on items page

== 1.1.0 — 2026-02-18 ==

= New Features =
* Size-based pricing — enable per-item sizes (e.g., Small, Medium, Large) with individual prices
* Default size labels setting (General tab) — comma-separated labels auto-populate when enabling sizes on an item
* Import page gated as a Pro feature with upgrade prompt for free users
* JSON import supports optional `price_variants` array on items
* CSV import supports optional `item_price_variants` column (pipe-delimited: `Small:3.50|Large:4.50`)

= Improvements =
* Bulk pricing adjusts all variant prices proportionally; preview shows "(has sizes)" indicator
* PDF menu generation renders size-based prices (e.g., Small $7.95 / Large $9.95)
* Schema.org JSON-LD emits multiple Offer objects for items with size variants
* Admin list table displays all size/price pairs in the Price column
* All 5 frontend display styles render variant prices via shared render_price_variants() method
* Import menu label shows "Pro" badge in admin sidebar when not licensed

== 1.0.0 — 2026-02-18 ==

Initial release.

= New Features =
* Menu item management with custom database tables
* Category management with drag-to-reorder
* 5 display styles: Elegant, Modern, Casual, Grid, Minimal
* [id_restaurant_menu] shortcode with flexible attributes (style, category, featured, columns, show_images, show_dietary, show_pdf, decimals, class)
* Bulk pricing adjustments — flat increase/decrease, percentage increase/decrease, round to nearest
* Dietary flags — Gluten-Free, Vegetarian, Vegan, Dairy-Free, Contains Nuts
* Featured items with configurable highlight style (badge, border, background)
* Item images via WordPress media library
* Custom price labels (e.g., "Market Price", "From $12")
* Schema.org JSON-LD structured data for Restaurant and Menu types
* Settings page with General, Display, Schema, PDF, and License tabs
* Theme template overrides via theme's idrm/ directory
* Currency formatting options (symbol, position, decimals, thousand separator)
* PDF menu generation via TCPDF with customizable header, footer, and logo
* IDVE (ID Visual Editor) block
* WPBakery (Visual Composer) element
* Elementor widget with full controls
