Table of Contents & Menu
Navigation

Upgrading to 1.3.16

Release 1.3.16 enhances stability, improves features, and provides important CSP fixes for the Hyvä Default Theme and Theme Module.

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

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

Notable Updates

For detailed bugfix information, please refer to the changelogs.

Fixed Grand Total Calculation on Cart Page

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

A new ViewModel has been introduced to reliably detect the Magento version, ensuring compatibility with older Magento 2 versions.

Option to Disable Product List Item Caching

You can now disable block-level caching for product list item templates. This can reduce the load on your cache storage backend (e.g., Redis), especially for sites with many products.

To disable block-level caching: Navigate to Hyvä Themes → Catalog → Developer → Cache Options in the Magento 2 Admin panel. Set Enable Product List Item block_html Caching to "No".

Comprehensive CSP Fixes

This release addresses and resolves all identified Content Security Policy (CSP)-related JavaScript errors introduced in the previous release, ensuring a more secure and stable experience.

PageBuilder Row and Divider Improvements

Compatibility and styling issues with PageBuilder's Row and Divider blocks have been fixed, aligning their appearance more closely with default Magento 2 styles.

If you prefer the previous styling for the Row block, you can revert these changes. This involves modifying your child theme's web/tailwind/components/page-builder.css file.

Reverting PageBuilder Row Styling

To revert the PageBuilder Row styling to its previous state, you need to undo the changes introduced in this update. Specifically, remove the lines marked with + and re-add the lines marked with - from the following diff:

--- 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

Detailed changelogs are available in the CHANGELOG.md file in the codebase, or via these links:

Upgrade Information

For general upgrade guidance, please refer to the Hyvä Theme upgrade documentation.