コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

AEM 5.6 | ecommerce | currency | locale

Avatar

以前のコミュニティメンバー

This is a second question related to our bespoke ecommerce implementation. We applied this tutorial but we have a question on the currency. When we change the currency in our class (extending the AbstractJcrCommerceSession class) the amounts are shown correctly on the first page but not on the second page (please see attached screenshot). 

Please see a snippet of our code below. AFAIK, there are no getters and setters for locale (and tax-rate) but overriding the property after having invoked the base constructor should do the trick .Am I missing something? 

many thanks in advance, 

Wim

 

public DCCommerceSessionImpl( AbstractJcrCommerceService commerceService, SlingHttpServletRequest request, SlingHttpServletResponse response, Resource resource) throws CommerceException { super(commerceService, request, response, resource); LOG.info(">>> DCCommerceSessionImpl() started"); locale = Locale.GERMANY; PRODUCT_TAX_RATE = new BigDecimal("0.21"); this.commerceService = commerceService; this.request = request; this.response = response; this.resource = resource; this.resolver = resource.getResourceResolver();
1 受け入れられたソリューション

Avatar

正解者
Level 10

If the amounts are correct on page 1 and not page 2 - that sounds like a product bug. Please log a ticket here: 

http://helpx.adobe.com/marketing-cloud/experience-manager.html

元の投稿で解決策を見る

1 返信

Avatar

正解者
Level 10

If the amounts are correct on page 1 and not page 2 - that sounds like a product bug. Please log a ticket here: 

http://helpx.adobe.com/marketing-cloud/experience-manager.html