Developer notes
| Item | Value |
|---|---|
| Add-on id | kv_theme_gavel |
| Theme | kv_gavel (child of responsive) |
| Data class | Tygh\Addons\KvThemeGavel\Theme\Lots (hooks gather_additional_products_data_post, get_products, dispatch_before_display; admin: update_product_post, delete_product_post) |
| Card data | $product.kv_ga_lot, kv_ga_est, kv_ga_cond, kv_ga_grade (1-5), kv_ga_era, kv_ga_prov, kv_ga_dur (auction length, s), kv_ga_consignor (Multi-Vendor vendor name); auction data $product.kv_auc comes from Auctions & Bidding |
| Block source | $ga_src = Theme\LotsSource (auctions(), closing($n), openCount(), calendar($days), sold($n), counts($items), sessionDay($day), dayText($t), dayParts($t)) |
| Live endpoint | index.php?dispatch=kv_gavel.lots&ids=<auction ids>[&ladder=1] (GET, JSON, Cache-Control: no-store, read-only): per auction s state, st/end times, n bids, p price text, bid has bids, r reserve (none/met/not), h hammer text, w watched, me lead/out/won, lad next five valid bids |
| List params | ga_session=YYYY-MM-DD (lots closing that day, shop time zone), ga_lots=open (running lots) on products.search / categories.view |
| Feature codes | CONDITION, ESTIMATE, ERA, PROVENANCE |
| Demo auctions | Tygh\Addons\KvThemeGavel\Theme\Seed from data/auctions.json; state var/kv_storage/kv_theme_gavel/auctions.json, own list demo_auctions.json (deleting a demo lot removes its demo auction) |
Block templates: blocks/products/kv_ga_lots.tpl, kv_ga_calendar.tpl, kv_ga_sold.tpl,
blocks/categories/kv_ga_contents.tpl. Hooks: products:product_data (post: paddle, ring, heart into the product
labels capture), products:list_price_block (pre: consignor, estimate, live line), products:main_info_title (post),
products:product_detail_bottom (post), products:search_results_mainbox_title (post), index:scripts (pre: JS
strings and URLs). Cached pages carry catalogue data only (full page cache); everything per visitor comes from the
endpoint or the add-on’s own state requests. The constant KV_THEME_GAVEL_DEMO_BIDS (Kavio’s static demo and
screenshots only, never set on a store) gives demo lots bidding activity.