add pre order function to home page