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();