To group the batch products on web, please refer to the below mentioned steps:
Step 1: Add the batch product. Refer to the below shared article for adding the batch product.
Step 2: Once the batch product is added. Go to Groups >> Click on Create Group
Step 3: Select the Main Product >> Click on Select Sub Products
Step 4: Select the Sub Batch Product >> Click on Edit Products
Step 5: Enter the desired quantity that will be used in making the main product >> Click on Submit