M2.3.5, v1.3.2: Fix the incompatibility with Safari

Created by Esther Nguyen, Modified on Wed, 9 Feb, 2022 at 3:08 PM by Esther Nguyen

ISSUE:

In essence, customers are not seeing any of the configurable options pre-populate (grayed-out block) when using Safari on a mobile device with IOS15 software installed (meanwhile they work on the Desktop).


SOLUTION:

On other browsers, when preselecting by URL, the value will be of the form: https://i.imgur.com/dFH9d3C.png. Then, when replaced, it will change the ~ sign to '', https://i.imgur.com/JWjAm4u.png. The value will be similar to the label option value, which triggers the click. 

Meanwhile, on Safari, when preselecting by URL, the value will be of the form: https://imgur.com/LvEAPNB, so when replaced, this value will remain unchanged. The value will be different from the label option. which makes the click not to be selected. 


To temporarily resolve the issue, please edit the file: app/code/Bss/Simpledetailconfigurable/view/frontend/web/js/configurable_control.js as below:



If you need any further assistance, please feel free to contact us. We'd be happy to support you!


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article