Removing Currency Decimal - Dawn

Topic summary

Main Issue: A user successfully removed currency decimals for their default store currency on product cards in collections, but decimals still appear for other currencies in their multi-currency setup.

Proposed Solution:

  • Navigate to Online Store > Themes > Actions > Edit Code
  • Locate the product pricing code in files like product-card.liquid or collection-template.liquid
  • Find the price display code (typically {{ product.price | money }})
  • Replace it with {{ product.price | money_without_trailing_zeros }} to remove decimals globally across all currencies
  • Save changes and refresh the site

Status: The thread includes an unrelated question about header menu text color and another about integrating Bandcamp items into Shopify collections (answered with external link workarounds). The original decimal removal question appears to have received a technical solution but no confirmation of resolution from the original poster.

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

Hi @Element1

To remove currency decimals from product cards for all currencies in Shopify collections, ensure you’re using a proper formatting method for multi-currency handling. You can update your code as follows:

  1. Go to Online Store > Themes > Actions > Edit Code: https://prnt.sc/U-e0sESi0__h
  2. Open the file where product pricing is displayed, often product-card.liquid or collection-template.liquid.
  3. Find the code displaying the price, usually {{ product.price | money }}.
  4. Replace it with {{ product.price | money_without_trailing_zeros }} to remove decimals globally.
  5. Save and refresh your site.

This ensures decimal removal for all currencies.

If you have other questions, I am willing to answer them more.

Best regards,

Daisy

1 Like