Fixing an issue with Instagram browser showing blank page

This article only applies to the theme Prestige.

On 11st January 2019, it seems some stores started to show blank screen when loading on the Instagram in-app browser (only on iOS). This only happens when some specific settings are checked, so you may not be affected by this issue.

If you are, here are the steps to fix the issue:

In order to prevent any issue, we recommend you to first duplicate the theme, doing the change on the unpublished theme, and then publish the fixed version. If you do not feel confident doing the change, please reach us at shopify-support@maestrooo.com !

1

In your Shopify admin, open the "Themes" section, click on "More actions" and "Edit code":

2

In the "Layout" folder, click on "theme.liquid" file:

3

Around line 98, locate this line:

IMPORTANT: depending on the version of the theme you are using, or the changes that was applied to the code, it may not be at line 98. If line 98 does not contain this line, DO NOT CHANGE IT. Instead, try to read the lines before and after lines 98 until you find this code!

<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=fetch,Element.prototype.closest,Element.prototype.remove,Element.prototype.classList,Array.prototype.includes,Array.prototype.fill,Object.assign,CustomEvent,IntersectionObserver,IntersectionObserverEntry" defer></script>
	
4

Replace it by the following line:

<script src="https://cdn.polyfill.io/v3/polyfill.min.js?unknown=polyfill&features=fetch,Element.prototype.closest,Element.prototype.remove,Element.prototype.classList,Array.prototype.includes,Array.prototype.fill,Object.assign,CustomEvent,IntersectionObserver,IntersectionObserverEntry" defer></script>
	
5

Save the changes by clicking on the "Save" button.

After applying the fix, it may take up to one hour before Instagram reflects the change. If it does not work right away, please try to kill the Instagram app on your iPhone and try again after one hour.

If the issue still persists after doing those changes, please reach us at shopify-support@maestrooo.com and we'll be happy to have a closer look!