Skip to content

Changelog - Default Theme

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

1.3.7 - 2024-04-08

Added

  • Compatibility with the upcoming Magento release 2.4.7

    Based on the 2.4.7-beta3 release, a new Magento_OrderCancellationUi module will be introduced in Magento 2.4.7.
    The layout changes introduced in 2.4.7-beta3 cause the order history and recent order tables to lose styling.
    This release fixes the issue by adding the ability to render more action buttons in the order history templates.

    In addition to new phrases introduced in the Magento 2.4.7 core module, the compatibility template also introduces the new translated phrase Order %1 canceled..

    For more information, please refer to merge request #1084.

  • Add x-defer attribute to selected components to improve CWV

    The x-defer="intersect" attribute was added to selected Alpine components to delay initialization of the components until it is visible in the viewport to improve CWV.
    The same components are also covered by the default x-defer rule injection configuration of the Hyvä theme-module.
    However, adding the attributes to the components in the templates allows the removal of the JS to inject the rules, further decreasing the main thread blocking time.

    For more information, please refer to merge request #1086 and the x-defer directive documentation.

  • Add new dependency on module hyva-themes/magento2-order-cancellation-webapi

    Out of the box the order-cancellation feature introduced in Magento 2.4.7 only comes with a GraphQL API.
    To be able to reduce the use of GraphQL in Hyvä in the future, the compatibility module uses a REST API provided by hyva-themes/magento2-order-cancellation-webapi instead.

Changed

  • Reserve correct space for slider buttons to avoid CLS

    For more information, please refer to issue #957.

  • Improve a11y of purchased downloadable product links

    For more information, please refer to merge request #1068.

  • Improve lighthouse score by adding a missing href attribute to the slider-end link

    For more information, please refer to merge request #1085.

  • Fix PayPal In-Context buttons disappearing on cart page after cart updates

    For more information, please refer to merge request #1087.

  • Update reset theme dependency constraint to >= 1.1.6

    The dependency is updated because of new layout XML resets for the Magento_OrderCancellationUi module introduced in Magento 2.4.7.

  • Fix page default title styling

    For more information, please refer to issue #966.

Removed

  • Nothing removed

1.3.6 - 2024-03-28

