Error with themeAssets Path

Error – Error with themeAssets Path. Specifically with getThemeAbsoluteUrlOfNonManagedResources. We are developing a theme but when testing we get broken images when the site switches to the netsuite checkout domain (moving away from the store url) Specifically the ajax loader, also the site cannot seem to properly find the favicon even though that path is also set correctly.

Solution –  This was a common bug in SCA 2018.2. Open CheckoutEnvironment.ServiceController.js and MyAccountEnvironment.ServiceController.js and replace env.themeAssetsPath = 'themeAssetsPath'; with env.themeAssetsPath = themeAssetsPath;

Leave a comment

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