When loading up the frontend site of a Sitecore Experience Commerce storefront, the following error may appear:
Storefront configuration missing.
Sitecore Experience Commerce - Storefront configuration missing |
ERROR Application error.Exception: System.InvalidOperationExceptionMessage: Storefront configuration missing.Source: Sitecore.Commerce.XA.Foundation.CommonSitecore.Commerce.XA.Foundation.Common.Models.CommerceStorefront.get_StorefrontConfiguration()Sitecore.Commerce.XA.Foundation.Common.Pipelines.SecuredPageProcessor.IsSslEnforcedForStorefront()Sitecore.Commerce.XA.Foundation.Common.Pipelines.SecuredPageProcessor.Process(PipelineArgs args)In particular the IsSslEnforced part of the error stood out and looking at my Storefront configuration, this was somehow missing. Comparing with the branch which should be inserted (/sitecore/templates/Branches/Foundation/Commerce Experience Accelerator/Commerce Foundation/Storefront Control Panel) several other configuration items were missing as well.
Inserting a new storefront configuration of this branch time and setting the relevant settings then allowed the frontend web site to load as expected.
No comments:
Post a Comment