Added an input field to insert product codes, fixed syncing issues with transactions