Added

  • Support MSRP (manufacturer's suggested retail price)

    For details, please refer to issue #773.

  • Add support for demo store, disabled JavaScript and missing browser storage notice

    For details, please refer to issue #792.

  • Add missing checkout_onepage_failure layout XML file

    Some payment modules redirect to this route (for example HiPay).

    For details, please refer to merge request #760.

    Many thanks to Vincent MARMIESSE (ph2m) for the contribution!

  • Add support for recaptchas on dynamically rendered forms

    Previously ReCAPTCHA could only be implemented on custom forms present when the DOMContentLoaded event was triggered.

    For details, please refer to merge request #761.

    Many thanks to Rob Aimes (Youwe) for the contribution!

  • Add title tag to anchor element on product list items

    For details, please refer to issue #677.

    Many thanks to Jacob (JaJuMa) for the contribution!

  • Add validation for day-of-month in date custom options input selects

    For details, please refer to merge request #878.

    Many thanks to Antonio Carboni (Magenio) for the contribution!

  • Consistently show an asterix (*) beside labels for required input fields

    For details, please refer to issue #651.

  • Add the number of items on the wishlist beside the menu link

    For details, please refer to issue #832.

    Many thanks to Vita Samohina (Perspective Magento Team) for the contribution!

  • Add missing missing focus and hover styles to header icons

    For details, please refer to merge request #1016.

  • Add extra column child blocks to sales order table

    For details, please refer to issue #894.

  • Add additional header container to allow adding header icons without file override

    For details, please refer to issue #896.

    Many thanks to Emils Malovka (Magebit) for the contribution!

  • Add related search options to the search results page

    For details, please refer to issue #891.

  • Add support for video settings from the admin store config to the gallery

    The default behavior of the gallery option loopVideo has changed. Previously, loopVideo was set to true by default, causing videos to loop automatically.
    This now defaults to false, and the admin configuration takes precedence. To ensure videos loop automatically, set loopVideo to true in your admin configuration.

    For details, please refer to issue #898.

  • Add layout checkout_onepage_failure.xml

    This page appears after a failed payment, most likely when the payment is made on a different page than checkout.

    For details, please refer to issue #902.

    Many thanks to Julien L. (Lumao) for the contribution!

  • Add Recaptcha v2 invisible badge position setting from the admin

    For details, please refer to merge request #1039.

    Many thanks to Rob Aimes (Youwe) for the contribution!

  • Implement PayPal Express In-Context

    For details, please refer to merge request #1043.

    Many thanks to Christoph Hendreich (In Session) for the contribution!

  • Add data-addto attributes to buttons for SEO and customizations

    For details, please refer to issue #928.

  • Add option to remove the container from the page title

    For details, please refer to issue #940.

    Many thanks to Ruud van Zuidam (Siteation) for the contribution!

  • Add label to sorting select in toolbar

    For details, please refer to issue #942.

    Many thanks to Ruud van Zuidam (Siteation) for the contribution!

  • Added schema type person to review author name

    For details, please refer to issue #920.

    Many thanks to Ravinder (redChamps) for the contribution!

Changed

  • Upgrade tailwindcss version to 3.4.1

    This change raises the minimum compatible node version to 16.
    There are no known backward compatibility breaks, due to postcss-preset-env being added to the dependencies. This ensures compatibility with older browsers using browserlist. For details, please refer to issue #889.

    Many thanks to Ruud van Zuidam (Siteation) for contributing to the update!

  • Show "Configure" instead of "Add to cart" for bundles on PLP

    In addition to this a11y improvement, several screen-reader-only labels have been added.
    Please check the upgrade notes for the list of new translation phrases.

    For details, please refer to merge request #902.

    Many thanks to Adrian Wyganowski (Snowdog) for the contribution!

  • Reduce the amount of unnecessary or duplicated JavaScript

    To increase CVW, the PageBuilder content type JS is now only rendered when the given content type is present.
    Also, some functions that previously were rendered for each product now are only rendered once.

    For details, please refer to merge request #1034 and merge request #1048

  • Move the add to cart button below the summary for bundled product PDP

    For details, please refer to merge request #904.

    Many thanks to Adrian Wyganowski (Snowdog) for the contribution!

  • Abort running postCart Ajax requests on subsequent qty updates

    Previously changing the quantity for a product multiple times could lead to a race condition.

    For details, please refer to issue #653.

    Many thanks to Andreas Pointner (Copex) for the contribution!

  • Improve mini-cart edit button visibility to match Luma default behavior for item.is_visible_in_site_visibility"

    For details, please refer to merge request #653.

    Many thanks to Thibaut Faucher (Magentizy) for the contribution!

  • Improve code style in Magento_Sales templates

    For details, please refer to merge request #702.

    Many thanks to Guus Portegies (Cees&co) for the contribution!

  • Prevent layout shifts on customer registration form

    For details, please refer to issue #637.

  • Prevent client-side breadcrumb layout shifts on mobile

    For details, please refer to issue #424.

    Many thanks to Thanh Nd (JaJuMa) for the contribution!

  • Handle long product names gracefully on the cart page

    For details, please refer to issue #725.

    Many thanks to Lars de Weert (Made by Mouses) for the contribution!

  • Fix product image gallery thumbnails do not follow the active image

    For details, please refer to issue #758.

  • Calculate product image gallery scroll start/end correctly

    For details, please refer to issue #764.

  • Fix sidebar main layout if using the 1column layout

    For details, please refer to issue #508.

  • Consistently render disabled, checked, and required HTML attributes as name only

    Boolean HTML attributes like for example disabled="disabled" are now consistently rendered as the attribute name only disabled.

  • Refactor customer reviews code for readability by extracting the GraphQL query into a variable

    For details, please refer to merge request #909.

  • Fix price filter aria-label for product count has HTML inside the attribute value

    For details, please refer to issue #803.

  • Fix product quantity field value flash on page load

    For details, please refer to issue #808.

    Many thanks to Thijs de Witt (Trinos) for the contribution!

  • Fix product price layout shift on page load

    For details, please refer to issue #809.

    Many thanks to Thijs de Witt (Trinos) for the contribution!

  • Fix CLS caused by product review form

    For details, please refer to issue #811.

    Many thanks to Thijs de Witt (Trinos) for the contribution!

  • Fix bundled product option display in order history

    For details, please refer to issue #290.

    Many thanks to Parth Trivedi (Web Vision) for the contribution!

  • Fix reviews focus-order semantics to improve a11y

    For details, please refer to merge request #927.

    Many thanks to Ola Frankowska (Snowdog) for the contribution!

  • Enlarge gallery slider thumbnail slider button area to improve a11y

    For details, please refer to issue #826.

    Many thanks to Lars de Weert (Made by Mouses) for their contribution!

  • Fix cart drawer horizontal scroll on mini-cart on iOS devices

    For details, please refer to merge request #999.

  • Improve desktop header wrapping for menu and icons

    For details, please refer to issue #835.

    Many thanks to Vita Samohina (Perspective Magento Team) for the contribution!

  • Add missing aria-label on the cookie notices section

    For details, please refer to merge request #1003.

  • Removed duplicate container and inline-padding on order success page

    For details, please refer to merge request #1004.

  • Add scroll lock to cart drawer to prevent browser UI jumps

    For details, please refer to issue #881.

  • Allow customization of slider item CSS classes through layout XML

    For details, please refer to merge request #1007.

  • Fix page-builder sliders in initially hidden tabs

    For details, please refer to merge request #962.

    Many thanks to Ivan Martsii (Perspective Magento Team) for the contribution!

  • *Fix textarea in share wishlist causes overflow on mobile

    For details, please refer to issue #883.

  • Fix filtering a product moves the layered navigation sidebar higher

    For details, please refer to issue #877.

    Many thanks to Artem Skripka (Eltrino) for the contribution!

  • Fix PLP items with multiple extra buttons breaks the layout

    For details, please refer to issue #885.

  • Fix order page: Extra buttons in the page title break the layout and cause overflow on smaller screens

    For details, please refer to issue #886.

  • Reduce DOM size by authentication-popup form

    For details, please refer to issue #864.

    Many thanks to Eddie B. (Eltrino) for the contribution!

  • Fix product gallery doesn't go fullscreen on Firefox

    For details, please refer to merge request #1014.

  • Fix inconsistent indentations for button styles

    For details, please refer to merge request #1018.

  • Gallery: show video preview image when autoplay is set to false

    For details, please refer to issue #892.

  • Remove duplicate class attribute in account dashboard info block

    For details, please refer to issue #895.

  • Load the first image instead of the new base image when updating the gallery with configurable images

    For details, please refer to merge request #1025.

  • Add correct aria-label to the Gallery fullscreen button

    For details, please refer to issue #900.

  • Add ID to reorder button form on sales order view page

    For details, please refer to issue #907.

  • Show the correct amount of items in the mini-cart when more than max items are in the cart

    For details, please refer to issue #908.

  • Provide browser-sync compatible mobile safari bug workaround

    For details, please refer to merge request #1037.

  • Prefill form fields when creating an account after submission of an existing email address

    For details, please refer to issue #914.

    Many thanks to Arjen Miedema (JC-Electronics) for the contribution!

  • Improve account layout for large mobile phones and tablets

    For details, please refer to merge request #1037.

    Many thanks to Lars de Weert (Made by Mouses) for their contribution!

  • Use autocomplete attribute on all username/password fields

    For details, please refer to issue #1044.

  • Add aria-label to aside containers

    For details, please refer to issue #675.

  • Fix cart page "move to wishlist" button title

    For details, please refer to issue #929.

  • Fix race condition: username rendered in customer login input may be cached in FPC

    For details, please refer to issue #932.

  • Add a backdrop to Authentication popup

    For details, please refer to issue #934.

  • Add missing close label in Authentication popup

    For details, please refer to merge request #1051.

  • Only Access Swatch Image Data for Visual Swatches

    For more information, please refer to issue #937.

  • Fix issue when combining qty increments, default order qty, and tier prices

    For more information, please refer to issue #539.

  • Ensure the currency selection pop-up does not go beyond the device display

    For more information, please refer to issue #640.

    Many thanks to Vita Samohina (Perspective Magento Team) for the contribution!

  • Improve A11Y for PDP info attributes

    For more information, please refer to issue #939.

    Many thanks to Ruud van Zuidam (Siteation) for the contribution!

  • Improve the 'Ship To' column in order history and recent orders

    Now the shipping address name is shown. Previously only the billing address company name was rendered, which is empty most of the time for many shops.

    For more information, please refer to issue #822.

    Many thanks to Lars de Weert (Made by Mouses) for their contribution!

  • Call getSwatchesPath only for image swatches to reduce server load

    For more information, please refer to issue #642.

    Many thanks to Ivan Tarkovych (Perspective Magento Team) for the contribution!

  • Fix issue with catalog price display both incl + excl tax and configurable products

    For more information, please refer to issue #880.

  • Fix shipping totals display incl + excl on newer Magento versions

    For more information, please refer to issue #949.

  • Improve display of shipping estimation with display set to both incl + excl tax

    For more information, please refer to issue #913.

Removed

  • Nothing removed

1.3.5 - 2023-12-20

Added

  • Add selected swatch value next to product option on the Product page

    Previously, the selected swatch value was not displayed alongside the product option label on the product page. This enhancement adds the swatch label to the label on product detail pages, making the selected swatch option more visible.

    For more details, please refer to issue #854.

  • Add product slider type class to the slider wrapper

    Product slider wrappers now have one of the classes related-product-slider, upsell-product-slider, crosssell-product-slider, or generic-product-slider. This can be used to apply distinct styles for different sliders.

    For more details, please refer to merge request #848.

    Many thanks to Iman Aboheydary (Customgento) for their contribution!

  • Product image gallery: add fullscreen arrow keys support and scroll-lock

    For more details, please refer to merge request #884.

    Many thanks to Lars de Weert (Made by Mouses) for their contribution!

Changed

  • Fix CLS issue with layered navigation

    The initial render for the layered navigation is now handled entirely by CSS, resolving the CLS issue.

    For more details, please refer to issue #862.

  • Fix layout XML schema violation regression

    This change fixes a regression introduced in release 1.3.4. The tailwind class md:grid-cols-2 is not compatible with the native Magento layout container htmlClass attribute regular expression, resulting in a broken customer login page.
    The error made it into production because test instances used a patched XSD as described as a workaround in the docs.

    The offending class was moved into the web/tailwind/components/customer.css file as part of the customer-login-container class.

    For more details, please refer to issue #861.

  • Improve workaround for Mobile Safari bug requiring double tap to activate buttons on product list items

    The workaround for swatch selection in product lists released in 1.3.3 did not cover the add-to-cart button or the image link of product list items.

    For more details, please refer to issue #858.

  • Gracefully handle customer registration form with prefilled region text input

    A manually entered region could be rendered as a JavaScript string without quotes. This error did not occur in the default registration form configuration.

    For more details, please refer to issue #860.

  • Remove superfluous argument to Product::getTypeInstance()

    Previously true was passed, but since the method signature does not accept parameters it had no effect.

    For more details, please refer to merge request #986.

    Many thanks to Tjitse Efdé (Vendic) for their contribution!

  • Replace GIF loader with SVG version for consistency with other Hyvä loaders

    The Default theme provides three loader icon variants, two using custom SVG icons, and one using the Magento loader-1.gif.
    With this change, all Hyvä default theme loaders look the same.

    For more details, please refer to merge request #857.

  • Wrap product dropdown options on mobile

    For more details, please refer to merge request #849.

  • Remove duplicate border width specification for swatches

    For more details, please refer to merge request #815.

  • Do not render hidden sidebar wishlist and compare section headers if there are no items

    Previously, even without items, the headings were rendered, even though they were hidden with CSS.

    For more details, please refer to merge request #806.

  • Change cart drawer heading from H2 to P

    Previously, the H2 tag in the cart drawer was rendered before the H1 tag in the main content area.
    To improve accessibility, the title in the cart drawer is now rendered in a P tag.

    For more details, please refer to merge request #804.

Removed

  • Remove "Show Password" from en_US.csv (covered by core Magento)

    The default-theme i18n/en_US.csv file only contains phrases that differ from Luma.
    Since "Show Password" is present in the core language packs, it should not be part of the Hyvä translation phrases.

    This removal is backward compatible.

    For more details, please refer to issue #867.

1.3.4 - 2023-11-21

Added

  • Add missing translation phrase "Show Password"

    Previously this phrase was missing from the Hyvä translation CSV dictionary.
    The phrase is not part of the Magento core translation phases, where it is surrounded by single quotes "'Show Password'".

    For more information, please refer to issue #838.

    Many thanks to Tom Muir (e3n - Die Magento Agentur) for the contribution!

Changed

  • Use HTML unordered list for product listings instead of div-based grid

    Using semantic HTML improves accessibility.
    BC Note: this change can require updates to DOM selectors in end-to-end tests like Cypress or Playwright.

    For more information, please refer to issue #652.

  • Use HTML tables for customer order history, recent orders, and customer downloadable products

    Using semantic HTML improves accessibility. BC Note: this change can require updates to DOM selectors in end-to-end tests like Cypress or Playwright.

    For details, please refer to merge request #931.

  • Accommodate additional blocks on customer login page without breaking layout

    Previously, when adding another widget to the login container, the layout did not automatically wrap the widget to the next line, leading to a broken layout. BC Note: the web/tailwind/components/customer.css styles need to be manually removed from existing themes after the upgrade for a theme to profit from this change.

    For more information, please refer to issue #775.

  • Update Tailwindcss from 3.2.4 to 3.2.7

    This change is backward compatible. The newer tailwind version fixes some issues.

    For a list of changes in Tailwindcss, please refer to issue #820.

  • Remove superfluous container class on forgot password page

    This change removes an extra indent on the left of the card block.

    For more information, please refer to issue #836.

    Many thanks to Viktor Yakaba (Perspective Magento Team) for the contribution!

  • Fix: layered navigation on 1column page layouts hidden

    For more information, please refer to issue #678.

    Many thanks to Ivan Matsii (Perspective Magento Team) for the contribution!

  • Fix: keyboard navigation on desktop menu ESC focusses mini cart button

    For more information, please refer to issue #768.

  • Align the text on layered navigation toggle buttons to the beginning

    Previously, for long attribute labels that caused a line wrap, the second line was centered.

    For more information, please refer to issue #783.

  • Use hyva.trapFocus for product gallery instead of individual implementation

    Using the hyva.trapFocus method introduced in Hyvä 1.2.6 improves the overall consistency within the default theme.

    For more information, please refer to issue #793.

  • Ensure consistent PLP list view image size

    In the list view, the product image size previously depended on the product short description length.

    For more information, please refer to issue #799.

  • Update product gallery itemCount when images are received after option selection

    The itemCount property is used for the calculation of the product thumbnail gallery slider.

    For more information, please refer to issue #801.

  • Fix whitespace around layered navigation filter options with zero matching products

    For more information, please refer to issue #802.

Removed

  • Nothing removed

1.3.3 - 2023-11-16

Added

  • Added new containers for Customer Custom Attributes

    Containers were added to the customer_account_create, customer_account_edit, customer_address_form, and layout XML instructions to facilitate rendering custom customer attributes with Hyvä Enterprise.

    Note: while these changes reference features in Adobe Commerce, no Commerce code is depended upon.

    For more information, please refer to issue #812.

Changed

  • Fix: Mobile Safari iOS double click required to start swatch selection

    For more information, please refer to merge request #885.

  • Fix: set initial state of mobile navigation to hidden

    Previously the mobile navigation default state was visible until JavaScript kicked in.

    For more information, please refer to issue #767.

  • Render customer.account.dashboard.info.blocks container on customer dashboard

    Additional blocks can now be rendered by assigning them as children of the customer.account.dashboard.info.blocks container.

    For more information, please refer to issue #812.

  • Render SVG icons on customer dashboard with view model

    Previously the SVG icons were declared as inline markup in the template without using the SVG icons view model.

    For more information, please refer to issue #812.

  • Facilitate Gift Wrapping support (for Hyvä Enterprise)

    These changes allow gift-wrapping support in the cart page for Hyvä Enterprise to function as expected.

    Note: while these changes reference features in Adobe Commerce, no Commerce code is depended upon.
    All checks are based on configuration values which always return null or false in Magento Open Source

    For more information, please refer to issue #807.

  • Fix: Order History mobile view order date clipping

    For more information, please refer to issue #930.

  • Hide view/reorder links for received async orders

    This change renders orders as expected if asynchronous order processing in Adobe Commerce is enabled.

    For more information, please refer to merge request #935.

Removed

  • Removed superfluous duplicate display css property from product gallery

    The block had no effect since it was overridden by the flex property.

    For more information, please refer to merge request #885.

1.3.2 - 2023-09-30

Added

  • Nothing added

Changed

  • Allow adding additional links to header customer menu

    Previously, it was not possible to add additional links to the customer-menu.phtml template without overriding the template.

    For more information please refer to the 1.3.2 upgrade notes or issue #730.

  • Update version constraint for hyva-themes/magento2-reset-theme to 1.1.5

    The updated reset theme contains the resets for the Adobe Sensei related modules.

    For more information please refer to merge request #893.

  • Fix missing translation function for product gallery thumbnail alt text

    For more information please refer to issue #777.

Removed

  • Removed obsolete href attribute from button

    After the accessibility update, the customer menu button (previously a link) still had the href attribute.

    For more information please refer to issue #766.

1.3.1 - 2023-09-06

Added

  • Allow configuring a width and height for main category images

    If a width and height for category_page_category_image is configured in etc/view.xml, those attributes will be rendered on the category img tag. The intended purpose of this is to reduce the CLS value.

    For more information, please refer to issue #743 and the associated merge request #858.

Changed

  • Fix mini-cart exceeding screen height no longer scrollable

    This fixes a regression introduced in release 1.3.0.

    For more information, please refer to merge request #859.

  • Fix duplicate DOM element IDs in sliders due to caching

    For more information, please refer to issue #748.

  • Improve styling for subcategories of non-anchor category

    For more information, please refer to issue #743 and the associated merge request #856.

  • Only render review summary JS if reviews are enabled

    For more information, please refer to issue #747.

  • Exclude products only visible in a search from product sliders

    For more information, please refer to issue #734.

Removed

  • Nothing removed

1.3.0 - 2023-08-31

Acronyms:

  • AT refers to Assistive Technology (keyboard navigation, screen readers, voice-over, and voice control).
  • SR refers to Screen Readers

Added

  • Nothing added

Changed

  • Show skip navigation link on focus

  • Make top-menu sub-menus expanded on hover also available using keyboard navigation

  • Make mobile menu usable for AT users

  • Announce header search input focus on all browsers

  • Improve header search toggle button label and role

  • Restore focus after closing search form with ESC key

  • Use button element with proper area attributes for customer menu toggle

  • ESC key closes customer menu

  • Fix shopping cart link when shopping cart is empty, link is focusable but disabled

  • Logo label does not explain where it links

  • Wrong order of header in footer

  • Properly describe link to Twitter in the default footer

  • Improve color contrast of success and warning messages

  • Announce flash messages when they are displayed for AT

  • Do not force visitor to go through all items in slider before being able to continue

  • Fix possible duplicate element IDs in product slider

  • Add alt text to mini cart product images

  • Add missing labels for mini cart action buttons and hide image from SR

  • Trap focus for keyboard navigation when mini cart is open, and move initial focus to mini cart when opened

  • Hide default homepage hero image for SR

  • Add product name to rating summary labels

  • Make product rating summary focusable

  • Announce product rating dates as date for AT on rating listing page

  • Make product rating form radio buttons accessible

  • Remove duplicate label on review list select

  • Remove duplicate label from pagination toolbar select

  • Fix toolbar: aria-label attribute is not allowed on span elements

  • Make label on product swatches accessible

  • Fix duplicate option label announcement on product swatches

  • Fix form label on product swatch items does not refer to existing form on PLP

  • Announce color change for AT when swatch is selected

  • Add product names to Add to cart / Add to wishlist button arial labels on product grid

  • Mark items already added to cart of wishlist on product grid

  • Add unique landmark to sidebar, hide for SR if empty

  • Change sidebar Shop By title to be h2 heading

  • Make expanded category and search results page filters accessible for AT

  • Announce active category and search results page filters for AT

  • Announce active grid/list mode on PLP

  • Fix color contrast on list/grid mode selection in PLP toolbar

  • Add product name to actions on product comparison table

  • Fix duplicate image on PDP for AT, and add information that image can be magnified by clicking on it

  • Fix product gallery images being announced as links for AT, and announce image gallery changes

  • Fix focus when clicking on image with SR

  • Properly label qty inputs for grouped products

  • Hide fieldset for grouped products from keyboard navigation if it is empty

  • Fix header order for bundled products

  • Announce price changes for AT when bundled product options are selected

  • Fix duplicate announcement of bundled product radio option labels for AT

  • Move Add to Cart button below the summary for bundled products

  • Mark Estimate Shipping section as expandable for AT on cart page

  • Mark Apply Discount section as expandable for AT on cart page

  • Hide icon in expanded label from SR on cart page

  • Fix duplicate label for radio buttons in Estimate Shipping section on cart page

  • Add product name to add, remove, and edit cart item action labels on cart page

  • Use legend instead of aria-label on div element for Estimate Shipping section on cart page

  • Add valid arial-label to gift options drawer on cart page

  • Add unique ID for sidebar landmark on customer dashboard

  • Hide sidebar on customer dashboard from SR if empty

  • Add information to edit action label for what each action applies to on customer dashboard

  • Hide images/icons in customer dashboard from SR

  • Fix heading order on customer dashboard

  • Use aria-label including product name for reorder item checkbox in customer dashboard recent orders list

  • Use proper semantic markup for recent orders table on customer dashboard

  • Add descriptive label for AT to Change email and Change password checkboxes on edit account page

  • Move focus to input after checking Change email or Change password checkboxes on edit account page

  • Make tooltip on edit account page accessible and focusable

  • Make Show password button on edit account page usable with every AT by using proper semantic element

  • Make password requirement information on edit account page more accessible by binding it to input with aria-describedby

  • Hide validation message when field is filled correctly on edit address page

  • Mark required fields by adding an asterisk to the label on edit address page

  • Add validation to telefon field in customer account address book

  • Use semantic markup for tables table in customer account pages

    This applies to order history, downloadable product list, and recent orders.

  • Bind order item labels to checkbox on order history page in customer account

  • Use legend instead of aria-label on div for reorder action

  • Make tooltip accessible and focusable on wishlist page in customer account

  • Add product name to Edit and Remove action links on wishlist page in customer account

  • Improve order status label to indicate what it refers to on order details page in customer account

  • Ensure correct structure of definition list dl and st elements on order details in customer account

  • Make "Allow remote shopping assistance" tooltip accessible and focusable on login/registration page

  • Make password requirement information on create account page more accessible by binding it to input with aria-describedby

  • Make Show password button on login/registration page usable with every AT by using proper semantic element

Removed

  • Nothing removed

1.2.9 - 2023-12-21

Added

  • Nothing added

Changed

  • Fix typo in CSS class 'ointer' to 'pointer'

    The previous release 1.2.8 introduced a typo in the class name in Magento_Swatches/templates/product/swatch-item.phtml that is fixed now.

    For more information, please refer to merge request #983.

    Many thanks to Lars de Weert (Made by Mouses) for their contribution!

  • Fix layout XML schema violation regression

    This change fixes a regression introduced in release 1.2.8. The tailwind class md:grid-cols-2 is not compatible with the native Magento layout container htmlClass attribute regular expression, resulting in a broken customer login page.
    The error made it into production because test instances used a patched XSD as described as a workaround in the docs.

    The offending class was moved into the web/tailwind/components/customer.css file as part of the customer-login-container class.

    For more details, please refer to merge request #998.

Removed

  • Nothing removed

1.2.8 - 2023-11-22

Added

  • Nothing added

Changed

  • Accommodate additional blocks on customer login page without breaking layout

    Previously, when adding another widget to the login container, the layout did not automatically wrap the widget to the next line, leading to a broken layout. BC Note: the web/tailwind/components/customer.css styles need to be manually removed from existing themes after the upgrade for a theme to profit from this change.

    For more information, please refer to issue #775.

  • Update Tailwindcss from 3.2.4 to 3.2.7

    This change is backward compatible. The newer tailwind version fixes some issues.

    For a list of changes in Tailwindcss, please refer to issue #820.

  • Fix: layered navigation on 1column page layouts hidden

    For more information, please refer to issue #678.

    Many thanks to Ivan Matsii (Perspective Magento Team) for the contribution!

Removed

  • Nothing removed

1.2.7 - 2023-11-17

Added

  • Added new containers for Customer Custom Attributes

Containers were added to the customer_account_create, customer_account_edit, customer_address_form, and layout XML instructions to facilitate rendering custom customer attributes with Hyvä Enterprise.

Note: while these changes reference features in Adobe Commerce, no Commerce code is depended upon.

For more information, please refer to issue #812.

Changed

  • Fix: Mobile Safari iOS double click required to start swatch selection

For more information, please refer to merge request #942.

  • Allow adding additional links to header customer menu

Previously, it was not possible to add additional links to the customer-menu.phtml template without overriding the template.

For more information please refer to the 1.2.7 upgrade notes or issue #730.

  • Facilitate Gift Wrapping support (for Hyvä Enterprise)

These changes allow gift-wrapping support in the cart page for Hyvä Enterprise to function as expected.

Note: while these changes reference features in Adobe Commerce, no Commerce code is depended upon.
All checks are based on configuration values which always return null or false in Magento Open Source

For more information, please refer to issue #807.

  • Hide view/reorder links for received async orders

This change renders orders as expected if asynchronous order processing in Adobe Commerce is enabled.

For more information, please refer to merge request #947.

  • Render customer.account.dashboard.info.blocks container on customer dashboard

Additional blocks can now be rendered by assigning them as children of the customer.account.dashboard.info.blocks container.

For more information, please refer to issue #812.

  • Render SVG icons on customer dashboard with view model

Previously the SVG icons were declared as inline markup in the template without using the SVG icons view model.

For more information, please refer to issue #812.

  • Update version constraint for hyva-themes/magento2-reset-theme to 1.1.5

The updated reset theme contains the resets for the Adobe Sensei related modules.

For more information please refer to merge request #894.

Removed

  • Nothing removed

1.2.6 - 2023-08-28

Added

  • Nothing added

Changed

  • Update i18n/en_US.csv to match phrases used in theme

The default localization file was not updated with all changes. This release now brings it up to date.
More specifically:

- Previously a phrase in the CSV file contained improperly escaped quotes - this is now fixed.
- 4 phrases were changed to match core Magento and thus were removed from the hyva-default-theme 18n/en_US.csv file.
- 11 phrases were removed from the en_US.csv file in Hyvä because they are part of the core Magento set of phrases.
- 22 phrases were added that were previously missing from the hyva-default-theme 18n/en_US.csv file.

Some of these changes are backward incompatible if a store does not include all core Magento phrases.
Be sure to update your localizations accordingly after the upgrade.

Please refer to the 1.2.6 upgrade documentation for details, or to merge request #838.

  • Properly enable and disable swatches for configurable products with 3+ variant attributes

For more information, please refer to issue 735.

  • Allow unselecting previously selected swatches

For more information, please refer to issue 738.

  • Fix HTML class name

Previously the CSS display:none was used inside a class attribute in Magento_Catalog/templates/product/view/options/type/file.phtml, which of course has no effect.
This was changed to use the class name hidden instead.

For more information, please refer to issue 672.

Many thanks to Andrzej Wiaderny (Hatimeria) for the contribution!

  • Fix quantity regex on input field of PDP

Previously, Chrome reported an error for the regex in the attribute pattern="[0-9](\.[0-9])?{0,<?= /** @noEscape */ $maxSalesQtyLength ?>}'" of the quantity input field on product detail pages.

For more information, please refer to issue 733.

Many thanks to Ruud van Zuidam (Siteation) for the contribution!

  • Use a consistent variable name for the heroicons view model

Previously, sometimes $heroIcons and sometimes $heroicons was used.
Now it always is $heroicons consistently.

For more information, please refer to issue 707.

Many thanks to Andrzej Wiaderny (Hatimeria) for the contribution!

  • Guard against finalPrice selector not matching any elements

For more information, please refer to issue 737.

  • Fix broken client-side rendered breadcrumbs when the referrer contains a query string

For more information, please refer to merge request #824.

Many thanks to Jeroen Noten (IO Digital) for the contribution!

  • Avoid JS error when clicking on product review summary on compare products page

For more information, please refer to merge request #844.

Removed

  • Nothing removed

1.2.5 - 2023-07-31

Added

  • Nothing added

Changed

  • Improve product option value check before setting

Under some conditions it previously was possible to set invalid product option values, for example when configuring an unconfigured product from the wishlist, which in turn led to option dropdowns being empty.

For more information please refer to issue 714.

Removed

  • Nothing removed

1.2.4 - 2023-07-21

Added

  • Provide Magento_GTag compatibility

This release now provides compatibility with the Magento_GoogleGtag module.
It provided a basic Google Analytics 4 and Google Ads Gtag integration.

  • Add JavaScript event listing-configurable-selection-changed

Previously an event when a configurable product option is selected was only dispatched on product detail pages.
Now the event listing-configurable-selection-changed is introduced.

For more information, please refer to issue #649 and the documentation.

Many thanks to Tjitse Efdé (Vendic) for their contribution!

  • Add drag-to-slide touch support to product gallery in full-screen

For more information, please refer to merge request #754

Many thanks to Tjitse Efdé (Vendic) for their contribution!

  • Add missing PHPDoc block type annotation

Previously the phpdoc annotation for $block in Magento_Sales/templates/order/creditmemo/items.phtml was missing.

For more information, please refer to merge request #701

Many thanks to Guus Portegies (Cees en Co) for their contribution!

  • Add missing PHPCS disable lines to template files

For more information, please refer to merge request #737

Many thanks to Arjen Miedema (JC-Electronics) for their contribution!

  • Apply backend option to automatically hide success messages after a timeout if set

It is now possible to configure a time after which success messages are hidden (unless a specific timeout was specified with the message).

For more information, please refer to merge request #721 and the theme-module merge request #343 for the matching system configuration option.

Changed

  • [security] Prevent the contact-us page from being stored in the full-page cache

For logged-in customers, the contact form is prepopulated, so if the FPC record happened to be by a logged-in customer, their name would be shown to subsequent visitors.

For more information, please refer to issue #687.

Special to Aad Mathijssen (IO) for alerting us to the issue!

  • Fixed: Issue horizontally aligning button on PageBuilder Banner block

For more information, please refer to issue #546.

Many thanks to Kenneth Danielsen (Novicell) for their contribution!

  • Workaround safari mobile layout bug in mobile hamburger menu positioning

A workaround was added to fix an issue in mobile safari.
Previously the positioning of the hamburger icon shifted after the menu was opened and closed again.

For more information, please refer to issue #705.

  • Allow translation of Password Strength Meter titles

For more information, please refer to issue #581.

Many thanks to Mauro Sempere (Onestic) for their contribution!

  • Reduce contact form CSS

Replaced the custom class flex-columns-wrapper with native tailwind classes to reduce the CSS size a little bit.

For more information, please refer to merge request #660

Many thanks to Sean van Zuidam (Siteation) for their contribution!

  • Fixed: Pagespeed Insights advisory - SEO Links are not crawlable

For more information, please refer to issue #579.

Many thanks to Arron Moss (Zero1) and Ivan Martsii (Perspective) for their contribution!

  • Set hamburger icon width/height (conflict with bfcache)

For more information, please refer to issue #598.

Many Thanks to Dung La (JaJuMa) for their contribution!

  • Avoid loading external ReCaptcha script if no API keys are configured

For more information, please refer to issue #609.

Many Thanks to Rostislav Sulejmanov (Perspective) for their contribution!

  • Remove excessive bracket in shipping totals label

Previously a superfluous ) was rendered after the total.

