Skip to content

Developer notes

Arcade is a child theme of Responsive (design/themes/kv_arcade) delivered by the add-on kv_theme_arcade. The add-on installs and refreshes the theme files, checks the licence and assigns the template variable $kv_theme only while the licensed design is on. Every Arcade template prints the stock output (or nothing) without $kv_theme, so a storefront never breaks when the licence or the add-on is off.

Built with the Kavio theme kit 1.2.3: the kit rail (street), the kit countdown, the seller line, the buy bar, option chips, the filter sheet, the swipe gallery and the cached top products per shop.

Path Purpose
design/themes/kv_arcade/templates/blocks/vendor_list_templates/kv_ar_windows.tpl, blocks/categories/kv_ar_windows.tpl street of shop windows (vendors / categories block)
.../vendor_list_templates/kv_ar_directory.tpl, .../categories/kv_ar_directory.tpl directory board A-Z
.../blocks/products/kv_ar_board.tpl chalkboard of today’s offers
.../blocks/products/kv_ar_shelves.tpl, .../product_list_templates/kv_ar_shelves.tpl goods on shelves (block and list view)
.../blocks/static_templates/kv_ar_facade.tpl, kv_ar_more.tpl shop facade header, more from this shop
.../addons/blog/blocks/kv_ar_posters.tpl news posters
.../addons/kv_theme_arcade/partials/kv_ar_*.tpl window, street, directory and shelf partials
.../addons/kv_theme_arcade/hooks/products/* seller sign card above the name, deal line under the price
design/themes/kv_arcade/css/skin.less the theme’s look (classes ar-*), presets in styles/data/*.less
js/addons/kv_theme_arcade/theme.js phone bar items, Bag label, sign fitting, tag swing

Catalogue data only, assigned on the storefront while the design is on (safe with the block cache and the full page cache; nothing per visitor):

  • $company.kv_top / $category.kv_top (kit 1.2.3, street templates): the shop’s top products with the visitor’s prices and visibility (Theme\Kit::topProducts(); candidate IDs in the Registry cache, renewed when products, categories, popularity or companies change). kv_top_total = active products of the shop.
  • $company.kv_ar / $category.kv_ar: window number and colour slot (order of the homepage street block), department, shop rating and review count, item count, holiday state (Vendor Holiday Mode).
  • $product.kv_ar: rating and review count (Product reviews).
  • $ar (page data): $ar.facade on category and vendor pages, $ar.product.shop and $ar.product.more on product pages.

The street and the directory blocks follow product, price, promotion and image changes like the stock products block (their block cache handlers are extended while the theme is installed).

  • Colours: Theme editor per style, or the @ar_* tokens in styles/data/<Style>.less (facade colours @ar_f1-@ar_f8, sign letters @ar_n1-@ar_n8, cornice text @ar_fi1-@ar_fi8).
  • Copy a template into your own child theme or use the hook points of the stock templates; Arcade’s own templates are plain Smarty without custom modifiers.
  • Upgrades replace only theme files you did not change.