#LOCAL("ShopCountry",#Shop.Address.Country.Code2) #LOCAL("IsItaly",0) #LOCAL("AddressCountryID", #GET(#NamePrefix."CountryID")) #LOOP(#Shop.ShopCountries)#IF(#CountryID == #AddressCountryID AND #Code2 EQ "IT")#SET("IsItaly", 1)#ENDIF#ENDLOOP #ENDLOCAL #IF(#GET("ShopRegistrationField.FiscalCode." . #IsVisibleName) OR (#LineItemContainer.GrandTotal > 3600 AND #ShopCountry.Country.Code2 EQ "IT" AND #IsItaly))
{FiscalCode} #IF(#GET("ShopRegistrationField.FiscalCode." . #IsMandatoryName) OR (#LineItemContainer.GrandTotal > 3600 AND #ShopCountry.Country.Code2 EQ "IT" AND #IsItaly)){MandatoryStar}#ENDIF
#BLOCK("NewLineReplace", " ") 3600 AND #ShopCountry.Country.Code2 EQ "IT" AND #IsItaly)) ep.uiValidate({ required:true, #IF(#GET("FormError_".#NamePrefix."FiscalCode")) valid:false, #ENDIF }) #ENDIF" /> #ENDBLOCK
#SET("IsOneBoxVisible", 1) #ENDIF #ENDLOCAL #ENDLOCAL