Thanks for the reply,
Yes I have checked the preorder checkbox under the variation tab and also gave the preorder date. For variable product the pre order is working, I can see that in the cart page where its written that the “product will be available within 1 day or 2 day” depending upon the preorder date. I just want the button “Preorder Now” in the Product details page where it is not showing.