To auto generate barcode for the products, please follow the steps mentioned below:
Step 1: Go to Products & Services >> Search product >> Click on Edit.
Step 2: Go to Barcode >> Click on Auto Generate >> Update item.