Skip to content

Developer notes

Item Value
Add-on id kv_theme_tiffin
Theme kv_tiffin (child of responsive)
CSS prefix ti-
Dish data $product.ti = marks (code + name), label, kcal, allergens (Theme\Menu, hook gather_additional_products_data_post)
Order bar data $ti_rso = on (Restaurant & Food Ordering active), id (restaurant id or 0)
  • blocks/static_templates/kv_ti_orderbar.tpl (Order bar), blocks/categories/kv_ti_board.tpl (Menu board; dishes per section from the kit’s top products, block setting kv_goods), blocks/products/kv_ti_dishes.tpl (Dish rows, rail or two columns), blocks/product_list_templates/kv_ti_menu.tpl (the “Menu” list view), addons/kv_theme_tiffin/partials/kv_ti_rows.tpl (one dish row).
  • Hooks: products:brand (dish facts on the product page and in the dish sheet), orders:info (kitchen ticket when the order has no tracking from Restaurant & Food Ordering).

No visitor data is printed. Delivery or Pickup lives in the browser (localStorage ti.mode); the open state and order time are filled by the Restaurant & Food Ordering script from its own no-store JSON endpoint.

Tiffin styles the add-on’s BEM classes (kv-rso-*) and sets its CSS tokens (--kv-rso-*) from the active scheme. It never overrides the add-on’s hook templates.