I am trying to change change currency symbol that appears throughtout broadleaf application.
Exploring the code I found that BLC has a thymleaf dialect 'blc' and and attribute 'price' to render price/cost in web pages.
Example:
<div style="font: 32px/28px 'Oxygen', Helvetica, sans-serif;" blc:price="${order.total}"></div>
Reffering to 'org.broadleafcommerce.core.web.processor.PriceTextDisplayProcessor' class , the overriden method getText seems to be returning '$' sign with the price :-
if (price == null || price.isZero()) {
return "$0.00";
} else {
return "$" + price.getAmount().toString();
}
Doubts :-
Where are the spring beans defined for BLC dialect and processor? How the blc dialect is actually configured and how can I configure my own processor for price attribute.
How 'Currency Resolution' is connected with this See here
Any quick workaround for this problem.
Please correct me if I am missing any information.
Thanks