Hi there!
I am looking to remove the cents on products when I send out promotional emails. I have had one solution of just creating liquid text below the pictures, but that doesn’t flow properly between desktop and laptop. Is there a code change that removes it?
You can hide the cents in your Shopify email templates by editing the price filter in the Liquid code. Replace {{ product.price | money }} with {{ product.price | money_without_trailing_zeros }}. That removes decimals across your email.
Go to Settings → General → Store Defaults → Currency Display → Change Currency Formatting
Change {{ amount }} to {{ amount_no_decimals }} for both Email With Currency and Email Without Currency
This will remove the cents for all email templates.
Hi there!
That has been done, but it did not remove them in the marketing emails.
Hey @poppedartisan
Thanks for posting this to the Shopify Community.
You can remove cents from product prices in promotional emails by adjusting the price formatting in your email template settings. This ensures prices display cleanly (e.g., $25 instead of $25.00) and stay consistent across desktop and mobile. Make sure to apply the change directly in your email template rather than adding custom text below product images that keeps the layout responsive.
If this was helpful, don’t forget to like it and mark it as a solution.
Thanks,
I am not finding a place to change this in the code editor. The search only brings up one place, but when I change it an error appears.
Hi @poppedartisan
Yes — you can remove the cents (decimal values) from product prices directly with a small Liquid code change in your Shopify theme or email template.
Here’s how:
Option 1: Liquid filter method (recommended)
Wherever your product price is displayed, you can replace:
{{ product.price | money }}
with:
{{ product.price | money_without_trailing_zeros }}
or (for full control)
{{ product.price | money_without_currency | split: '.' | first }}
This removes everything after the decimal point (i.e., no cents).
Option 2: Global change (theme-wide)
If you want this to apply across your whole store or emails, open your locales/en.default.json (or equivalent language file) and modify your currency format like this:
"money_format": "{{amount_no_decimals}} {{currency}}"
If my assistance was helpful to you, please like and accept all my solutions. 
Best regards,
Devcoder 