Cart Db Design

Dear Sir i am building a cart after placing Order i am inserting all products in products Array but problem is i also want to use Foreign Key relation so that i can access products data how to do that ?
or i am creating cart model in wrong way ?