hi,
you have make you products as variable product and then assign the attributes to the product in proper way.
refer :
1. https://www.8theme.com/documentation/xstore/video-tutotials/woocommerce-product-categories-tags-attributes/
2. https://docs.woocommerce.com/document/variable-product/















