Create a Products table with primary key and all other fields for product description . create another table for SubProducts with a foreign key linked to primary key from Products table and all other fields for sub product description.
This is just what you asked for. However it needs a very discrete database design to be used in a shopping cart.
Check this open source project for shopping cart and database design.
http://www.nopcommerce.com/downloads.aspx[
^]