[
https://issues.apache.org/jira/browse/OFBIZ-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258182#comment-14258182
]
Josip Almasi commented on OFBIZ-5765:
-------------------------------------
Mridul, I do agree.
However, this very same patch is part of my attempts to handle orders in
multiple currencies.
After applying https://issues.apache.org/jira/browse/OFBIZ-5765 and
https://issues.apache.org/jira/browse/OFBIZ-4412 I discovered shipping
estimates ignore currency - shipping prices are taken as they are entered, they
are not recalculated, nor even filtered by currency of order.
So I gave up multi-currency store, and made two stores, each having it's own
currency. (and switched from 12 to 13.07)
But then I discovered that backoffice takes currency based on session locale,
not the store currency. I.e. I have to click on language button when working
with EUR and then again to work with HRK.
I also encountered troubles working with anything but default currency, right
now I can't remember what.
Furthermore, currency conversion doesn't seem to work at all - when I print
invoices in default currency, conversion rate is 1, no matter what I enter in
currency conversion tables.
And I'm required by law to print the same invoice in two currencies, one for
the foreign customer and the other one for accountant and tax authority.
Right now I'm confused, for I don't know what intended design is.
As it is now, it's incosistent.
> missing request map for changing currency
> -----------------------------------------
>
> Key: OFBIZ-5765
> URL: https://issues.apache.org/jira/browse/OFBIZ-5765
> Project: OFBiz
> Issue Type: Bug
> Components: specialpurpose/ecommerce
> Affects Versions: 12.04.04, 12.04.05
> Reporter: Josip Almasi
> Assignee: Ashish Vijaywargiya
> Attachments: ecommerce-multicurrency.patch
>
>
> By analyzing eccommerce controller.xml and appropriate java code, I found out
> there is a way to set session currency, with a get request:
> ECOMMERCEURL/control/setSessionCurrencyUom?currencyUom=UOMID
> However, shopping cart igores session currency. That can be demonstrated by
> changing minicart.ftl, like this:
> <div id="minicart">
> <h3>${uiLabelMap.OrderCartSummary} ${Request.currencyUomId}
> ${shoppingCart.getCurrency()} <@ofbizCurrency
> amount=shoppingCart.getDisplayGrandTotal()
> isoCode=shoppingCart.getCurrency()/></h3>
> I also found methods in place to set shopping cart currency, just, they are
> were mapped to any requests in eccommerce controller.xml.
> The patch to add mapping attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)