Each product must have a category to distinguish one type of product from another. If you want to display product categories that you put in carts, you can follow the configuration steps in the following article.
Step 1. Go to Setup Menu - More - Application
Step 2. Click Module Configuration - Sell
Step 3. Category Visible 'Yes' - Save
Select 'Yes' in the Category Visible to display the product category on your cart in the sell menu, then press the Save button
Step 4. Go to Sell Menu - Input Product
Enter the name or product code as usual, then the product category will appear when entered into the cart.
Video Display Category Product On Cart :