Food ordering app help

If someone orders two of the same items from the menu is there a way to group these two items together on the order screen so for example:

CURRENTLY

HOT DOG
£9.99

HOT DOG
£9.99

DESIRED RESULT

HOT DOG X2
£19.98

Thanks

hi.
You gotta add quantity parameter and let it increase when user gets 2nd hot dog…