Skip to content

Developer notes

Item Value
Add-on id kv_theme_gauge
Theme kv_gauge (child of responsive)
CSS prefix gu-
Size endpoint ?dispatch=kv_gauge.sizes (JSON, no-store)
  • Full page cache. Card and product markup carries catalogue data only. The visitor’s size lives in the browser (local storage); the script asks kv_gauge.sizes for the prices at that size, so cached pages never contain per-visitor data.
  • Pricing. The endpoint prices a card with the Advanced Product Options & Price Formulas engine and the product’s own width and drop limits, and answers “too wide” or “too tall” outside them.
  • Samples. pre_add_to_cart counts sample products in the cart and refuses the one over the limit.
  • Hooks used. index:scripts, products:product_data, products:list_price_block, products:main_info_title, categories:view_description.
  • Uninstall. Theme\Seed keeps the ids of everything it created and removes only those rows.
  • Fonts. Literata, Spline Sans and Spline Sans Mono (SIL Open Font License), shipped in the package.