Shopify cart error - massive exclamation mark in "cart", please help!

Topic summary

A large exclamation mark unexpectedly appeared in a Shopify store’s cart page. The issue is visible in Microsoft Edge but disappears when Chrome’s developer console is opened.

Two solutions were provided:

  1. Theme.liquid modification (marked as accepted): Add specific code above the </head> tag in the theme.liquid file
  2. CSS override: Add .cart-item__error {display: none !important;} to base.css to hide the error element

Current status: The original poster confirmed the first solution worked. However, a follow-up question emerged about the exclamation mark reappearing on the second item when multiple products are in the cart, suggesting the issue may not be fully resolved for all scenarios. The root cause of why the error displays remains unclear.

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

Amazing, thank you for the quick help.

I’m assuming that the error has no major impact on the page as a general?