Skip to content

Releases

2.2.1

Choose a tag to compare

@ROBJkE ROBJkE released this 02 Dec 02:35

ViewsTheme 2.2.1

Changelog

  • Registered the Meteor Admin App (src/Resources/app/meteor-app) as an npm workspace in the root package.json with a single root package-lock.json, so shopware-cli and bin/build-administration.sh automatically install and hoist its runtime dependencies (vue, vue-i18n, @shopware-ag/meteor-*) during CI and local Administration builds without per-shop configuration

2.2.0

Choose a tag to compare

@ROBJkE ROBJkE released this 01 Dec 12:57

ViewsTheme 2.2.0

Upgrade notes

  • Minimum Shopware version: ViewsTheme now requires Shopware >= 6.7.14 (shopware/core and shopware/storefront ^6.7.14) for Meteor Admin App support.
  • The Administration UI for ViewsTheme's exclusive CMS elements now ships as a Meteor Admin App (src/Resources/app/meteor-app/), and the custom views-theme-settings module and views-theme-icon component were removed in favor of a direct shortcut to Shopware's native plugin configuration (sw.extension.config). Administration snippets moved from src/Resources/app/administration/src/snippet/ to src/Resources/app/meteor-app/snippet/. Rebuild the Administration (bin/build-administration.sh) when updating.
  • Product:Carousel no longer sets an inline style="--vi-carousel-item-w: …" on its root element. It now accepts an optional slotId prop and emits a scoped <style> rule targeting [data-cms-element-id="…"]. Custom templates mounting Product:Carousel directly with itemWidth must also pass slotId (or set --vi-carousel-item-w via CSS).

Changelog

  • New "Product groups tab" Shopping Experiences block and element (views-product-groups-tab, Commerce category): display multiple dynamic product groups or categories as tabs, each with a product carousel and an optional "Go to category" button (#180)
  • New "Categories overview" Shopping Experiences block and element (views-categories-overview, Commerce category): display selected categories as linked cards with image (or placeholder) and title in a responsive grid (#180)
  • Shopping Experiences section layout settings now include per-viewport horizontal and vertical padding (Padding X / Padding Y) and a semantic background theme selector (Default, Light, Dark, Primary, Secondary) (#180)
  • ViewsTheme settings in the Administration now open Shopware's native plugin configuration screen directly via Settings → Extensions → Views Theme (#180)
  • Added an extending guide (docs/extending.md) for child themes and plugins (#181)

2.1.0

Choose a tag to compare

@ROBJkE ROBJkE released this 25 Nov 12:02

ViewsTheme 2.1.0

Upgrade notes

  • The variants grid form no longer uses Shopware's data-add-to-cart. Its VariantsGrid:Container JS now sends the form through the theme cart (ViewsTheme:Cart:Add), so the cart drawer opens after adding. Child themes that override the grid's form block and still set data-add-to-cart="true" must remove it.
  • ViewsTheme:Cart:Add accepts an optional url. When it is set, the cart posts the form data there instead of to frontend.checkout.line-item.add.
  • page.extensions.viewsTheme.variantsGrid is now a Webflare\ViewsTheme\Struct\VariantsGrid instead of an ArrayStruct. Twig access (variantsGrid.variants, …) is unchanged; PHP code that read it with ->get('…') must use the getters.
  • Child themes that override the buy block of Product:BuyContainer and mount VariantsGrid:Container themselves should also pass selectedOptionIds and optionsParameter from variantsGrid. Without them a filtered link shows the right rows but no checked filter options.
  • VariantsLoader::extractConfiguratorGroups() was removed. The grid columns now come from the option groups of all visible variants (VariantsLoader::loadOptionGroupsByParentId()), and VariantsLoader takes property_group_option.repository as a second argument.
  • While rows load, the is-loading class is set on the grid form (.variants-grid-form) instead of .variants-grid-container, so the new filter stays usable. Child theme styles for the old selector must move.
  • Navigation:Bar no longer renders the vi-navigation-bar__list <ul>: the items sit directly in the <nav>, which now carries the flex layout (flex-wrap align-items-center gap-1). Navigation:Bar:Item renders a <div> instead of an <li>. Child themes that pass the list CVA key or list: attributes to the Bar, or style .vi-navigation-bar__list / li.vi-navigation-bar-item, must move them to the root or .vi-navigation-bar-item.

Changelog

  • The variants grid can be filtered: one dropdown per option group (for example color and size) where several options can be selected. Only matching variants are listed, entered quantities are kept, and the filtered page can be shared as a link
  • The promotion code field in the cart page sidebar and cart drawer can be turned off in the plugin settings
  • The revocation notice above the terms of service on the checkout confirmation page can be turned off in the plugin settings
  • Adding products from the variants grid on the product page works again: the selected variants are added to the cart and the cart drawer opens (#178)
  • The labels and help texts of the theme settings now come from Administration snippets instead of inline translations in theme.json, which Shopware 6.7 deprecates. They read the same in English and German (#156)

2.0.0

Choose a tag to compare

@ROBJkE ROBJkE released this 12 Nov 06:26
565f06b

ViewsTheme 2.0.0

Upgrade notes

  • Breaking change: ViewsTheme moved from Fyrst to Webflare. The Composer package is now webflare/views-theme and the PHP namespace is Webflare\ViewsTheme. Shops that run 1.x must switch the Composer package and update the plugin row in the database once, after the new code is deployed and before plugin:refresh. Without that step the theme is not loaded and plugin:refresh fails. Follow the upgrade guide: https://github.com/webflare-sh/views-theme/blob/master/UPGRADE-2.0.md
  • PHP code and service configuration in child themes or plugins that refer to Fyrst\ViewsTheme classes or service IDs must use Webflare\ViewsTheme instead. Twig, SCSS, JS and snippet overrides need no changes. The theme assignment, theme settings and plugin configuration are kept.
  • The default theme credit in the footer now links to webflare.sh. Shops that pass their own brand keep theirs.

Changelog

1.1.5

Choose a tag to compare

@ROBJkE ROBJkE released this 10 Nov 12:32
4a6d646

ViewsTheme 1.1.5

Upgrade notes

  • Child themes can now change ViewsTheme's Bootstrap Sass variables (button and input radius, padding, font sizes, colors, spacers, breakpoints, ...) from a file listed before @ViewsTheme in their style list. Values that a child theme already set there, and that had no effect before, now apply. A child theme's $utilities map is merged with ViewsTheme's utilities instead of being ignored.

Changelog

  • Child themes can override the button and input radius and the other Bootstrap settings of ViewsTheme without patching the compiled CSS

1.1.4

Choose a tag to compare

@ROBJkE ROBJkE released this 10 Nov 08:22
16f7772

ViewsTheme 1.1.4

Upgrade notes

  • The Shopping Experiences product slider and the product page cross-selling now render the theme carousel instead of the Shopware slider. The slider settings for autoplay, speed, border, vertical alignment, display mode and arrow position are no longer used. Template overrides of the inner element_product_slider_* blocks no longer apply; extend Product:Carousel or the new element_product_slider_carousel block instead.
  • Cross-selling on the product page now uses the theme tabs (Cms:CrossSelling). Template overrides of the inner cms_element_cross_selling_* blocks no longer apply; extend Cms:CrossSelling instead.
  • The image gallery now uses the theme carousel for its slides. The ViewsTheme:Gallery:Canvas JS component (Canvas.js, goTo) was removed: call select(index) on the Gallery instead. Gallery:Canvas nests changed from track:* to carousel:*, item:* and slide:*. Gallery:Slide no longer has the total prop or a slide role and label; the wrapping carousel item has them, and its label now reads "1 of 6" instead of "Show image 1 of 6".

Changelog

  • New product carousel for the product slider and cross-selling: swipe or scroll through products, with previous/next buttons that hide when all products fit
  • The product image gallery shares the carousel's swipe track. It looks and works as before: thumbnails and dots follow your swipes, and the current image stays in place when the window is resized or the phone is rotated
  • Cross-selling tabs and their products are shown on every screen size; on phones they no longer move into a side panel
  • The browser console no longer logs the "Init method has to be implemented." warning on category listings and other pages with filters or the newsletter form

1.1.3

Choose a tag to compare

@ROBJkE ROBJkE released this 04 Nov 11:31
c9cec05

ViewsTheme 1.1.3

Upgrade notes

  • The Navigation:Flyout JS component (Flyout.js) and its open/close events were removed. Navigation:Bar now owns the flyouts. Overrides that hooked into the Flyout component must hook into Navigation:Bar instead.
  • The navigation flyout route now only accepts a 32-character hex category id.

Changelog

  • The navigation flyout now closes when you hover a menu item without a flyout or empty space in the bar
  • Product filters appear on category listings again. CMS elements receive the page context again, so they no longer render blank and hide their block

1.1.2

Choose a tag to compare

@ROBJkE ROBJkE released this 04 Nov 09:24
00117ff

ViewsTheme 1.1.2

Upgrade notes

  • Behaviour change: the storefront logo no longer uses the inherited Storefront sw-logo-desktop / sw-logo-tablet / sw-logo-mobile fields. Set page-logo in the theme Media settings. If page-logo is empty, the bundled Views logo is shown. Favicon and Open Graph images are unchanged and still use the Storefront sw-logo-* fields.
  • Removed: the /vi/search/overlay route (frontend.views-theme.search.overlay) and the overlayUrl prop of Search:Action. The search overlay now ships with the page. Overrides that changed the overlay through that route must extend Search:Overlay instead.

Changelog

  • Empty page-logo now renders the bundled Views logo instead of the Shopware demo logo from sw-logo-*
  • The Figtree font is preloaded, so it starts loading right away instead of after the theme stylesheet
  • The product image gallery no longer misplaces the image when a product has only one
  • The navigation drawer, navigation flyout, fullscreen gallery, category listing and category filter drawer responses are now HTTP-cached, so they open faster on repeat requests
  • The cart drawer opens as soon as you click it and shows a loading spinner until the cart is loaded
  • The search overlay opens instantly, with no request to the server

1.1.1

Choose a tag to compare

@ROBJkE ROBJkE released this 04 Nov 05:46
baecb5c

ViewsTheme 1.1.1

Changelog

  • Lazily loaded overlays, drawers, the address manager, and the navigation flyout open on the first click, including on a cold production asset load

1.1.0

Choose a tag to compare

@ROBJkE ROBJkE released this 04 Nov 04:23
31fb86a

ViewsTheme 1.1.0

Upgrade notes

  • Theme settings were renamed and regrouped. Colors, fonts and logos set in version 1.0.0 are not carried over: check the theme settings after updating and enter them again
  • The theme no longer has separate tablet and mobile logos, a share icon, a favicon or a tertiary color setting
  • Rebuild and recompile the storefront and administration assets after updating

Changelog

  • Theme settings are grouped into Colors, Typography and Media tabs, with new options for status colors, header, body and footer backgrounds, border color, corner radius, spacing, icon sizes, heading sizes and breakpoints
  • Logo width can be set separately for mobile, tablet and desktop
  • Redesigned header: language and currency switches sit with the header actions on large screens
  • Redesigned footer with newsletter sign-up, shop address and contact buttons for phone, email and the contact form (new shop information settings)
  • Redesigned cookie bar and cookie settings, which now open in a drawer
  • Redesigned back-to-top button
  • Redesigned cart page with an optional shipping cost calculation in the cart sidebar and cart drawer (plugin setting)
  • Checkout register, confirm and success pages share one layout, with selection cards for payment and shipping methods that show shipping prices
  • Optional delivery date range in the checkout summary (plugin setting)
  • Addresses are changed in a redesigned address manager during checkout
  • The minimal checkout header links back to the cart
  • Login and registration share one page with tabs
  • Customers can filter their order history by status and date and repeat a past order
  • Redesigned customer account pages
  • Redesigned variant selection on the product page, with a notice and restock hint when a product cannot be bought
  • Restyled active filter chips and filter reset
  • Shopping Experiences: section spacing can be set per viewport in the layout editor
  • Dedicated Views Theme settings page in the administration, with a plugin icon and a theme preview image
  • Redesigned form fields, checkboxes and radio buttons

What's Changed

  • Add Shopware Cloud Agent environment by @ROBJkE in #76
  • fix(components): resolve vi_class from the calling template by @ROBJkE in #79
  • refactor(navigation): introduce Navigation:Drawer:Header component by @ROBJkE in #80
  • feat: add utilities for .grid column count by @ROBJkE in #82
  • feat(newsletter): introduce newsletter subscription component by @ROBJkE in #83
  • fix(components): nested vi_class must not use an ancestor slot (#85) by @ROBJkE in #86
  • feat(twig): let a caller cva base replace class extras by @ROBJkE in #88
  • Cursor/filter active buttons by @ROBJkE in #89
  • refactor(listing): route actions through a session store by @ROBJkE in #90
  • feat(configurator): theme-owned product variant configurator by @ROBJkE in #91
  • refactor(line-item): resolve the leaf type in a class component by @ROBJkE in #92
  • feat(theme): opt-in CSS variables and tabbed theme fields by @ROBJkE in #93
  • feat(form): align field chrome with the pen and add a dev forms page by @ROBJkE in #94
  • refactor(theme): remove Tailwind CSS and compile global tokens with theme SCSS by @ROBJkE in #95
  • fix(env): install minimum Shopware 6.7.11 with demo data by @ROBJkE in #110
  • feat: redesign checkout confirm to match the pen by @ROBJkE in #105
  • feat(cart): Summary:Box shell, Shipping:Calculation card and shipping config option by @ROBJkE in #123
  • refactor(checkout): success page mirrors confirm; rename Checkout:Success to Checkout:Success:Page by @ROBJkE in #124
  • refactor(account): tab-based login/register page, Page:Title, theme-owned Captcha by @ROBJkE in #126
  • refactor(checkout): register page mirrors confirm; shared Account:LoginRegister tabs by @ROBJkE in #127
  • feat(cms): grid-only CMS layout components and section gap setting by @ROBJkE in #129
  • refactor(configurator): visual overhaul, unavailable notice and neutral alert by @ROBJkE in #132
  • refactor(components): skip the mount instead of self-gating empty components by @ROBJkE in #133
  • refactor(components): reduce redundant component usage (#64) by @ROBJkE in #138
  • feat(account): order history filters, repeat order, and account card chrome by @ROBJkE in #140
  • Refactor/account pages by @ROBJkE in #142
  • fix(header): overhaul regular header (#141) by @ROBJkE in #143
  • refactor(footer): restructure footer components and annotate component props by @ROBJkE in #144
  • feat(admin): dedicated Views Theme settings page, plugin icon and theme preview by @ROBJkE in #145
  • feat(scroll-up): theme-owned back-to-top button by @ROBJkE in #146
  • feat(cookie): theme-owned cookie bar and manager by @ROBJkE in #147
  • chore: release ViewsTheme 1.1.0 by @ROBJkE in #148

Full Changelog: 1.0.0...1.1.0