Skip to content

Developer notes

  • Theme kv_solo (child of Responsive) + wrapper add-on kv_theme_solo (licence gate, synchronizer, demo importer).
  • Data: ?:kv_so_products (one row per product: story, hotspots, box, dims, compare, faq, launch fields; kept on uninstall unless “Delete all Solo product data on uninstall” is ticked), ?:kv_so_launch (5-minute counter cache, dropped on uninstall).
  • Products filling kv_so_flagship (schemas/block_manager/blocks_ultimate.post.php + blocks_multivendor.post.php): hook get_products limits the block to the current product on products.view, else to the flagship.
  • Hook gather_additional_products_data_post adds $product.kv_so: dots, launch on every list; on detailed requests (Solo blocks: bulk modifier param kv_so => full; the product page) also chips, swatches, gallery, story, hotspots, box, dims, compare, faq, rating, launch, eyebrow.
  • Solo product block templates render without the block cache (render_block_register_cache); one product each.
  • Templates: blocks/products/kv_so_*.tpl, addons/banners/blocks/kv_so_strip.tpl, partials and product hooks (products:main_info_title pre/post, products:main_price post, products:product_form_close_tag pre, products:list_price_block post). Without the licensed design every template renders the stock output or nothing.
  • Script js/addons/kv_theme_solo/theme.js: gallery, colour swap (rewrites product_data[<id>] and the checkout.add..<id> button name of the buy box form), sticky bar, “Add with” (hidden inputs added in the capture phase of the Add to cart click), hotspots, strip close (localStorage), anchors, Launch ruler.
  • Full page cache: no visitor data in HTML; the strip close state and “Add with” choices stay in the browser.