Skip to content

Upgrading to 1.3.16

Release 1.3.16 focuses on bringing enhanced stability, key improvements, and important CSP fixes to the Hyvä Default Theme and Theme Module.

When updating the Hyvä Theme to version 1.3.16, please always update the hyva-themes/magento2-theme-module to the latest version.

Even if not updating the Default Theme to 1.3.16, it is safe to update the Hyva_Theme module to the latest version (package hyva-themes/magento2-theme-module).

Notable news

Please refer to the changelogs for details about the bugfixes.

Fixed Grand Total Calculation on Cart Page

This release fixes a long-standing issue where the Cart page Grand Total was displayed incorrectly when tax was excluded, especially on Magento 2.4.6 and later.

To maintain compatibility with older Magento 2 versions, a new ViewModel has been introduced to reliably detect the Magento version in use.

Option to Disable Product List Item Caching

You can now disable block-level caching for product list item templates.

This can help reduce the load on your cache storage backend (e.g., Redis), especially on sites with a large number of products.

To disable block-level caching, navigate to the Magento 2 Admin panel and go to Hyvä Themes → Catalog → Developer → Cache Options → Enable Product List Item block_html Caching. Set this option to "Yes" to turn off block-level caching for product list items.

Comprehensive CSP Fixes

The previous release introduced several new Content Security Policy (CSP) compatibility issues.

This release addresses and resolves all identified CSP-related JavaScript errors, ensuring a more secure and stable experience.

PageBuilder Row and Divider Improvements

We've improved the compatibility and fixed issues with PageBuilder's Row and Divider blocks, aligning their styles more closely with the default Magento 2 appearance.

For those who prefer the previous styling for the Row block, you can revert the changes.

If you have a child theme with an older page-builder.css file, you can update it using the following steps in reverse.

Reverting PageBuilder Row Styling

To revert the styling for the PageBuilder Row, apply the following changes to your theme's web/tailwind/components/page-builder.css file:

--- a/web/tailwind/components/page-builder.css
+++ b/web/tailwind/components/page-builder.css
@@ -13,10 +13,6 @@
[data-content-type='row'] {
    @apply box-border;

+    & > div {
+        @apply p-2.5 mb-2.5;
+    }
+
    &[data-appearance='contained'] {
        @apply container;
        @apply box-border ml-auto mr-auto;
@@ -40,6 +36,12 @@
    }
}

-body:where(:not([class*="-full-width"])) {
-    [data-content-type='row'][data-appearance='contained'] {
-        @apply px-0;
-    }
-}
-
/* Column Groups (both needed for pagebuider backwards compatibiliy) */
[data-content-type='column-group'], [data-content-type='column-line'] {
    @apply flex-wrap md:flex-nowrap;

Changelogs

Changelogs are available from the CHANGELOG.md in the codebase, or here:

Tooling

Please refer to the Hyvä Theme upgrade docs for helpful information on how to upgrade.