Needs work
Project:
Drupal Commerce Extra Price Formatters
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 Mar 2012 at 06:09 UTC
Updated:
21 Jan 2013 at 16:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
pebosi commentedCreated a patch for adding two new formats:
First, examples:
1000
1000.49
Second with currency code, examples:
1000 EUR
1000.49 EUR
Comment #2
ikos commentedHi pebosi,
Thanks for your feedback on the module and for your patch.
I'm not going to commit this one as I think it seems a very specific scenario and we could probably achieve the same result in a different way.
I propose that instead we provide an option to specify the number format in the formatter and also indicate whether or not to use a currency symbol. This could be common for all formatters.
I've updated the issue title accordingly.
kind regards
Richard
Comment #3
ikos commentedComment #4
xanoCurrency 7.x-2.x offers a user interface and API to perform customizable locale-specific price formatting. Using the format requested by @jbsc is perfectly possible. Currency for Drupal Commerce already brings this functionality to Commerce. Maybe Drupal Commerce Extra Price Formatters can benefit from Currency as well?