Topping in product page

For a while, I’ve been trying to create a topping for restaurant products but I haven’t been able to do it.
Ex: Topping is the act of selecting several elements in a repeat group (If you have to select 2 drinks and not one more or by adding other products in a pizza)
Uber and Doordash already had this in their product page.
Can someone help me make a topping like they have?

What are you stuck on? I assume you have a list of items in your store. Each item will have a list of extras called Toppings of type Topping. These toppings might have some description, cost etc. The similar structure will be created for cart items when added to the cart.

Or I totally misunderstood.

Of course everything in my database is good but I have problems with my workflows and custom states

What problems… what do you want to do, what have you tried, and what happens with your current set up

You can do this by adding the toppings to a custom state as a list.

Then the list will be added to your DB once processed