I heard that electronic items online purchase will not get proper warranty most of time...is it true??
Legally speaking any product sold should fall within warranty. Anyone either online portal or the direct seller has to be responsible for the quality of the goods.
I bought playstation from flipkart sometimes back and it can with an invoice issued by a particular shop as well as the general warranty card that is provided with more or less any Sony India products.