Automattic / woocommerce-payments

Accept payments via credit card. Manage transactions within WordPress.
https://wordpress.org/plugins/woocommerce-payments/
Other
173 stars 69 forks source link

Checkout total shows EUR alongside the sign #4046

Open rashedripon opened 2 years ago

rashedripon commented 2 years ago

Describe the bug

When multi-currency is enabled, the checkout total shows "EUR" next to the total amount which is redundant and not the usual way to show Euro prices.

To Reproduce

If this image fails to load, please visit: Image Link: https://d.pr/i/jcGKgL

Expected behavior

In the case of "$" there is a possibility that it can be USD, AUD, or CAD. However, Euro is universal so it shouldn't say "EUR" in addition to the "€" sign.

For more information: https://publications.europa.eu/code/en/en-370303.htm

Additional context

This was discussed and reported first here: https://wordpress.org/support/topic/remove-eur-in-total-2/#post-15504400

htdat commented 2 years ago

Thanks for reporting this issue @rashedripon.

I think this is another addition we should consider alongside with https://github.com/Automattic/woocommerce-payments/issues/1389 and https://github.com/Automattic/woocommerce-payments/issues/1301

raifd commented 2 years ago

This was reported on 5334270-zen as well.

jessy-p commented 2 years ago

This was implemented according to design here which states "Use explicit format when showing total amounts". Need review & change for the designs. Also note, last comment on future direction (paJDYF-20W-p2#comment-8358), currency formatting may need to move to WooCommerce Core.

bborman22 commented 8 months ago

As mentioned above, this request is in contradiction to the requirement to display currency format in the explicit format. This already happens on shortcode cart and checkout, but we also have the issue https://github.com/Automattic/woocommerce-payments/issues/2648 to add the explicit format in blocks (or even in WC Core as mentioned above).

This issue will require further discussion as I can see the discrepancy between "dollar" currencies which can be ambiguous and other currencies.