Kindly go to the products >> Click on add new item >> Enter the product name and necessary details >> Enable the batches >> Click on add item.
Once the Item is added>>Click on batches icon>>Click on add new>>Enter the batch number and other details>>Click on save.