[TYPO3-commerce] How to display dual currency ?
Franz Koch
typo.removeformessage at fx-graefix.de
Tue Jan 22 10:26:08 CET 2008
Hi "J" (would be nice to know your name),
> Hi Ingo,
>
> Thanks for your kind response.
>
> May be I couldn't clarify properly. I am not looking for such an
> extension or feature in the commerce itself which can automatically
> change one currency to another. But I simply like to display the price
> of a product in two different currencies. The prices will be entered
> according to the very standard international rule for each of the
> currency and there will not be such an auto converter like thing. So in
> the article price section an additional area should be present where we
> can put the prices for another different currency ; the relevant VAT and
> all other necessary information and *article price section* should
> pass both the values (currency) . The product.tmpl should display both
> the currencies.
>
> So nowhere we are interested to use such an auto converter.
>
> with best wishes
I think you can do what you want with a small custom extension. Simply
extend the prices table in the DB with a field for currency (maybe a
relation to static infotables) and of course correctly configured in
extTables (and probably somewhere else to get shown in the flexform).
Now you are able to assign a currency to each price you create in commerce.
After that, you can use some of the hooks to create the needed markers
and subpart sections you like to show in the shop.
But I think you will have a problem in the basket, as it might be a bit
too much showing two currencies there. Maybe a better solution would be
to provide a dropdown field somewhere, where the visitor can select
which currency he likes to see.
Just some ideas that might help.
--
kind regards,
Franz
More information about the TYPO3-project-commerce
mailing list