How to remove variant tags from the cart?

Topic summary

A user wants to remove variant tags (such as size and color) that appear when products are displayed in the shopping cart.

Solution Provided:

  • Navigate to Shopify Admin → Online Store → Theme → Edit code
  • Locate the theme.liquid file
  • Insert custom CSS code above the </head> tag to hide variant information

Current Status:
The discussion appears resolved with a working code solution provided. The helper offered CSS markup to hide the variant tags from displaying in the cart view, which should address both the format and color tag removal requested by the original poster.

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

Hi @2Hops ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes: