Revised patches for Google Maps access loss on all ۶Ƶ Commerce versions
This article provides a fix for ۶Ƶ Commerce merchants who are not compatible with any recent Google Maps versions from 3.54+. This fix is to solve the issue where ۶Ƶ Commerce merchants have no access to Google Maps in any version of ۶Ƶ Commerce anymore.
Affected versions and products
- Versions of ۶Ƶ Commerce and/or other used technologies.
- ۶Ƶ Commerce 2.4.4 - 2.4.7 on Cloud and On-Premises versions.
Issue
On June 14, 2024 Google Maps version 3.53 reached the end of life and was switched off by Google.
For more information refer to .
۶Ƶ Commerce was not compatible with any recent Google Maps versions from 3.54+.
The incompatibility was caused by legacy prototype.js script
, which loaded through lib/web/legacy-build.min.js
overrides native Array.from function, which leads to a direct conflict with Google Maps API.
Refer to .
Steps to reproduce :
- Click on Content > Pages > and select a New Page.
- Expand the Content Block and click on the edit PageBuilder button.
- Drag the Map Content Block from the PageBuilder menu to page.
Expected result:
Google Maps should work as expected.
Actual result:
When dropping the Map Content Block from PageBuilder menu to the page, an error message such as “Sorry! Something went wrong” is displayed.
Solution
- All the merchants on any 2.4.4, 2.4.5, 2.4.6 or 2.4.7 patch version should apply these corresponding patches to their version.
Patch
Use the following attached patches, depending on the ۶Ƶ Commerce version:
For versions 2.4.4:
ACSD-60245_Google_maps_API_2.4.4_2.4.5_2.4.6_composer.patch.zip
For versions 2.4.5:
ACSD-60245_Google_maps_API_2.4.4_2.4.5_2.4.6_composer.patch.zip
For versions 2.4.6:
ACSD-60245_Google_maps_API_2.4.4_2.4.5_2.4.6_composer.patch.zip
For versions 2.4.7:
ACSD-60245_Google_maps_API_2.4.7_composer.patch.zip
Please note
This issue will be permanently fixed in the scope of August security-only patch releases:
2.4.7-p2, 2.4.6-p7, 2.4.5-p9, 2.4.4-p10
Related Reading
How to apply a composer patch provided by ۶Ƶ