#LOCAL("NeedPriceTagInfo", 0)
#IF((#Shop.ClosedByMerchant AND NOT #INPUT.IsEditorModeEnabled AND NOT #IsMerchantSFAllowed) OR #Shop.ClosedOrClosedTempByProvider) #INCLUDE("ShopClosedMessage") #ELSE #INCLUDE("Header") #IF(#Shop.LoginRequired AND (NOT #Session.User OR #Session.User.IsAnonymous OR #Shop.ID != #Session.User.Parent.Parent.ID)) #LOCAL("ShopPath",#Shop.Path) #REM note, ViewAction ViewChangeLostPassword is allowed because the email might be opened on mobile or desktop. This way both work #ENDREM #IF(#INPUT.ViewAction EQ "MobileSF-ViewLostPassword" OR #INPUT.ViewAction EQ "MobileSF-ViewChangeLostPassword" OR #INPUT.ViewAction EQ "MobileSF-ViewLogin" OR #INPUT.ViewAction EQ "ViewChangeLostPassword" OR #Path EQ #ShopPath."/Categories/TermsAndConditions" OR #Path EQ #ShopPath."/Categories/PrivacyPolicy" OR #Path EQ #ShopPath."/Categories/Imprint" OR #Path EQ #ShopPath."/Categories/ContactForm") #INCLUDE("Content") #ELSE
#IF(#Shop.CustomerMustLoginMessage) #Shop.CustomerMustLoginMessage[0] #ELSE {PleaseLogin} #ENDIF #SNIPPET("INC-LoginForm", "IsMobile", 1)
#ENDIF #ENDLOCAL #ELSE #INCLUDE("Content") #ENDIF #INCLUDE("BottomBar") #INCLUDE("Footer") #ENDIF
#ENDLOCAL