In order to add a barcode reader option to Quick sale, you need to enable the option first:
Go to the "Setup".
Click on the "Other Settings".
Enable the "Barcode" option, as shown below and Click on "Save".
4. You will see the "Barcode Reader" option under "Quick Sale".
Once you scan any product, it automatically captures the details.