Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Multicurrency manual configuration View modes: 
User avatar
Member
Member
Łukasz Gojowy - 6/22/2010 4:30:14 AM
   
Multicurrency manual configuration
Good morning,

I am about to configure a new multi-currency e-shop. However I wish not to use currency exchange rates. Business requires ability to define price for each product for each currency manually.

Is there a way to deliver this within Kentico E-commerce module?

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 6/30/2010 4:57:53 AM
   
RE:Multicurrency manual configuration
Hello,

Regrettably this isn't currently possible. I will submit a new requirement for the upcoming version.

Best regards,
Boris Pocatko

User avatar
Member
Member
Łukasz Gojowy - 7/1/2010 10:56:27 AM
   
RE:Multicurrency manual configuration
Hello,

I'm considering modification of source code to achieve this functionality.

class: ExchangeTableInfoProvider
method: ApplyExchangeRate

I would add a new parameter to this method (SKUid) and put there custom code which reads new table (SKUid, currency, price) instead of standard code. I will identify currency by exchange rate (not very elegant, but will work).

Probably I would have to modify all places in code, where this method is used. I found 9 of them already.

And my question... will this work properly or is there something more I should take care of?

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 7/7/2010 7:26:58 AM
   
RE:Multicurrency manual configuration
Hello,

I consulted your requirement with our technical leader responsible for the E-commerce module and he can't think of a reason it shouldn't work. Just make please sure, that you test your implementation at first, before you publish it on the live site. Please make some test orders through the CMS Desk interface and from the live site and check, if these are calculated correctly.

Best regards,
Boris Pocatko

User avatar
Member
Member
Łukasz Gojowy - 7/7/2010 9:56:05 AM
   
RE:Multicurrency manual configuration
Hello,

Thank you very much!

Best Regards,
Łukasz Gojowy

User avatar
Certified Developer 8
Certified Developer 8
richard - 1/9/2011 7:19:11 PM
   
RE:Multicurrency manual configuration
Hi Lukasz

Did you have any joy getting this working? I am trying the same method but not having much success as I can't seem to pass in the Skuid to the custom provider method (ApplyExchangeRate), I get that the "provider does not implement interface member" (as the method in IEcommerce expects double/double).

Cheers

Richard

User avatar
Certified Developer 8
Certified Developer 8
richard - 1/9/2011 7:38:29 PM
   
RE:Multicurrency manual configuration
I see that you say that you have the source code - and not using the custom providers.

User avatar
Member
Member
Łukasz Gojowy - 1/10/2011 3:35:41 AM
   
RE:Multicurrency manual configuration
Hello,

In the end I did not start implementing this modification, due to non-technical reasons, so I don't have any more insights into this subject. However I still believe that with great probability it would work :)

Sincerly,
Lukasz

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 10/20/2011 10:41:02 AM
   
RE:Multicurrency manual configuration
Hello,

I just wanted to let you know, that the implementation of this approach is possible in the 6.0 version as well. You just need to customize the method GetSKUPrice in the SKUINfoProvider and to take the price from any custom field.

Best regards,
Boris Pocatko

User avatar
Member
Member
johnny-segment - 10/31/2011 10:23:18 AM
   
RE:Multicurrency manual configuration
Hey Boris,

In version 6, to handle this with the the SKUINfoProvider, do you need the Ultimate License with Source Code to access it, or can we just override with CustomSKUInfoProvider?

Thanks,

JS

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 11/8/2011 6:50:51 AM
   
RE:Multicurrency manual configuration
Hello,

No, you don't need the source code of Kentico. You only use the custom provider mentioned in the post before.

Best regards,
Boris Pocatko