Magento: Decimal Price in spanish language display Dot instead comma

Magento: Decimal Price in spanish language display Dot instead comma

July 17, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento: Decimal Price in spanish language display Dot instead comma

Magento: Displaying Decimal Prices Correctly in Multiple Languages

If you’re running a multilingual Magento store and facing issues with decimal prices displaying incorrectly when switching languages, you’ve come to the right place. Let’s dive into this common challenge and find a practical solution.

Understanding the Problem

In your scenario, you have multiple language settings on your Magento site. The default is English (USD), but you’ve implemented Spanish as well. When a customer switches from English to Spanish, the decimal prices in product listings suddenly appear with commas instead of dots. For example:

  • Default language (English): Price: $1.35
  • Spanish language: Precio: €1,35

This formatting inconsistency can confuse customers and undermine their trust in your site’s professionalism.

The Root Cause

The issue lies in Magento’s default configuration for price display settings across different locale settings (i.e., the regional preferences of your languages). By default, Magento uses the comma as a decimal separator for Spanish currency formats. It’s a built-in behavior that might not align with your specific needs or customer expectations.

The Solution: Customizing Magento’s Price Display Settings

To resolve this issue and ensure consistency across all languages on your site, you need to customize the price display settings for each language individually. Here’s a step-by-step guide:

  1. Navigate to System > Configuration in your Magento admin panel.

  2. In the General section, click on Design.

  3. Expand the Store View dropdown and select the Spanish store view (or any other language where you want to make changes).

  4. Scroll down to the Price Display Settings section.

  5. Under Decimal Separator, change it from a comma to a dot (.).

  6. Under Thousand Separator, leave this field blank if you don’t need thousands separators for your prices.

  7. Click on Save Config.

  8. After saving, go back to the General section and click on Configuration Sync. This will apply the changes across all stores.

Testing the Changes

To verify that the changes have taken effect:

  1. Switch to a Spanish store view in the frontend of your site (if it’s not set as default).

  2. Visit any product listing with a decimal price.

  3. Observe if the prices now display correctly using dots instead of commas, e.g., Price: €1.35

Conclusion and Best Practices

Customizing Magento’s price display settings for each language is crucial when dealing with multilingual stores, especially when working with currencies that use different separators for decimals.

Remember to always test your changes thoroughly across various devices and browsers to ensure consistency in the user experience. If you find further customizations needed, our team at Laravel Company specializes in Magento development services tailor-made for businesses like yours.

Don’t hesitate to reach out if you require professional assistance in optimizing your store’s localization settings or any other e-commerce development needs.

Happy coding!

Catalog Configuration Customers Pricing

Our network