#LOCAL("Index",#INPUT.WizardID) #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((#InitialShopWizardStartup AND NOT(#DEFINED(#ShopAttributes.TaxModel))) OR (#DEFINED(#ShopAttributes.TaxModel) AND #ShopAttributes.TaxModel)) #SET("CheckGrossTaxModel", 1) #ELSE #SET("CheckGrossTaxModel", 0) #ENDIF