#LOCAL("Index",#INPUT.WizardStepIndex) #LOCAL("ShopLogoSrc", "") #LOCAL("ShopLogoVal", "") #LOCAL("AddressAttributes", #Shop.Address) #LOCAL("ShopAttributes", #Shop) #IF(#Session.ShopWizardData) #LOCAL("SessionData", #FROM_JSON(#Session.ShopWizardData)) #SET("AddressAttributes", #SessionData) #SET("ShopAttributes", #SessionData) #ENDLOCAL #ENDIF #IF( #DEFINED(#AddressAttributes.Logo) AND #AddressAttributes.Logo ) #SET("ShopLogoVal", #AddressAttributes.Logo) #SET("ShopLogoSrc", #ShopRoot."/".#AddressAttributes.Logo) #ELSIF( #Shop.Logo ) #SET("ShopLogoVal", #Shop.Logo) #SET("ShopLogoSrc", #ShopRoot."/".#Shop.Logo) #ELSE #SET("ShopLogoSrc", #StoreRoot."/BO/icons/general_img_transparentpixel.gif") #ENDIF
{MandatoryFields}