add state of site , add ajax for showing product details on home page