For more information, please refer to issue #588.

Many Thanks to Valentyn Kuchak (Perspective) for their contribution!

  • Add spaces in layout XML comment with mention of prose tailwind class so it isn't picked up by accident

For more information, please refer to issue #587.

Many Thanks to Ivan Tarkovych (Perspective) for their contribution!

  • Add path to parent default theme layout files to tailwindcss content paths config

For more information, please refer to issue #742.

Many Thanks to Alex Galdin (IT-Delight) for their contribution!

  • Fixed swatch display being cropped at page edge

For more information, please refer to issue #641.

Many Thanks to Ivan Tarkovych (Perspective) for their contribution!

  • Refactor messages stylesheet

Now tailwind classes are applied instead of using plain CSS.

For more information, please refer to merge request #753

Many thanks to Kiel Pykett (Youwe) for their contribution!

  • Fixed slider dot opacity edge case

Previously the slider dot class opacity-25 sometimes had a higher priority than opacity-100 while hovering.

For more information, please refer to issue #668.

  • Fixed accessibility issue in client-side rendered breadcrumbs

For more information, please refer to issue #574.

Many thanks to Mitchel van Kleef (Made by Mouses) for their contribution!

  • Cleaned up contact form CSS

This change reduces the size of the generated CSS a little.
The removed custom classes are now declared in the theme css for backward compatibility.

For more information, please refer to merge request #660

Many thanks to Sean van Zuidam (Siteation) for their contribution!

  • Do not apply top-menu ESI block cache tags to the regular page if Varnish is enabled

Previously the category cache tags were also added to the regular page FPC record.

For more information, please refer to merge request #776 or the theme-module issue #256.

  • Fix PDP sorting stops working when category memorization is on

For detailed changes, please refer to the merge request #778 and to theme-module merge request #276 for more background information.

Many thanks to Paul Grigoruta for the detailed report!

  • Update @hyva-themes/hyva-modules to dependency

The default-theme now depends on release ^1.0.9 of @hyva-themes/hyva-modules.
Changes in this version: - Allow excluding module CSS from being merged (see GitHub PR #6). - Allow tailwind.config.js to be in the project base directory (see this GitHub PR #8).

For more information, please refer to issue #657.

Many thanks to Sean van Zuidam (Siteation) and Thijs de Witt (Trinos) for their contribution to @hyva-themes/hyva-modules!

  • Render Recaptcha legal notice rendered with all attributes

Previously the rel and the target attributes were stripped by the $escaper->escapeHtml().

For more information, please refer to issue #608.

  • Avoid rendering gift-message related HTML on cart page if disabled

For more information, please refer to issue #593.

  • Show out-of-stock options as disabled in text and color swatches

Previously the saleable state for out-of-stock options of configurable products with a single configurable attribute was not correctly disabled.

For more information, please refer to issue #564.

  • Fixed: preconfiguring a product detail page from cart with invalid values disables all options

For more information, please refer to issue #656.

  • Do not show rating summary in compare products table if reviews are disabled

For more information, please refer to issue #576.

  • Correctly display shipping tax according to config settings in cart totals

For more information, please refer to issue #449.

Many thanks to Christoph Hendreich (In Session) for providing the solution!

  • Update hyva-themes/magento2-reset-theme dependency to 1.1.4

In the new version all Layout XML resets are updated, so they are based on the latest 2.4.6 Magento version.
All email related XML instructions for b2b + commerce that were previously added by mistake are now removed, so emails work as expected on Adobe Commerce/B2B instances.

Removed

  • Removed unused variables from product list template

For more information, please refer to merge request #752

Many thanks to Tjitse Efdé (Vendic) for their contribution!

1.2.3 - 2023-03-17

Added

  • Nothing added

Changed

  • Make region selection code more robust under Alpine v2

In Magento_Customer/templates/address/edit.phtml a small change was made to avoid a race condition. Previously, with Alpine v2, it could happen that a change of the region selection was not seen by the form validation.

For more information, please refer to merge request #725

Removed

  • Nothing removed

1.2.2 - 2023-03-06

This default-theme release only exists to keep the version synchronized with the theme-module. It contains no functional changes.

Added

  • Nothing added

Changed

  • Nothing changed

Removed

  • Nothing removed

1.2.1 - 2023-01-19

Added

  • Support system config setting to hide or display stock status on PDP

Previously, the stock status was always shown, regardless of the config setting.

For more information, please refer to the merge request #652.

Many thanks to Kiel Pykett (Youwe) for the contribution!

  • Add autoprefixer

Previously the autoprefixer library was removed in Hyvä release 1.2.0 because it no longer was a dependency by Tailwindcss.
However, since then we learned it still is a useful resource to include in the default Hyvä build process.

For more information please refer to issue #562.

Changed

  • Upgrade Tailwindcss to 3.2.4

This is a backwards compatible upgrade that fixes some issues in tailwind.

For more information please refer to issue #565.

  • Fix display of original price excl. tax

Previously, if catalog prices where configured to be displayed incl. and excl. tax, the price excl. tax was displayed without taking a special price into account.

For more information, please refer to merge request #672.

Many thanks to Rich Jones (Aware Digital) for the contribution!

  • Fix hardcoded custom option ID in html5 date picker template

In the HTML5 version of the datetime custom option template (which is not used by default), the custom option ID was hardcoded.

For more information, please refer to the merge request #666.

Many thanks to Kiel Pykett (Youwe) for the contribution!

  • Render loader above open modals

Previously the loader was displayed behind open modals.

For more information please refer to merge request #654.

Many thanks to Anil Suthar (Dolphin Web Solution) for the contribution!

  • Change input type for customer telephone number to from "number" to "tel"

For more information please refer to issue #540.

Many thanks to Sean van Zuidam (Siteation) for the contribution!

Removed

  • Nothing removed

1.2.0 - 2022-12-21

Added

  • Nothing added

Changed

  • Migrate Alpine.js to version 3

The hyva-themes/magento2-default-theme package is no longer compatible with Alpine.js version 2.

For more information please refer to merge request #293

  • Migrate Tailwind CSS to version 3

The hyva-themes/magento2-default-theme package is no longer compatible with Tailwind CSS version 2.

For more information please refer to merge request #506

  • Fix typo in php-cart coupon form html ID

The attribute id="discound-form-toggle" was changed to id="discount-form-toggle"

Removed

  • Nothing removed

1.1.26 - 2023-11-17

Added

  • Added new containers for Customer Custom Attributes

    Containers were added to the customer_account_create, customer_account_edit, customer_address_form, and layout XML instructions to facilitate rendering custom customer attributes.

    Note: while these changes reference features in Adobe Commerce, no Commerce code is depended upon.

    For more information, please refer to issue #812.

Changed

  • Fix: Mobile Safari iOS double click required to start swatch selection

    For more information, please refer to merge request #941.

  • Allow adding additional links to header customer menu

    Previously, it was not possible to add additional links to the customer-menu.phtml template without overriding the template.

    For more information please refer to the 1.1.26 upgrade notes or issue #730.

  • Render customer.account.dashboard.info.blocks container on customer dashboard

    Additional blocks can now be rendered by assigning them as children of the customer.account.dashboard.info.blocks container.

    For more information, please refer to issue #812.

  • Render SVG icons on customer dashboard with view model

    Previously the SVG icons were declared as inline markup in the template without using the SVG icons view model.

    For more information, please refer to issue #812.

  • Update version constraint for hyva-themes/magento2-reset-theme to 1.1.5

    The updated reset theme contains the resets for the Adobe Sensei related modules.

    For more information please refer to merge request #951.

Removed

  • Nothing removed

1.1.25 - 2023-07-31

Added

  • Nothing added

Changed

  • Improve product option value check before setting

Under some conditions it previously was possible to set invalid product option values, for example when configuring an unconfigured product from the wishlist, which in turn led to option dropdowns being empty.

For more information please refer to issue 714.

Removed

  • Nothing removed

1.1.24 - 2023-07-21

Added

  • Nothing added

Changed

  • [security] Prevent the contact-us page from being stored in the full-page cache

For logged-in customers, the contact form is prepopulated, so if the FPC record happened to be by a logged-in customer, their name would be shown to subsequent visitors.

For more information, please refer to issue #687.

Special to Aad Mathijssen (Isaac) for alerting us to the issue!

  • Do not apply top-menu ESI block cache tags to the regular page if Varnish is enabled

Previously the category cache tags were also added to the regular page FPC record.

For more information, please refer to merge request #777 or the theme-module issue #256.

  • Reduce contact form CSS

Replaced the custom class flex-columns-wrapper with native tailwind classes to reduce the CSS size a little bit.

For more information, please refer to merge request #659

Many thanks to Sean van Zuidam (Siteation) for their contribution!

  • Remove excessive bracket in shipping totals label

Previously a superfluous ) was rendered after the total.

