Hello, I have products using 2 and 3 decimal places, so I created a formatter (Commerce Price Decimals Formatter). It would be great to be added also support in this great module.
Attached patch.
Greetings
| Comment | File | Size | Author |
|---|---|---|---|
| add_support_to_commerce_price_decimals_formatter-commerce_price_savings_formatter.patch | 4.31 KB | facine |
Comments
Comment #1
recrit commentedIt's not best practice for one module to alter itself for another module. That in mind, there is a need for prices and labels to be alterable; therefore, I have implement a hook_commerce_price_savings_formatter_prices_alter per commit http://drupalcode.org/project/commerce_price_savings_formatter.git/commi.... @see commerce_price_savings_formatter.api.php
To implement adding a new formatter setting:
Comment #2
facine commentedThank you very much!
I've created a sub-module to alter the format.