Please follow the steps mentioned below to show variants of a product in online store:
Step 1: Go to Products and Services >> Click on the Variants.
Step 2: Click on Edit.
Step 3: Enable Show in Online store option >> Click on Update.