Hong Kong-listed food processor Uni-President has agreed to buy US$30m of shares in Want Want China, the Chinese rice cracker-to-flavoured milk firm.