How to resolve the issue of items showing Out of Stock in pdpmatrix table in IOS devices

The issue is causing by some reasons, one of the reason is that the name of the location on the iOS device was obtained as the first word only. So we have to update the condition to work on all devices.

  _.each(SC.CONFIGURATION.popup.data, function(eachResult) {
                    var text2 = JSON.stringify(eachResult.text2);
                    if (text2.includes(seltd)) {
                        confgid = eachResult.text1;
                    }
                });

By using the above code we are getting data from the configuration. Here .includes() fn add the words to main.

Leave a comment

Your email address will not be published. Required fields are marked *