In the late 1970s, a man named Deng Xiaoping guided China into the way of Capitalism. Beforehand, the people of China lived in a Communist nation, in the "trusted hands" of the Chinese Communist Party. Deng Xiaoping enlightened China to the ways of Capitalism through The Four Modernizations. The Four Modernizations were set forth by Deng Xiaoping in an attempt to strengthen China's main fields of both revenue and way of life. The Four Modernizations targeted China's field of agriculture, field of industry, field of defense, and field of science/technology.
The Four Modernizations created a want to throw out the old, and be in with the new. Old culture, ideas, customs, and habits were all thrown out the window! And as part of "out with the old ideas", the old idea for a communistic society also evaporates. Making way for capitalism to swish into China.
Hope this helps you!