How to remove currency code from subtotal cart page

Topic summary

A user seeks to remove the currency code from the subtotal display on their cart page.

Proposed Solutions:

  • Liquid filter modification: Replace {{ cart.total_price | money_with_currency }} with {{ cart.total_price | money }} in the cart.liquid or main-cart-items.liquid file.

  • Alternative approach: Another user shared image-based instructions referencing detailed documentation, as HTML/code content cannot be fully shared in comments.

Current Status:

The original poster tried the first solution but reported it didn’t work. The issue remains unresolved, and they are seeking additional solutions.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

How to remove currency code from subtotal cart page

1 Like

Hello @michelle012

Go to Online Store > Themes > Actions > Edit Code.

Open the file: cart.liquid or main-cart-items.liquid (depending on theme).

Find:

{{ cart.total_price | money_with_currency }}

Replace with:

{{ cart.total_price | money }}

Here is the solution. Check out the documents for detailed solution since HTML/Coding contents can’t be shared via comment

hi thankyou for your response, I tried but it didn’t worked. Hope you can help me out with another solution

hi thankyou for your response, I tried but it didn’t worked. Hope you can help me out with another solution