AEM 5.6 | ecommerce | currency | locale | Community
Skip to main content
October 16, 2015
Solved

AEM 5.6 | ecommerce | currency | locale

  • October 16, 2015
  • 1 reply
  • 775 views

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();
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

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