To add opening quantity for Variant products on web, please follow below mentioned steps:
Step 1: Go to Product and Service section, and click on Variant product.
Step 2: Scroll to right and click on Edit.
Step 3: Add the Opening Quantity and click on Update.