For more information, please refer to issue #588.

Many Thanks to Valentyn Kuchak (Perspective) for their contribution!

  • Update @hyva-themes/hyva-modules to dependency

The default-theme now depends on release ^1.0.9 of @hyva-themes/hyva-modules.
Changes in this version: - Allow excluding module CSS from being merged (see GitHub PR #6). - Allow tailwind.config.js to be in the project base directory (see this GitHub PR #8).

For more information, please refer to issue #657.

Many thanks to Sean van Zuidam (Siteation) and Thijs de Witt (Trinos) for their contribution to @hyva-themes/hyva-modules!

  • Show out-of-stock options as disabled in text and color swatches

Previously the saleable state for out-of-stock options of configurable products with a single configurable attribute was not correctly disabled.

For more information, please refer to issue #564.

  • Avoid loading external ReCaptcha script if no API keys are configured

For more information, please refer to issue #609.

Many Thanks to Rostislav Sulejmanov (Perspective) for their contribution!

  • Update hyva-themes/magento2-reset-theme dependency to 1.1.4

In the new version all Layout XML resets are updated, so they are based on the latest 2.4.6 Magento version.
All email related XML instructions for b2b + commerce that were previously added by mistake are now removed, so emails work as expected on Adobe Commerce/B2B instances.

Removed

  • Nothing removed

1.1.23 - 2023-03-17

Added

  • Nothing added

Changed

  • Make region selection code more robust under Alpine v2

In Magento_Customer/templates/address/edit.phtml a small change was made to avoid a race condition. Previously, with Alpine v2, it could happen that a change of the region selection was not seen by the form validation.

For more information, please refer to merge request #724

Removed

  • Nothing removed

1.1.22 - 2023-03-06

This default-theme release only exists to keep the version synchronized with the theme-module. It contains no functional changes.

Added

  • Nothing added

Changed

  • Nothing changed

Removed

  • Nothing removed

1.1.21 - 2023-01-19

Added

  • Support system config setting to hide or display stock status on PDP

Previously, the stock status was always shown, regardless of the config setting.

For more information, please refer to the merge request #652.

Many thanks to Kiel Pykett (Youwe) for the contribution!

Changed

  • Fix display of original price excl. tax

Previously, if catalog prices where configured to be displayed incl. and excl. tax, the price excl. tax was displayed without taking a special price into account.

For more information, please refer to merge request #672.

Many thanks to Rich Jones (Aware Digital) for the contribution!

  • Fix hardcoded custom option ID in html5 date picker template

In the HTML5 version of the datetime custom option template (which is not used by default), the custom option ID was hardcoded.

For more information, please refer to the merge request #666.

Many thanks to Kiel Pykett (Youwe) for the contribution!

  • Render loader above open modals

Previously the loader was displayed behind open modals.

For more information please refer to merge request #654.

Many thanks to Anil Suthar (Dolphin Web Solution) for the contribution!

  • Change input type for customer telephone number to from "number" to "tel"

For more information please refer to issue #540.

Many thanks to Sean van Zuidam (Siteation) for the contribution!

Removed

  • Nothing removed

1.1.20 - 2022-12-21

Added

  • Add support for show prices incl. + excl. tax on catalog pages

For more information please refer to merge request #259, merge request #606 and the theme-module merge request #266.

Many thanks to Dave Baker, Rich Jones and Ryan Hissey (all from Aware Digital) for the contribution!

  • Add option to render PDP breadcrumbs with JavaScript

Client side rendered PDP breadcrumbs are turned off by default and need to be enabled in the system configuration at
Hyvä Themes > Catalog > Hyvä Client-Side Breadcrumbs rendering.

Client side rendering shows the correct breadcrumbs path on PDP when a product is used in more than one category.

For more information please refer to issue #434.

Many Thanks to Dung La (JaJuMa) for the contribution!

  • Make product relation type available in list item template

If the product list was loaded as one of the relations upsell, crosssell or related, this is now available in the product list item.phtml template via $block->getData('item_relation_type').

For more information please refer to the default-theme merge request #603 and the theme-module merge request #264.

  • Add Password strength meter

For more information please refer to merge request #540.

Many thanks to Quyen D (Burgesscommerce) for the contribution!

  • Bypass waiting for user interaction when loading external scripts on the order success page

For more information please refer to issue #537 and theme-module issue #226.

Many thanks to John Hughes (Youwe) for the contribution!

  • Eagerly load the first images in product listings

The number of images to preload can be set in layout XML by specifying an argument eager_load_images_count on the category.products.list block.
By default, the first three images are eagerly loaded.

For more information please refer to issue #522.

  • Add layout directory to default theme purge config path

For more information please refer to issue #533.

Changed

  • Fix order email total rendering

Previously the totals were rendered above the order items.
In Luma, the totals.phtml and the tax.phtml templates are used both for order emails and for the customer order history.
In the past, Hyvä used the same template for both, too, which caused either the frontend or the emails not to be rendered properly.
This release moves the templates that are used in the store front to a new location, which means the standard Luma templates are used for the order emails.

This is a backward compatibility breaking change, but sadly there was no way around that while still fixing the order emails.

For more information please refer to issue #485.

  • Fix one-off max-width for layered navigation mobile breakpoint detection

For more information please refer to issue #507.

Many thanks to Sean van Zuidam (Siteation) for the contribution!

  • Avoid transition-all in sliders for better CSS layout render performance

For more information please refer to issue #509.

Many thanks to Sean van Zuidam (Siteation) for the contribution!

  • Require reset-theme version 1.1.3 for product-main-full-width styling to work

This version of the reset theme changes the main container CSS class if the product-full-width page layout is selected, and styling in the 1.1.20 default-theme uses that to remove the max-width from the container.

For more information please refer to merge request #639.

  • Remove redundant duplicate noEscape annotation comments

For more information please refer to issue #510.

Many thanks to Sean van Zuidam (Siteation) for the contribution!

  • Correct order of PHPDoc annotation to type var

For more information please refer to issue #511.

Many thanks to Sean van Zuidam (Siteation) for the contribution!

  • Clean up aria labels in pager

For more information please refer to issue #512.

Many thanks to Sean van Zuidam (Siteation) for the contribution!

  • Enable all recaptcha buttons after recaptcha script load

Previously, if more than one recaptcha form was present on a page, only the button for the first one was enabled.

For more information please refer to issue #515.

  • Fix PageBuilder column responsiveness

For more information please refer to issue #516.

  • Separate contact details from contact form as a child block/template

This allows easier placement of store contact information or other content next to the form.

For more information please refer to merge request #580.

  • Fix type numeric error with PHP 8.1 if pager limit "all" is enabled

For more information please refer to merge request #584 and issue #530.

Many thanks to Barry vd. Heuvel (Fruitcake) for the contribution!

  • Update postcss-import plugin to 14.0

This resolves an issue when empty .css files are imported in the tailwind-source.css.

For more information please refer to issue #517.

  • Show swatches properly for out-of-stock options

Previously, if "Display Out Of Stock Products" was enabled, out-of-stock product options were displayed as available for configurable products.

For more information please refer to issue #506.

  • Show telephone input as required correctly

Previously the input field was rendered as optional even if it was configured to be required.

For more information please refer to merge request #595.

Thanks to Aad Mathijssen (Isaac) for the contribution!

  • Fix typo in css class name on customer account registration

The old misspelled class name still is present for backward compatibility in addition to the new corrected class.
Old incorrect class name: registation-container
New corrected class name: registration-container

  • Fix region select label in customer form when country without regions is selected

For more information please refer to issue #391.

  • Allow single option bundled products to be added to the cart from PLP

For more information please refer to issue #531.

  • Translate cart total labels when updated by JavaScript

For more information, please refer to issue #524.

  • Fix carrier_code TypeError: Cannot read properties of undefined

For more information please refer to issue #532.

  • Apply configured top destinations to country select

For more information please refer to merge request #633.

Many thanks to Mark van der Sanden (Ecomni) for the contribution!

  • Fix error with invalid recaptcha action name if block name had invalid characters

For more information please refer to merge request #634.

Many thanks to Alexander Menk (iMi digital GmbH) for the contribution!

  • Fix gift-message form submission on cart page

For more information please refer to issue #555.

Removed

  • Nothing removed

1.1.19 - 2022-10-22

Added

  • Show/Hide password in forms with an Eye-EyeOff icon

Passwords can now be hidden or shown by clicking on an eye/eye-off icon in the login, registration and edit account customer forms.

For more information, please refer to issue #498.

Many Thanks to Dung La (JaJuMa) for the contribution!

Changed

  • Fix double h1 tag on PDP

For more information, please refer to issue #452 and merge request #542

Many thanks to Sean van Zuidam (Siteation) for the contribution!

  • Fix Structured Data for Product Item (Missing Image)

This is a SEO related improvement.
For more information, please refer to issue #495.

Many Thanks to Dung La (JaJuMa) for the contribution!

  • Fix form submission if recaptcha is enabled

This change fixes a regression that was introduced with 1.2.0-beta1.

For more information, please refer to issue #497.

  • Remove customer-review-list anchor in pagination URL on PLP

In release 1.1.18 a #customer-review-list anchor was added to the pagination URLs, to fix an issue with product review pagination.
However, this anchor was also rendered on product listing pagination URLs.
This change now makes the pagination URL configurable via layout XML, and now only renders the review list anchor on product review pagination URLs.

For more information, please refer to issue #492.

Removed

  • Remove character ')' in subtotal cart page

For more information, please refer to issue #494.

Many Thanks to Dung La (JaJuMa) for the contribution!

1.1.18 - 2022-10-15

Added

  • Add support for Gift Messages

Previously this feature was not supported in Hyvä.

For more information please refer to merge request #505.

Many thanks to Ross McHugh (Monsoon Consulting) for the contribution!

  • Add extension point for shipping method selection in PHP Cart

Child blocks added to the checkout.cart.shipping block on checkout_cart_index will now be automatically rendered.
Also, the region code is now provided as a data-code attribute on the region select options.

For more information please refer to merge request #503.

Many thanks to Lucas van Staden (ProxiBlue) for the contribution!

  • Add extension point to cart drawer template

Four new layout containers are now available to customize the cart drawer: cart-drawer.top, cart-drawer.items.before, cart-drawer.items.after, cart-drawer.bottom.

For more information please refer to merge request #514.

Many thanks to Kiel Pykett (Youwe - formerly Fisheye) for the contribution!

  • Allow displaying products assigned to child categories for anchor category sliders

For sliders configured with a single category ID, the property include_child_category_products can now be set in layout XML on the slider block to cause products assigned to child categories to be displayed, too.

For more information please refer to issue #473.

  • Added missing customer widget templates

Before the Luma version of the templates was used due to missing overrides in Hyvä. The new templates are Magento_Customer::widget/fax.phtml, Magento_Customer::widget/gender.phtml and Magento_Customer::widget/taxvat.phtml.

For more information please refer to merge request #543.

Changed

  • Validation of Postcode and Telephone fields in customer address form

The validation for the customer/address/edit form now uses the advanced validation library to validate postcode and region according to the selected country, and also applies telephone validation according to the store configuration.

For more information please refer to issue #114.

Many thanks to Oleksandr Melnychuk (Atwix) for the contribution!

  • Automatically scroll to review section on review pagination

Previously, the page reloaded at the page top, and a visitor would have to manually scroll down to the reviews page they navigated to.

For more information please refer to issue #453.

Many Thanks to Dung La (JaJuMa) for the contribution!

  • Fix wrong product name used in review section when editing wishlist items

For more information please refer to issue #462.

Many Thanks to Dung La (JaJuMa) for the contribution!

  • Open the overlay keyboard when user clicks on search icon on mobile

This allows visitors to start typing right away, without first having to tap the search bar.

For more information please refer to issue #456.

Many thanks to Nick Hall (MFG Supply) for the contribution!

  • Fix gallery images not compatible with many images

Previously, when quite a lot of images where added to a product, say 6 or more, the full-screen gallery view on mobile was filled up with thumbnails.

For more information please refer to issue #136.

Many thanks to Oleksandr Melnychuk (Atwix) for the contribution!

  • The cart drawer should use the QuoteShortcutButtons block instead of InCatalog

Third party extensions can now correctly use the is_catalog_product property to determine if the product actions are being rendered on a PDP / PLP or on a checkout related page.

For more information please refer to merge request #504.

Many thanks to Ravinder (redChamps) for the contribution!

  • A11y improvement: use aside tag for sidebars

The aside tag is used to mark certain elements as complimentary to the main content.
The sidebar main and additional are always complimentary to the catalog page so it makes sense to use the aside html tag instead of a generic div.

For more information please refer to issue #458.

Many thanks to Sean van Zuidam (Siteation) for the contribution!

  • Fix comment description of the meaning of the assistance_allowed value

Previously the comment reversed the meaning of the value.

For more information please refer to issue #461.

Many thanks to Jerke Combee (Elgentos) for the contribution!

  • Fix the URL suffix determination for recently viewed products

This fixes a bug that occurred when the product URL suffix was configured to be empty.

For more information please refer to issue #463.

  • Fix crosssell slider on the PHP-Cart page if PageBuilder is disabled

For more information please refer to issue #457.

Many thanks to Rich Jones (Aware Digital) for the contribution!

  • Allow some HTML tags in order comments

Since Magento 2.4.4 the HTML tags ['b', 'br', 'strong', 'i', 'u', 'a'] are allowed to be rendered in order comments on the frontend.

For more information please refer to issue #465.

  • Fix configurable-selection-changed event arguments

For more information please refer to issue #468.

Many thanks to Richard Brown (Lawson-His) for the report and the suggested fix!

  • Fix edit and remove icons for bundled products in the PHP-Cart

For more information please refer to issue #469.

  • Use PHP reCaptcha view model constants instead of strings to refer to reCaptcha configuration

The ReCaptcha view model now has constants for the different built-in forms supporting ReCaptcha.

For more information please refer to merge request #517.

Many thanks to Kiel Pykett (Youwe - formerly Fisheye) for the contribution!

  • Simplify password confirmation match checking function

For more information please refer to merge request #521.

Many thanks to Kiel Pykett (Youwe - formerly Fisheye) for the contribution!

  • Integrate changes from Magento 2.4.5

These changes include rendering numbers with a LocalFormatter, and adding new view models to that allow disabling some functionality in Adobe Commerce.
Because Hyvä supports Magento since 2.4.0 wrapper classes are used to provide the same functionality in Magento versions before 2.4.5.

For more information please refer to issue #479.

Many thanks to Peter Jaap Blaakmeer (Elgentos) for the contribution!

  • Replace h2 in authentication-popup with strong tag to avoid wrong title tag order

This change is a SEO improvement.

For more information please refer to issue #486.

Many thanks to Sean van Zuidam (Siteation) for the contribution!

  • Fix broken review summary link and unintentional scroll

For more information please refer to issue #486.

Many thanks to Kenneth Danielsen (Novicell) for the contribution!

Removed

  • Nothing removed

1.1.17 - 2022-08-16

Added

  • Specify the minimum node version >=12.13.0 in package.json

This is currently for informational purpose only since it will not be automatically checked without a .npmrc file with strict-engine=true.
The version constraint >=12.13.0 matches the one of Tailwind CSS v2.

For more information please refer to the issue #423.

  • Add show password functionality

The "Show Password" functionality was added to Luma in Magento versions 2.4.3-p2 and 2.4.4. This MR adds support for this feature to Hyvä.

For more information please refer to the merge request #484.

Many thanks to Guus Portegies (Cees en Co) for the contribution!

  • Add .gitlab-ci file

Some tests and checks are now automatically executed in GitLab pipelines for new merge requests.
Currently some do not have to succeed (for example the code style check), but this will change at some point in the future.

  • Add absolute footer block

Hyvä now also contains this customization point (like Luma).

For more information please refer to the merge request #486.

Many thanks to Erwin Romkes (Moore) for the contribution!

  • Add Out Of Stock label in product list item template

For more information please refer to the issue #412.

Many thanks to Nataly Gorupaha (Atwix) for the contribution!

  • Add default red textColor

The css class text-red was used in several templates, but no default text color was declared for the default theme.

For more information please refer to the merge request #497.

Changed

  • Bugfix: Resolve "Cannot use object of type stdClass as array"

For more information please refer to the issue #435.

  • Bugfix: Add missing bundled product cart item renderers

Previously the selected options on bundled products where not shown on the PHP cart page.
For more information please refer to the issue #440.

Many thanks to Laura Folco for the report and suggesting a fix!

  • Bugfix: Use JS to determine redirect target after addToCart in cached product list item template

For more information please refer to the issue #445.

Many thanks to Zach Nanninga (DEG Digital) for the detailed report and suggested solution!

  • Use new hyva.getUenc function to encode the current URL

Previously, a number of templates used '&unec=' + btoa(window.location.href) to add the `uenc query parameter to an url. This is missing additional encoding of+,/and=done by\Magento\Framework\Url\Encoder::encode()`.

For more information please refer to the issue #450.

  • Bugfix: Fix ReCaptcha loader if no ReCaptcha v3 website key is configured

For more information please refer to the merge request #475.

Many thanks to Laura Folco for the help debugging the issue!

  • Bugfix: Fix call to replaceDomElement within reloadCartContent()

For more information please refer to the issue #439.

  • Bugfix: Shipping methods with underscores in method code break the PHP cart

For more information please refer to the issue #433.

Many thanks to Stephanie Ehrling (ECOPLAN) for the report and suggesting a fix!

  • Bugfix: Show new password mismatch method on customer edit form

For more information please refer to the issue #422.

Many thanks to Nataly Gorupaha (Atwix) for the contribution!

  • Update the minimum version requirement for @hyva-themes/hyva-modules

This change is only applicable to new installs and ensures the node version 12 compatible release of @hyva-themes/hyva-modules is installed by npm install.
Previously an older version of the library was installed by default that required node version 14 or newer.

For more information please refer to the issue #423.

  • Fix: Google PageSpeed warning "Links are not crawlable"

For more information please refer to the issue #429.

Many thanks to Ryan Hissey (Aware Digital) for the contribution!

  • Improvement: Reset PDP Gallery when all options are reset to "Choose an option..."

For more information please refer to the issue #432.

  • Improvement: Sort the updated PDP Gallery when configurable options are selected

Previously only the initial gallery was sorted according to the image position specified on the product.

For more information please refer to the issue #426.

Many thanks to Irina Smidt (Customgento) for the contribution!

  • Bugfix: add missing closing HTML tag on cart page

For more information please refer to the merge request #481.

Many thanks to Simon Sprankel (Customgento) for the contribution!

  • Improvement: Correctly associate labels to fields in login form

For more information please refer to the merge request #482.

Many thanks to Lucas van Staden (ProxiBlue) for the contribution!

  • Improvement: Add missing import for ViewModelRegistry in template

The class name is only referenced from a PHPDoc annotation, so previously no error was thrown, but now, with this change, IDE autocompletion correctly works for the $viewModels variable.

For more information please refer to the issue #442.

Many thanks to Guus Portegies (Cees en Co) for the contribution!

  • Improvement: fix minor CLS on mobile menu

The "X" SVG to close the mobile menu was displayed on page load and then hidden by JS, causing it to be displayed briefly and causing a small CLS.

For more information please refer to the merge request #485.

Many thanks to Nick Hall (MFG Supply) for the contribution!

Removed

  • Remove hover classes for mobile

The hover state is generally not available on mobile devices, thus the classes previously had no effect.

For more information please refer to the issue #444.

Many thanks to Jesse de Boer (Elgentos) for the contribution!

1.1.16 - 2022-06-16

Release 1.1.16 is a backward compatible bugfix release.

Added

  • Nothing added

Changed

  • Fix rendering of newsletter subscription form in footer

In 1.1.15 a bug was introduced while extracting the copyright into a separate template. This bug is now fixed.

For more information please refer to the Merge Request #470.

Removed

  • Nothing removed

1.1.15 - 2022-06-13

Upgrade guide

Backward incompatible warning The default cart page has been replaced with a Server-Side-Rendered version using PHP and AlpineJS, if you're upgrading and want to keep the GraphQL cart you need to install the GraphQL cart separately. You should be able to keep using the GraphQL cart without further customizations and we will keep supporting both versions of the cart.

If you're upgrading from <1.1.15 please check the documentation page on upgrading. Any additional information and known bugs/issues to this release will be documented there.

Added

  • Support for reCaptcha v2 "I'm not a robot" and v2 invisible

This now provides feature parity with Luma. The implementation was also improved to make it easier to implement custom captcha integrations.

More details can be found in the Merge Request #340 and the theme module Merge Request #153.

Many thanks to Amanda Bradley (Youwe - formerly Fisheye) for the contribution!

  • Add additional actions container to product detail page

This allows adding additional actions to the list of add-to-wishlist, add-to-compare and so on.

For more information please refer to the Merge Request #448.

Many thanks to Ruud van Zuidam (Siteation) for the contribution!

  • Add recently ordered sidebar

Please refer to the Issue #452 for more details.

Many thanks to Nataly Gorupaha (Atwix) for the contribution!

  • Add wishlist sidebar

Please refer to the Issue #384 for more details.

Many thanks to Nataly Gorupaha (Atwix) for the contribution!

Changed

  • Replace the GraphQL cart with a PHP cart implementation using AlpineJS and Ajax

This is a backward incompatible change, but existing sites can install the hyva-themes/magento2-graphql-cart extension to restore the previous functionality in a backward compatible way.

For more information please refer to the Merge Request #397.

  • Use SVG ViewModel instead of hardcoded SVGs in default theme

This includes adding the SVG loader to the theme web folder instead of hardcoding it in the loader template.

For more information please refer to the Merge Requests #431 and #432.

Many thanks to Ruud van Zuidam (Siteation) for the contribution!

  • Rely on automatic purge config for theme-module

By default, the automatic merging of tailwind.config.js is now used to add the theme module templates to the content path config of any Hyvä theme.

Please refer to the Issue #398 for more details.

  • Support multiple ratings

Previously only a single rating was shown.

Please refer to the Issue #374 for more details.

Many thanks to Nguyen Miha (JaJuMa) for the contribution!

  • Use a tag on current breadcrumb to improve a11y

This improves a11y since the aria-current attribute is only allowed on anchors.

For more information please refer to the Merge Request #436.

Many thanks to Ruud van Zuidam (Siteation) for the contribution!

  • Fix layout XML parent for Send Friend icon in product info

Previously the icon was not rendered.

For more information please refer to the Merge Request #437.

Many thanks to Ruud van Zuidam (Siteation) for the contribution!

  • Correct spacing beside toolbar pager dropdown

For more information please refer to the Merge Request #438.

Many thanks to Ruud van Zuidam (Siteation) for the contribution!

  • Fix rendering of sidebar on desktop for categories with empty content area

Please refer to the Issue #312 for more details.

Many thanks to Nataly Gorupaha (Atwix) for the contribution!

  • Move footer copyright into separate template file

Also include a comment to make it easier to render the copyright configured in the admin.

For more information please refer to the Merge Request #442.

Many thanks to Ruud van Zuidam (Siteation) for the contribution!

  • Reserve space for form validation message on validation container, not input field

The previous solution required awkward workarounds for multiple inputs like radio buttons within a container.

For more information please refer to the Merge Request #445.

  • The minicart now shows the configured amount of items

Please refer to the Issue #386 for more details.

Many thanks to Nataly Gorupaha (Atwix) for the contribution!

  • Fix: Selecting country with no regions hides region field but retains label

Please refer to the Issue #391 for more details.

Many thanks to Nataly Gorupaha (Atwix) for the contribution!

  • Use better reCaptcha v3 action names for better stats collection

For more information please refer to the Merge Request #422.

Many thanks to Lucas van Staden (ProxiBlue) for the contribution!

  • Fix: Render product image for selected attributes

This is accomplished by rendering the product image using $block->getImage() instead of the view model, so the swatch logic is applied automatically.

Please refer to the Issue #402 for more details.

  • Add required attribute to email and password fields in login form

Many thanks to Nataly Gorupaha (Atwix) for the contribution!

  • Fix PayPal in context JSON deserialization issue

Please refer to the Issue #403 for more details.

Many thanks to Nataly Gorupaha (Atwix) for the contribution!

  • Improve column width in compare product table

For more information please refer to the Merge Request #439.

Many thanks to Ruud van Zuidam (Siteation) for the contribution!

  • Improve pager a11y

The improvements consist of a number of changes.

For more information please refer to the Merge Request #435.

Many thanks to Ruud van Zuidam and Sean van Zuidam (Siteation) for the contribution!

  • Move sales order totals template to correct folder

Previously the Luma template was used accidentally.

Please refer to the Issue #405 for more details.

  • Fix: search field renders quotes as escaped HTML entity

Please refer to the Issue #408 for more details.

  • Fix: initConfigurableOptions is not defined on out of stock configurable product page

Please refer to the Issue #410 for more details.

  • Fix ApplePay shortcut button throwing an exception when logged in on FPC cache pages

The virtual type Magento\Catalog\Block\ShortcutButtons\InCatalog is now used instead of the original type Magento\Catalog\Block\ShortcutButtons.

Please refer to the Issue #413 for more details.

  • Use image of product matching partial option selection

Previously, the product image was only swapped when a full option selection was made. Now the image is updated already after the first selection (like in Luma). Also, images already in the initial image set will not be added to the gallery as duplicates when "append to gallery" is selected.

For more information please refer to the Merge Request #462.

Removed

  • Removed the composer.lock file from the hyva-themes/magento2-default-theme package

1.1.14 - 2022-04-29

Added

  • Allow modules to automatically add tailwind config and css to styles.css compilation

This feature allows modules to be ready to use after installation, without manual adjustments to a themes purge config. The feature is enabled for new themes automatically, but can also be used in older themes by installing the npm module @hyva-themes/hyva-modules, and making two small adjustments to the tailwind.config.js and the postcss.config.js files.

More information can be found in merge request #394.
The documentation for this new feature will be published shortly, too.

Changed

  • Compress default-theme background hero image

This change reduces the file size by 92%!

Many thanks to Jesse de Boer (Elgentos) for the contribution!

  • Do not cache preconfigured swatch options while editing cart

This change in addition to small change in the swatches JS allows setting default product options in PHP again.

For more information see issue #368.

Removed

  • Nothing

1.1.13 - 2022-04-12

Added

  • Support for Magento_Vault

The payment vault on the customer account area is now supported. Support during checkout depends on the installed checkout.

  • Show configurable product option price adjustments in attribute dropdowns

Previously the price adjustments where not displayed in hyvä (but where shown in Luma).

More information can be found in the merge request #401

  • Add id parameter to reset password form required in 2.4.3-p2 and 2.4.4

This backward compatible change is required for Magento 2.4.4.

More information can be found in the issue #363

  • Add i18n/en_US.csv with all Hyvä specific strings

This can serve as a base for custom translations.
Note: Some pre-made localizations are available at https://gitlab.hyva.io/hyva-themes/internationalization (de_DE, es_ES, fr_FR, it_IRT, nl_NL, pl_PL)

More information can be found in the merge request #223

Many thanks to Alexander Menk (iMi digital GmbH) for the contribution!

Changed

  • Fix z-index issue on homepage for page messages

Both the page messages and the section below the hero image have a z-index of 10, which results in the section covering the page message.

More information can be found in issue #342

  • Fix Safari Customer account icon display bug

The Customer Account icon button in the top menu previously displayed wrong in Safari.

More information can be found in issue #341

Big thanks to Sean van Zuidam (Mooore) for the contribution!

  • Fix priority of x-cloak css so it works in all cases

Previously more specific styles prevented elements with the x-cloak attribute from being hidden.

More information can be found in issue #328.

Many thanks to Eduard Chyzhyk (Mageworx) for the contribution!

  • Fix inconsistent currency format

So far only the store language was used to determine how to format the currency, but in some cases that is not enough, for example de_CH (Switzerland German) vs de_DE (Germany German).

More information can be found in the issue #345

  • Fix log "Broken reference: the 'div.sidebar.additional' tries to reorder itself"

The error message previously was logged on most requests.

More information can be found in the issue #348.

Big thanks to Sean van Zuidam (Mooore) for the contribution!

  • Consistently use hyva.formatPrice() reducing code duplication

More information can be found in the merge request #404

  • Fix: GraphQL queries in recently viewed product widgets assume top level Magento install

Previously the store code was missing from GraphQL queries, so in stores with a subfolder in the path, the GraphQL query was be broken.

More information can be found in the issue #336

Many thanks to Salvatore Capritta (Synthetic) for the contribution!

  • Bugfix: Can't Override Product Slider Item Template Using Layout XML

More information can be found in the issue #340

  • Bugfix: Add all items to cart from wishlist not working

More information can be found in the issue #358

Many thanks to Krijn van de Kerkhof (X-com) for the contribution!

  • Bugfix: Google Map API SDK link broken

More information can be found in the issue #357

  • Centralize product list item rendering to remove code duplication

Previously the same logic to render product list items was repeated in multiple templates.
This required keeping changes in sync, especially when a new cache key item needed to be added.
A new method was introduced to the ProductListItem view model in the theme module, that now is used by all the templates.

More information can be found in the theme module issue #155

  • Fix typo in HTML id attribute in checkout discount form toggle

More information can be found in the issue #343

  • Apply system configuration setting to show grand total in cart incl. or excl. tax

More information can be found in the issue #334

  • Fix: Edit cart item causes default values to be cached for PDP

More information can be found in the issue #283

  • Display unavailable shipping rates like in Luma in shipping estimation

Depending on the system configuration settings Luma hides or displays unavailable shipping methods during the shipping rate estimation. This change replicates that behavior in Hyvä.

More information can be found in the issue #292

  • Show image of configurable product in cart if configured

Previously the image of the selected simple product was shown.

More information can be found in issue #326

Many thanks to Lucas van Staden (ProxiBlue) for the contribution!

  • Fix pager jump styles

Previously the "gap" in the pager buttons was missing some styles.

More information can be found in the merge request #419

Many thanks to Alex Galdin (IT-Delight) for the contribution!

  • Fix PageBuilder full width row support

Previously full width and full bleed row content elements did not break out of the main content container.

More information can be found in the issue #361

Removed

  • Remove dependency on Magento_SendFriend

Previously, static-content:deploy failed if the Magento_SendFriend module was replaced/removed.

More details can be found in the merge request #344

Many thanks to Peter Jaap Blaakmeer (Elgentos) for the contribution!

1.1.12 - 2022-02-07

Added

  • Add extra action block to cart drawer

This is new extension point that allows displaying additional checkout option buttons. In Luma, this block was rendered as HTML server side but then displayed using JavaScript. In Hyvä, the block is rendered server side.

More information can be found in the merge request #386

Many thanks to Ravinder (redChamps) for the contribution!

Changed

  • Bugfix: Resolve "Users cannot scroll on mobile menu"

Please refer to issue #301 for more information.

Thanks to Ben Crook (Space48) for reporting!

Removed

  • Nothing

1.1.11 - 2022-01-28

Added

  • Add testing selector attributes to the PDP

More information can be found in the merge request #367

Many thanks to Andrew Millar (Elgentos) for the contribution!

  • Add missing cart totals container as extension point

More information can be found in issue #324

  • Added missing 'form_additional_info' container to login form

This adds a missing extension point that also is present in Luma.

More information can be found in the merge request #378

Many thanks to Ravinder (redChamps) for the patch!

  • Add Hyvä theme-module to default tailwind purge list config

Previously tailwind classes used in the modal templates where not picked up by default.

More information can be found in issue #327

Changed

  • Bugfix: Fix cache key for all instances of product_list_item

The PageBuilder carousel and grid content type used the shared product list item block, but previously did not set the full cache information on the instance before rendering. This caused the previously rendered product to be shown.

More information can be found in issue #323

  • Bugfix: Fix broken "Track your order" link on order view page

More information can be found in issue #329

Many thanks to Alex Galdin (IT Delight) for the contribution!

  • Bugfix: Fix rendering of escaped html entities in product names in compare list

Previously special characters in the product name where escaped twice in the product compare list.

More information can be found in issue #313

Many thanks to Matt Walsh for the contribution!

  • Fix checkbox custom option checked property update

Previously it was not possible to programmatically alter the checkbox state after a user interacted with it.

More information can be found in issue #332

Many thanks to Simon Sprankel (Customgento) for the contribution!

  • Fix structured data for product reviews on the product detail page

More information can be found in issue #321

Many thanks to Lucas Vu (JaJuMa) for the contribution!

  • Fix noisy messages in error log on search result page

Previously the redeclaration of a container on the search results page polluted the exception.log with main.CRITICAL: The element "search_result_list" can't have a child because "search_result_list" already has a child with alias "additional"

More information can be found in issue #304

  • Add guard clause against undefined index in swatch renderer template

Previously, if a product attribute was set to "Used in Layered Navigation": "Filterable (no results)", an error was displayed.

More information can be found in issue #325

  • Prohibit search with less than 3 characters

More information can be found in issue #330

Removed

  • Nothing

1.1.10 - 2022-01-14

Added

  • Add container extension point to product list item template

This allows extensions to add new items to the element containing the add-to-cart, wishlist and compare buttons.

More information can be found in the merge request #361

  • Add product_sku filter for SSR product sliders

This provides feature parity with the GraphQL Hyvä product slider.

More information can be found in issue #293

  • Add Order Status to Order Detail page in Customer Account

More information can be found in issue #318

  • Many thanks to Lucas Vu (JaJuMa) for the contribution!

Changed

  • Allow installation in PHP 8 environments

More information can be found in issue #297

  • Bugfix: Do not render max allowed amount if "falsy" in add-to-cart form

More information can be found in issue #295

  • Apply logo_file if set in layout XML and no logo is configured in the admin area

This allows setting the logo with a block argument in layout XML as documented in the devdocs.

More information can be found in issue #309

  • Bugfix: swatch options type number type mismatch in switch statement

More information can be found in issue #307

  • Bugfix: hide swatch options for disabled products

More information can be found in issue #307

  • Initialize Send Friend form with one input (instead of zero)

More information can be found in issue #310

  • Bugfix: do not apply position sort order in product sliders if flat catalog is enabled

More information can be found in issue #308

  • Bugfix: on the cart page, keep discount in totals after estimating shipping and tax

More information can be found in issue #296

  • Bugfix: handle multiple tax rates when estimating shipping and tax

More information can be found in issue #280

  • Bugfix: Can't remove product from compare list

More information can be found in issue #300

  • Bugfix: Fixed class name typo to change the width of totals on large screens

More information can be found in merge request #366

Thanks to Guus Portegies (Cees en Co) for the contribution!

  • Improvement: Better SSR slider styling for overflowing pagination bullets and equal item heights

More information can be found in issue #320

Removed

  • Nothing removed

1.1.9 - 2021-11-29

Upgrade guide

If you're upgrading from <1.1.8 please check the documentation page on upgrading. Any additional information and known bugs/issues to this release will be documented there.

1.1.9 Upgrading docs

Added

  • Use Tailwind CSS JIT mode

Update the default theme css and tailwind config so it is compatible with the Tailwind CSS JIT mode.

  • Use npm run build-prod to build a product bundle with the JIT compiler.
  • Use npm run build-dev to build a unpurged development bundle with the AOT compiler.
  • Use npm run watch to run the JIT file watcher recompiling the css after any change.
  • Use npm run browser-sync to start the browser-sync file watcher.
    Use PROXY_URL="https://my-magento.test npm run browser-sync to specify the backend host.

  • Support recently viewed products

In addition to the regular Recently Viewed Product widget, Hyvä also supports configuring recently viewed products using the system configuration.

More information can be found in the merge request #243

Many thanks to Faran Cheema (Aware Digital) for the contribution!

  • Add react-container.phtml to example purge config section in tailwind config

With this change uncommenting the line is all that is required after installing the react checkout.

More information can be found in merge request #292.

Many thanks to Peter Jaap Blaakmeer (Elgentos) for the contribution!

  • Add PageBuilder widgets, styles & product templates

Since PageBuilder is now bundled with Magento Open Source, it makes sense to support it out of the box in Hyvä.

More information can be found in the merge request #295

Many thanks to John Hughes (Fisheye) for the contribution!

  • Add .gitignore to web/tailwind with node_modules/ entry

More information can be found in the merge request #303

Many thanks to Lorenzo Stramaccia (magespecialist) for the contribution!

  • Bugfix: display values for all custom option types on cart page

More information is available on the issue #187

  • Support reCAPTCHA on product review form

More information is available on the issue #70

  • Add product search autocomplete

More information is available on the merge request #325

  • Add popular search terms page

More information is available on the merge request #326

  • Add advanced search page and advanced search results page

More information is available on the issue #126

  • Add support for downloadable product link selection on PDP

More information is available on the issue #209

Many thanks to Daniel Bello (Sherocommerce) for the contribution!

Changed

  • Use SSR rendering for product sliders instead of GraphQL

The product sliders no longer use GraphQL. The graphql product slider template still is present for backward compatibility, but it is no longer used.
The items use the product listing template, so add-to-cart and swatches are now supported, too.

More information can be found on the merge request #294

  • Improve Send to Friend

The form has been improved a lot, including support for reCAPTCHA.

More details can be found in the merge request #228

Many thanks to Lucas van Staden (Proxiblue) for the contribution!

  • Remove defer attribute on CSS link as it has no effect

More details can be found in the merge request #249

Many thanks to Sean van Zuidam (Mooore) for the contribution!

  • Improve Breadcrumbs markup accessibility

More details can be found in the merge request #288

Many thanks to Sean van Zuidam (Mooore) for the contribution!

  • Improve compare and wishlist scripts for product list items

Previously the scripts to initialize the Alpine.js components where rendered for each product list item. With this change they are only rendered once, thus reducing the pagesize.

More details can be found in the merge request #289

Many thanks to Sean van Zuidam (Mooore) for the contribution!

  • Improve YouTube integration

  • make sure to use youtube-nocookie.com if possible

  • only initialise / embed YouTube once
  • update iframe API URL

More details can be found in the merge request #290

Many thanks to Simon Sprankel (Customgento) for the contribution!

  • Bugfix: Apply logo configuration in Magento 2.4.3 and newer

More information can be found in the issue #252

  • Adds fieldset as secondary parent selector to custom field styles

Previously field styles where not applied if no form parent tag was present.

More details can be found in the merge request #296

Many thanks to Josh Cairney (Swarmingtech) for the contribution!

  • Remove img tag from list of allowed HTML when using escaper::escapeHTML because it throws error

More details can be found in the merge request #297

Many thanks to Wilfried Wolf (Sandstein) for the contribution!

  • Bugfix: Fix custom option price calculation

Custom option prices where wrong if the last custom option has no price assigned.

More details can be found in the merge request #298

Many thanks to Simon Sprankel (Customgento) for the contribution!

  • Use GraphQL variables instead of string replacements

This fixes a number of issues related to parameter escaping and serialization as well as making the queries editable with the GraphqlEditor as described in the docs.

A new GraphQlQueriesWithVariables view model provides the matching queries. The old GraphQlQueries view model still exists unchanged for backward compatibility.

All queries and mutations now are named, which should help with debugging.

More information can be found in the issue #261

  • Move GA block to before.body.end by default

By default the GA block is meant to be placed in before.body.end for performance reasons.

More details can be found in the merge request #305

Many thanks to Josh Cairney (Swarmingtech) for the contribution!

  • Do not render HTML items with duplicate id attributes on product list toolbar

This change increases ARIA accessibility compliance.

More information can be found in the issue #279

  • Apply product settings to qty input

Previously many product settings where ignored.

More details can be found in the merge request #308

  • Make translated string consistent with Luma

Previously Hyvä used the string "Please enter a coupon code", while in Luma the string "Please enter a coupon code!" is used.

More details can be found in the issue #212

  • Disable page scrolling if cart loader overlay is visible

More information can be found in the issue #218

  • Validate message length according to configured constraints when sharing the wishlist

More information can be found in the issue #223

  • Apply configuration "Redirect Customer to Account Dashboard"

Previously customers where always redirected to the customer account page regardless of the configuration setting.

More information can be found in the issue #234

  • Hide zero product price if it is not salable

Products that are not salable and have a price > zero still are displayed with the price. This does not matche the behavior in Luma.

More information can be found in the issue #314

  • Bugfix: Preselect product options when editing from cart

More information can be found in the issue #240

  • Bugfix: Escape customizable product option title in JS string

Previously product option titles included a ' caused a JavaScript error.

More information can be found in the issue #241

  • Bugfix: On PDP, uncaught TypeError: Cannot read property 'type' of undefined at Proxy.isTextSwatch

The issue only occurred with a configurable product set up with only one configurable attribute that is a swatch while at least one child product is out of stock and at least one child product is disabled.

More information can be found in the issue #190

Thanks to Guus Portegies (Cees en Co) for figuring out the steps to reproduce the issue!

  • Bugfix: On Cart Page, JavaScript error on invalid country configuration

The error occurred if the configured default shipping country was not included in the list of allowed countries. Now the checkout will continue to work, but an explanatory error message is logged to the browser console.

More information can be found in the issue #259

  • Bugfix: include the current category ID in product list item cache key

More information can be found in the issue #260

  • Bugfix: On PDP, remove duplicate HTML element ID customer-reviews

More information can be found in the issue #262

  • Bugfix: Fix product reviews pagination

More information can be found in the issue #161

  • Bugfix: Apply sort by relevance URL parameter on product list page

More information can be found in the issue #273

  • Bugfix: prevent duplicate out-of-stock error messages on cart page

More information can be found in the issue #329

  • Bugfix: specify proper order for sidebar in sm breakpoint

Render the sidebar-main before the main content on sm screens.

More information can be found in the issue #242

  • Styling improvements

  • Moved container configuration from css to tailwind.config.js.

  • Reduce layout shifts on PHP sliders.
  • Since the refactor of columns from flex to grids, many pages have had double paddings. These nested container classes have now been removed.

More information can be found in the merge request #332

  • Replace stock image with the new Hyvä logo on default homepage content

More information can be found in the issue #278

  • Bugfix: hide scrollbar in Firefox like in webkit

More information can be found in the merge request #336

Many thanks to Sean van Zuidam (Mooore) for the contribution!

  • Bugfix: Hide configurable order item children in order page

More information can be found in the issue #281

  • Magento Coding Standard compliance and code improvements

Many small changes where made to make the code pass the Magento Coding Standards phpcs rules. Besides following the Magento Coding Standard, many small refactorings where made so the code complies with our own standards. All these changes should be backward compatible. The changes include: - Removing underscore prefixs from PHP variables in templates - Use let and const instead of var in JavaScript code - Remove usages of $this = this in JavaScript code

More information can be found in the merge request #344

Removed

  • Nothing removed

1.1.8 - 2021-09-24

Added

  • Add estimate shipping form to cart page

More details can be found via the issue #147.

  • Add customer account update email checkbox

The customer account edit form was previously missing this checkbox.

Thank you to Josh Cairney @ Swarming Technology (@joshcairney) for the contribution.

  • Add container on cart page for custom product type options

This container allows rendering additional options for cart line items.
More details can be found in the commit 029d2b.

  • Add Date-of-Birth form field template with datepicker

Thanks to Alex Galdin @ integer_net (@alexgaldin) for the contribution!

  • Add additional information container to cart page

The container is rendered below the coupon form field on the cart page. More details can be found in the commit 097918.

  • Add container to totals on cart page to render custom totals

The container is rendered below the existing totals but before the grand total. More details can be found in the commit 58f447.

  • Allow setting css classes on generic slider

If a value is set for the property maybe_purged_tailwind_section_classes on block class rendering the slider, it will be used as the container class="" attribute value. If the property is not set, the previous value is used, meaning this is a backward compatible change.

More details can be found in merge request #246.

  • Bugfix: add page content for customer/account/confirmation page

Previously, if customer registration required email confirmation, clicking the link on the on-page message triggered a stack trace on the page customer/account/confirmation.

More information can be found in the issue #245.

  • Add meta og tags to PDP

Add meta og tags to the PDP.

Changed

  • Bugfix: Escape product review gql mutation payload values

More information about this backward compatible change can be found in the commit ff9095

  • Bugfix: Fix issues with old Safari browser

Details on backward compatible change can be found in the merge request #261

Thank you to Guus Portegies @ Cees en Co (@gjportegies) for the contribution!

  • Bugfix: Make Google Analytics compatible with Magento_GoogleTagManager

Previously Google Analytics revenue data was not collected on the frontend order success page on Adobe Commerce.

Thanks to Jesse de Boer @ Elgentos (@jesse) for investigating!

  • Bugfix: Align subtotal excl. tax value on cart page to the right like the other total modals

  • Split mobile and desktop menu into separate .phtml files

Decoupling the two makes customizing one of the views possible without influencing the other menu.
The change is backward compatible.

  • Update Tailwind CSS to the latest version

The version constraint in the package.json is now set to 2.2.9.
This is a backward compatible change.

  • Apply Logo Dimensions set in the Adminhtml Theme Configuration

Previously the logo height and width set in the admin theme config where not applied. As long as there is no size configured on the theme, the previous dimensions set in layout XML are still used. Because the related view models where added to Magento only in version 2.4.3, they where copied into the Hyva_Theme module to provide forward compatiblity for older Magento versions.

More details can be found in the issue #221.

Thanks to Tomas Kalasz @ CS2 (@TKalasz) for investigating and to Ravinder @ redChamps (@rav-redchamps) for the patch!

Removed

  • Removed topmenu_static.phtml template

The template is now part of the hyva-ui repository.

1.1.7 - 2021-08-25

Added

  • nothing

Changed

  • Bugfix: Remove trailing space in customer prefix option values

See commit

Thanks to Daniel Galla (IMI)!

  • Bugfix: Allow authentication-popup to be resubmitted

In the authentication popup (when guest checkout is disabled), once incorrect information is entered and the form is submitted, the submit button is “disabled” and re-submitting with the correct information is not possible.

See issue #214

Removed

  • nothing

1.1.6 - 2021-08-12

Version 1.1.6 of the Hyva_Theme module is required for this update

Critical

  • Fix for: Subtotals break if address set without shipping method

In some edge cases an address could be set on a quote item without a shipping method. This would break the cart total display. If default behaviour to quote shipping address is changed, for instance by a third-party module, where an address is set on the quote by default, but no shipping method, this would break the cart instantly.

A direct patch/diff for this issue can be downloaded from commit 9a78264f diff

See commit 9a78264f.

  • Page columns layout refactored from flex to grids

For a more solid handling of 2columns-right and 3columns, the page layout was refactored to CSS grids. This means all pages now have 'containered' content by default, since the .columns div now has the tailwind container class applied.

If you want to build custom pages that are full-width, you now need to define your own page-layout. This means when you're creating custom pages, you no longer need to add in containers on all blocks you add, making layouts more consistent.

The changes were made in web/tailwind/components/structure.css and require you to remove the extra wrapper container we previously introduced in Magento_Theme/page_layout/override/base/2columns-left.xml. These changes can be viewed in commit 54c7f6d5.

In existing projects, you might end up with double margins on containers after this change. We would advise to either: 1. remove extra containers you added in your content 2. in case you don't want to update your existing content, keep the previous version of the files Magento_Theme/page_layout/override/base/2columns-left.xml and web/tailwind/components/structure.css in your child-theme.

Added

  • The current page is recalculated when toggling limiter in toolbar

In Magento_Catalog/templates/product/list/toolbar.phtml, the active page is now recalculated when you switch the limiter in the toolbar. This change reflects an update in Magento core that was introduced in version 2.4.0.

See commit db90fc6a

  • Regions now work as expected on customer account address forms

See commit 78f144fe

  • A lot of A11Y changed were made
  • Button focus styles are improved (using Tailwind ring classes)
  • Removed nested <nav> and <footer> elements
  • header search icon had empty ref, changed to button
  • header search was missing submit button
  • header customer account had no focus state
  • PLP toolbar now has logical tab order
  • Swatches are now visibly focusable
  • "skip header" link was missing
  • Sliders now have a focus-within border when focused

See Issue #204, Issue #205 and related Merge requests.

Thanks to Clever Age for reporting.

NB: if you report other A11Y issues to us we'd be happy to address them

  • Cart error messages are improved

General error messages in the cart are now styled (because they are now rendered by the global messages component). Cart-items that contain errors now show these errors in-line.

This requires an update of the hyva-themes/magento2-theme-module to version 1.1.6.

See all commits in Merge Request !249.

Changed

  • Fix for invalid aria-label on PDP swatches

aria-labelledby="radiogroup-label" was removed on the swatch render container div.

See Magento_Swatches/templates/product/view/renderer.phtml and commit (8970a96a)[https://gitlab.hyva.io/hyva-themes/magento2-default-theme/-/commit/8970a96adca6195012196b06550d11d50c7bd9a3]

Thanks to Hitesh Koshti (Ontapgroup) for contributing.

  • Fix for activeSelectOptions on Bundled product Radio options

Previously, when a radio option's quantity on a bundle product was set to user defined, the activeSelectOptions were improperly defined and the quantity input fields did not have their value or state properly set. The value got set to 0 and this negatively impacted the price calculation as well. Additionally, if the radio bundle option is required, there was no change binding on the "None" field.

See Magento_Bundle/templates/catalog/product/view/type/bundle/option/radio.phtml and commit dd51fdfb

Thanks to Josh Cairney (Swarming Tech) for contributing.

  • Fixed issue where Cart items qty input fields have no label on cart page

The cartItem quantity change input field now has a label for screenreaders

See Magento_Checkout/templates/cart/items.phtml

Thanks to Hitesh Koshti (Ontapgroup) for contributing.

  • Customer Login legends are now consistently styled

The form titles/legends for customer login and account registration are now consistently styled

Thanks to Hitesh Koshti (Ontapgroup) for contributing.

  • Fix for bundled product Radio/Select if only one option present

When either the radio or select is a single option the user defined checkbox did not take effect which disables the qty input.

See commit a3aaf192

Thanks to Ryan Hissey (Aware Digital) for contributing.

  • Bundled product qtyHelper method is now defined in parent component

The qtyHelper methods that memorize bundle option quantities selected by vistitors is now no longer generated for all bundle option, but defined once in the initBundleOptions component.

See commit 7d452495

Thanks to Ryan Hissey (Aware Digital) for contributing.

  • Cart display of totals and coupon are improved

We've refactored how cart subtotals look.

See commit e4efe6cc or related issue with screenshots #195

  • Fix re-definition of category.view.container in layout xml

In Magento_Catalog/layout/catalog_category_view.xml, the category.view.container is no longer redefined.

See commit 3ce5c6c1

Thanks to John Hughes (Fisheye) for contributing

  • The category.product.list.additional has moved to Magento_Catalog/layout/catalog_category_view.xml

Thanks to Nathan Day (Fisheye) for contributing

  • The Checkout button in cart is no longer disabled on error

The state of the cart can change by changing quantities in the cart. Clicking "Proceed to Checkout" performs a serverside validation of the cart and will return back at the cart in case the cart is still invalid.

An example is "Minimum order amount". If the minimum is not met, it will show a warning. If you would increase the quantity of an item so that the minimum is met, the message disappears. Validation takes place again when you continue to checkout.

See commit 1d5747d8

  • The product sections renderer trim on boolean error is fixed

The following error would occur: TypeError: trim() expects parameter 1 to be string, bool given in Magento_Catalog/templates/product/view/sections/product-sections.phtml

See commit e1459009

Thanks to Victor Chiriac (Magecheck) for reporting

Removed

  • none

[1.1.5] - version number SKIPPED

  • 1.1.5 was skipped in order to stay in sync with hyva-themes/magento2-theme-module

1.1.4 - 2021-06-16

Version 1.1.4 of the Hyva_Theme module is required for this update

Added

  • A Dispatch event that is triggered after accepting cookies

After accepting cookies window.dispatchEvent(new CustomEvent('user-allowed-save-cookie')); is now being triggered.

In the Hyva_Theme module (v1.1.4) cookies are not stored until this event is triggered.

See Magento_Cookie/templates/notices.phtml

Thanks to Mirko Cesaro (Bitbull) for contributing

  • Initial active gallery image now defaults to 0 if no main image set

If no main image is set, the initial active image is now set to 0.

See Magento_Catalog/templates/product/view/gallery.phtml

Thanks to Simon Sprankel (CustomGento) for contributing

  • In customer account area, sales items are now showing child-items

See Magento_Sales/templates/order/invoice/items.phtml, Magento_Sales/templates/order/items.phtml and commit 72751505

  • Customer account sales now show prices including tax

The layout file at Magento_Tax/layout/sales_order_item_price.xml was added, which adds tax to sales items in customer account, when needed.

  • Add-to-cart button on PDP has its original ID back

The add-to-cart button now contains id="product-addtocart-button" again, as it does in core Magento. This would help frontend testing frameworks in functioning.

See Magento_Catalog/templates/product/view/addtocart.phtml

Thanks to Laura Folco for contributing

  • Switching configurable options now dispatches an event

The event configurable-selection-changed is now dispatched from Magento_ConfigurableProduct/templates/product/view/type/options/js/configurable-options.phtml

This allows you to hook into this event in 3rd party modules or custom code.

Thanks to Simon Sprankel (CustomGento) for contributing

  • A generic slider template was added

Magento_Theme/templates/elements/slider-generic.phtml was added. Hyva_Theme module version 1.1.4 or higher is needed to use the generic slider.

Please refer to Rendering Sliders in the Hyvä Documentation for full details on how to use the generic slider.

  • Out of stock swatches are now shown

Out of stock swatches are now implemented on PLP and PDP. Also, the phtml that renders swatches is consolidated to a single file: Magento_Swatches/templates/product/swatch-item.phtml Same goes for swatch tooltips: Magento_Swatches/templates/product/tooltip.phtml

See commit fd3f3aa3

  • Email To Friend Button was added to PDP

The EmailToFried/SendFriend button has been added to the Product Detail Page.

See commit a5211128

Changed

  • Product List items are now cached in block_html cache

This reduces cost for products with swatches, as they are loaded for each product individually and not as part of the product collection.

See Magento_Catalog/templates/product/list.phtml

  • Top Menu now uses generic template block with viewmodel cache tags

Now that the Navigation View Model uses getIdentities() we can set the cache_tags on the topmenu and properly cache the menu in Full Page Cache.

See Magento_Theme/templates/html/header/topmenu.phtml and commit 6736ae66

  • PLP Titles have been reintroduced and Styled

We no longer remove the title in Magento_Catalog/layout/catalog_category_view.xml.

Beside that, the titles are restyled a bit overall.

Thanks to Rich Jones (Aware Digital) for contributing

  • Swatch options now correctly return label before value

See Magento_Swatches/templates/product/js/swatch-options.phtml

Thanks to Rich Jones (Aware Digital) for contributing

  • Swatch labels are now properly closed with

See Magento_Swatches/templates/product/view/renderer.phtml

Thanks to Rich Jones (Aware Digital) for contributing

  • Product Description is now rendering Directives properly

$productViewModel->productAttributeHtml() is now used to render product descriptions. That means variables in {{directives}} are now rendered.

See Magento_Catalog/templates/product/view/description.phtml

  • An empty product description no longer renders the parent element on PDP

See Magento_Catalog/templates/product/product-detail-page.phtml

Thanks to Victor Chiriac (Mage Check) for contributing.

  • Additional product data on PDP is now rendered with a renderer

As in default Magento (Luma), additional data is now rendered with a renderer (Magento_Catalog/templates/product/view/product-sections.phtml) which allows you to change the display of these sections to a custom implementation. This makes it a lot easier to implement a tabbed display or accordeon. It also enables you to render additional data from 3rd party modules using the standard Magento layout group:

<block class="Magento\Catalog\Block\Product\View\Attributes" template="Magento_Catalog::product/view/description.phtml" group="detailed_info"/>

See - Magento_Catalog/layout/catalog_product_view.xml and files in Magento_Catalog/templates/product/view/sections/ - or all commits in Merge Request 201

  • Customer account registration pages are no longer cached

If any error occurred during customer signup & customer was being redirected back to the registration form with error message. But the form data would not be preserved due to full-page caching.

cacheable="false" has now been added to the customer_form_register block.

See Magento_Customer/layout/customer_account_create.xml

Thanks to Ravinder (redMonks/redChamps) for contributing

  • Shopping assistance checkbox has been added to registration form

See Magento_Customer/templates/form/register.phtml and Magento_LoginAsCustomerAssistance/layout/customer_account_create.xml

Thanks to Ravinder (redMonks/redChamps) for contributing

  • Logo image size variables are now correct

In Magento_Theme/layout/default.xml the variables logo_img_width and logo_img_height were renamed to logo_width and logo_height This changed in 2.3.5+ in Magento Core.

Thanks to Guus Portegies (Cees en Co) for reporting

  • The checkout url in de minicart/cart-drawer changed

checkout/index was changed to checkout, which normally renders the same page/url. But, some 3rd party extensions (such as Mageplaza_OneStepCheckout) replace the checkout url to alter the path to a checkout page.

See Magento_Theme/templates/html/cart/cart-drawer.phtml

  • Empty cart continue shopping now links to homepage

Previously, this linked back to the cart.

Thanks to Daniel Galla (iMi) for contributing

Removed

  • Standard Quantity field is no longer shown on Grouped products

See Magento_Catalog/templates/product/view/quantity.phtml

Thanks to Rich Jones (Aware Digital) for contributing

  • Pagination was removed from customer account order print

See Magento_Sales/layout/sales_order_print.xml

  • Aria labelledby has been removed from PLP swatch-items

aria-labelledby="radiogroup-label" was causing LightHouse best practice warnings and thus has been removed.

See Magento_Swatches/templates/product/listing/renderer.phtml

Thanks to Hitesh Koshti (On Tap) for contributing

1.1.3 - 2021-05-07

Version 1.1.3 of the Hyva_Theme module is required for this update

Added

  • none

Changed

  • Pass product instance to price view model instead of relying on internal state

This improves reusability of templates and allows changing the order in which they are rendered.

Removed

  • none

1.1.2 - 2021-05-03

Version 1.1.2 of the Hyva_Theme module is required for this update

Added

  • Added clear-messages event to the messages-component

Messages from the messages component can now be cleared with an event that removes all messages in Magento_Theme/templates/messages.phtml

Can be used as window.dispatchEvent(new CustomEvent('clear-messages'));

  • Select template for custom-options

Custom options of the type dropdown and multiple are now rendered by a .phtml file, instead of using \Magento\Catalog\Block\Product\View\Options\Type\Select\Multiple::_toHtml A new viewModel and method were created for this: \Hyva\Theme\ViewModel\CustomOption::getOptionHtml

This viewModel renders Magento_Catalog/templates/product/composte/fieldset/options/view/multiple.phtml (new) or Magento_Catalog/templates/product/composite/fieldset/options/view/checkable.phtml (existing).

  • Custom options are added for Bundled products

Turns out, when dynamic pricing is disabled, bundled products can have custom options. Who knew? We didn't. So now, bundled products contain custom options.

This means that mostly extra logic was added to pricing at Magento_Bundle/templates/catalog/product/view/price.phtml

Also the container product_info_bundle_options_top was re-added from core Magento and product_info_bundle_options_bottom was newly created.

Changed

  • Added robots.txt file back to layout

See Magento_Sitemap/layout/robots_index_index.xml

Thanks to Rik Willems (RedKiwi) for contributing.

  • Fix hardcoded required company field on customer account

See Magento_Customer/templates/widget/company.phtml

Thanks to Aad Mathijssen (Isaac) for contributing.

  • Fix hardcoded required region field on customer account

See Magento_Customer/templates/address/edit.phtml

Thanks to Aad Mathijssen (Isaac) for contributing.

  • Replaced removeEventListener with { once: true } on addEventListener

See Magento_ReCaptchaFrontendUi/templates/js/script_loader.phtml: document.body.addEventListener("input", loadRecaptchaScript, { once: true });

Thanks to Javier Villanueva (Media Lounge) for contributing.

  • FIX: reload customerData in cart after applying coupon code

See Magento_Checkout/templates/cart/js/cart.phtml

  • Fix: don't show PLP Swatches for attributes with getUsedInProductListing disabled

See Magento_Swatches/templates/product/listing/renderer.phtml

  • Swatch display improvements
  • set height and width on all non-text swatches
  • use swatch value and fall back to swatch label
  • hide image container in tooltip if no image/color available
  • add whitespace-nowrap to swatch and tooltip text

See commit 2ebc7a5c

  • **Added .editorconfig for unified whitespace handling

See .editorconfig

Thanks to Sean van Zuidam (Mooore) for reporting.

  • Added initActive event to gallery that activates the main image

Previously, the first image in the image list would show as initial image. Now, the main image is activated on load.

See Magento_Catalog/templates/product/view/gallery.phtml

Thanks to Rik Willems (RedKiwi) for contributing.

  • Fix price calculation for bundled tier prices

Previously, the tierPrice price-reduction was calculated, instead of adding the result price.

See Magento_Bundle/templates/catalog/product/view/price.phtml

Thanks to Gautier Masdupuy (Diglin) for reporting.

  • Change item qty change event to input event in cart

Previously, cart item quantity changes in the cart were triggered onBlur, this was changed to onInput. This results in quicker feedback. Changes are still debounced with 1 second: x-on:input.debounce.1000="mutateItemQty(item.id, $event.target.value);"

  • Quality improvements on the cart page
  • Direct customerData retrieval from localStorage was removed and replace with the private-content-loaded event only.
  • Replaced $this instances combined with function(){} for ES6 arrow functions and this
  • Added error feedback to fetch() methods, report errors to console and show general error message to visitors
  • Report

  • Fix adding multiple select options to wishlist

Selected product options (custom, configurable, bundle and grouped) of the type select-multiple are now properly sent to the wishlist.

See Magento_Catalog/templates/product/view/addtowishlist.phtml

Thanks to Gautier Masdupuy (Diglin) for reporting.

  • Fix price calculation for bundled options

A bug was introduced in 1.1.1 that removed x-ref from bundle-option input fields, replacing then with
document.querySelector(option[data-option-id="${optionId}-${selectionId}"]

Two issues occured: - not all inputs had the data-option-id attribute - not all inputs are of the type option

The querySelector was changed to [data-option-id="${optionId}-${selectionId}"] and the attribute was added to the missing option types

See Magento_Bundle/templates/catalog/product/view/type/bundle/options.phtml and Magento_Bundle/templates/catalog/product/view/type/bundle/option/*.phtml

  • Only validate 1 option for custom option checkboxes

Thanks to Hrvoje Jurišić (Favicode) for reporting.

  • Calculate product final price when configuring a product in cart with custom options

Previously, when editing a product in the cart, the product final price was only updated after changing custom options. Now, already selected options are properly selected when loading the configure cart-product page.

See initSelectedOptions in Magento_Catalog/templates/product/view/options/options.phtml

  • Fix uploading new custom option file

Previously when editing a product in the cart with an uploaded custom-option-file, a new file would not be uploaded. Now, the value save_new is properly set on the hidden file-field.

See Magento_Catalog/templates/product/view/options/type/file.phtml

  • Styling of bundled options was improved on smaller viewports

Mostly: input fields would break out of the containing columns because of the browsers default min-width value of <fieldset>

See Magento_Catalog/templates/product/view/options/wrapper/bottom.phtml, Magento_Bundle/templates/catalog/product/view/summary.phtml and Magento_Bundle/templates/catalog/product/view/type/bundle/options.phtml

  • Escaping of additional attributes was removed to allow html to be rendered

Thanks to Vinai Kopp for contributing.

  • PDP prices are overhauled to respect all tax-settings

Tax display was inconsistent, mostly when selecting catalog prices include tax and display product page prices excluding tax.

Price retrieval was refactored into a viewModel in Hyva_Theme: \Hyva\Theme\ViewModel\ProductPrice. This applies to: - Product price - custom options - tier prices - bundle options

See commit 61b3f1a0

Removed

  • Hyva_Theme/templates/js/localStorageConfig.phtml

The file localStorageConfig.phtml was removed, since it is an anti-pattern to retrieve customerData from localStorage directly. Instead the private-content-loaded event should be used. Please refer to the documentation for more information on the private-content-loaded mechanism.

1.1.1 - 2021-04-08

Added

  • none

Changed

  • Resolved issues with Configurables/Swatches:
  • Empty swatches now render correctly
  • Dropdown attributes now render correctly with Swatches enabled. Therefore Magento_ConfigurableProduct/templates/product/view/options/configurable.phtml needed to be moved to Magento_ConfigurableProduct/templates/product/view/type/options/configurable.phtml
  • initConfigurableOptions_{product_id}() changed to initConfigurableDropdownOptions_{product_id}() in order to add $block->getJsonConfig() in a <script> block instead passing it through the x-data= attribute.
  • PLPs no longer try to render non-swatch attributes

Thanks to Antonio Carboni (Magenio) for reporting

Please refer to 1.1.1 for all diff changes

Removed

  • none

1.1.0 - 2021-04-02

Added

  • Compare products sidebar added

Thanks to Timon de Groot and Sean van Zuidam (Mooore) for contributing.

  • Product Attributes listing added

The product.attributes was added to product detail pages, which list all available attributes for a product (as an addition to the 'featured attributes' listed on top of PDPs).

Thanks to Sean van Zuidam (Mooore) for contributing.

  • In Product Listings, price and image can now be updated

To support swatches on PLPs, the price and image can now be updated with events: update-gallery-<?= (int)$productId ?> and update-prices-<?= (int)$productId ?>

See Magento_Catalog/templates/product/list/item.phtml

  • Empty checkout now shows message

If no checkout installed, a message is now being shown.

See Magento_Checkout/layout/checkout_index_index.xml

  • Checkout registration now works

After checkout, the registration option is now shown.

See Magento_Checkout/templates/registration.phtml

Thanks to Vincent Marmiesse (PH2M) for contributing.

  • A footer column container was introduced

A wrapper column for the footer was added Magento_Theme::html/footer/column.phtml

See Magento_Directory/layout/default.xml for usage.

  • Login as customer is now fully compatible

The default login as customer from the admin area now works, including the customer-account-area toggle to allow accounts to be controlled by store-owners.

See /Magento_LoginAsCustomerFrontendUi/

Thanks to Barry vd. Heuvel (Fruitcake) for contributing.

  • Currency switchers were added

The footer now loads a currency switcher.

See Magento_Directory/layout/default.xml and Magento_Directory/templates/currency.phtml

  • Store and Language switchers were added

The footer now loads a store and language switcher, if required.

See Magento_Store/layout/default.xml, Magento_Store/templates/switch/languages.phtml and Magento_Store/templates/switch/stores.phtml

  • Configurable swatches were added

Swatches are now loaded on PLP and PDP pages. The swatches in layered navigation were already present but are now better styled and include tooltips.

See /Magento_Swatches/ for all changes.

An important new pattern is the extension of already existing Alpine Components by merging/extending the initObjects. As present in Magento_Swatches/templates/product/view/renderer.phtml:

    <?= $block->getChildHtml('options_configurable_js') ?>
    <?= $block->getChildHtml('options_swatch_js') ?>

    <script>
        function initConfigurableSwatchOptions_<?= (int) $productId ?>() {
            const configurableOptionsComponent = initConfigurableOptions(
                '<?= (int) $productId ?>',
                <?= /* @noEscape */ $block->getJsonConfig() ?>
            );
            const swatchOptionsComponent = initSwatchOptions(
                <?= /* @noEscape */ $block->getJsonSwatchConfig() ?>
            );

            // here we merge `configurableOptionsComponent` with `swatchOptionsComponent`
            return Object.assign(
                configurableOptionsComponent,
                swatchOptionsComponent
            );
        }
    </script>
- Default Footer links were added

A static phtml file was added to load common footer links.

See Magento_Theme/layout/default.xml and Magento_Theme/templates/html/footer/links.phtml

Changed

  • Improved bundle option performance

On bundled products with large amount of options, x-ref used excessively in a loop caused performance issues. These were refactored to document.querySelector() and document.getElementById() lookups.

See Magento_Bundle/templates/catalog/product/view/type/bundle/options.phtml and https://gitlab.hyva.io/hyva-themes/magento2-default-theme/-/issues/93

Thanks to Gautier Masdupuy (Diglin) for reporting.

  • product.info.options.wrapper was reintroduced

https://gitlab.hyva.io/hyva-themes/magento2-default-theme/-/issues/117

For compatibility with 3rd party modules / extensibility. See Magento_Catalog/layout/catalog_product_view.xml

Thanks to Laura Folco for reporting.

  • Limiter and ViewMode in toolbar no longer break layout when empty

The Limiter and ViewMode now render empty containers to prevent the layout from breaking when they are disabled.

Thanks to Judith Demets (Storefront) for contributing

  • Alt and Title fallbacks are added to the PDP image gallery

See Magento_Catalog/templates/product/view/gallery.phtml

Thanks to Aad Mathijssen (Isaac) for contributing.

  • Tax display on PDP is now correct

https://gitlab.hyva.io/hyva-themes/magento2-default-theme/-/issues/115

Previously, if catalog prices were excluding tax but displayed with tax, the tax would not be added correctly.

Thanks to Antonio Carboni (Magenio) for reporting

  • Configurable prices now show 'as low as' until all options selected

See Magento_Catalog/templates/product/view/price.phtml

Thanks to Konrad Langenberg (imi) for contributing.

  • min and max screenheight values are better named

Previously, min-height: 50vh was declared as min-h-50, this has been changed to min-h-screen-50.

See web/tailwind/tailwind.config.js

Please check your codebase for any instance of min-h-{25,50,75} as well as max-h-{25,50,75} and replace with min-h-screen-X and max-h-screen-X values.

Thanks to Sean Zuidam (Mooore) for reporting

  • Cart shipping totals now display correctly

See Magento_Checkout/templates/cart/totals.phtml

Thanks to Victor Chiriac (Mage Check) for contributing.

  • Alpine Component JS for Configruable options moved to child block

In order to make initConfigurableOptions() reusable and extendable, it was moved into Magento_ConfigurableProduct::product/view/options/js/configurable-options.phtml

This was needed for integration of Configurable Swatches without duplication of a large amount of JavaScript code.

See Magento_ConfigurableProduct/layout/catalog_product_view_type_configurable.xml, Magento_ConfigurableProduct/templates/product/view/options/configurable.phtml and Magento_ConfigurableProduct/templates/product/view/options/js/configurable-options.phtml.

  • Customer account edit page password error message moved

for better layout stability, the structure of Magento_Customer/templates/form/edit.phtml changed to prevent layout shifts.

  • Customer menu in header now respects isAllowed setting for account registration

See Magento_Customer/templates/header/customer-menu.phtml

Thanks to Barry vd. Heuvel (Fruitcake) for contributing.

  • Customer account edit prefix field now respects isPrefixRequired setting

Thanks to Philipp Neuteufel (Limesoda) for reporting.

  • Footer newsletter subscription styled more consistently

The footer newsletter form is now styled more in line with the rest of the layout.

  • PDP reviews now take current storeview in account

The store header was previously missing from GraphQL calls.

See Magento_Review/templates/customer/list.phtml and Magento_Review/templates/form.phtml

  • **Orders and Returns for guests now correctly toggles between Email and ZIP code`

Previously, the change event of the "Find Order By" dropdown was handling the wrong event data.

event.originalTarget.value was changed into event.target.value.

See Magento_Sales/templates/guest/form.phtml

  • The cart drawer now respects the display sidebar setting for minicart

If checkout/sidebar/display is set to no, the cart-drawer is no longer loaded.

See Magento_Theme/layout/default.xml

Thanks to Rik Willems (RedKiwi) for contributing.

  • The product slider now checks for visiblity and status of linked products

Upsells, Cross-sells and Related products are not filtered by graphql on storefront visiblity. We therefore added the visibility and status attributes to the graphql result so that we can filter on them.

See Magento_Theme/templates/elements/slider.phtml

  • Escaping was improved in the topmenu

See Magento_Theme/templates/html/header/topmenu.phtml

Thanks to Aad Mathijssen (Isaac) for contributing.

  • Browsersync improvements

Improvements to browsersync config were made to prevent form-key issues.

Thanks to Javier Villanueva (Media Lounge) for contributing.

Removed

  • <script> tags no longer contain the defer attribute

Since these have no effect...

  • Duplicate function declarations in Alpine Components

For IE11 compatibility we used to declare function names in Alpine init objects with an explicit function name. These have now been removed. For example:

{ addToWishlist: function addToWishlist(productId) { ... } }
became:
{ addTowishList(productId) { ... } }

1.0.0 - 2021-02-15

Added

  • Initial Release added

Changed

Removed

  • none

Beta releases

0.2.0 - 2021-02-03

0.1.0 - 202-12-09