How to keep the website intact when it displays on mobile?

This is the desktop version of an e-commerce website called flipkart.

enter image description here

But when I open the developer tools in chrome for this website and choose the device to Nexus 7 the website doesn't adjust its components but it simply zooms out in a way.

enter image description here

How can I achieve this? I don't want to rewrite my whole website for mobile as flipkart does.