0

我的 cscockpit 显示价格值“125.00PHP”。是否有任何配置参数或 impex 更改为“PHP125.00”?
在此处输入图像描述

4

1 回答 1

0

您需要自定义与此布局对应的小部件。

同样,您需要扩展de.hybris.platform.cscockpit.widgets.renderers.impl.BasketTotalsWidgetRenderer和覆盖renderOrderDetail的方法AbstractOrderTotalsWidgetRenderer

您需要根据您的要求更改以下代码块

NumberFormat currencyInstance = (NumberFormat) getSessionService()
                    .executeInLocalView(
                            new SessionExecutionBody(cartCurrencyModel) {
                                public Object execute() {
                                    AbstractOrderTotalsWidgetRenderer.this
                                            .getCommonI18NService()
                                            .setCurrentCurrency(
                                                    this.val$cartCurrencyModel);
                                    return AbstractOrderTotalsWidgetRenderer.this
                                            .getFormatFactory()
                                            .createCurrencyFormat();
                                }
                            });
于 2017-05-11T11:47:51.913 回答