Hello,
Have you created variable products https://docs.woocommerce.com/document/variable-product/ ?
Regards