I have a umbraco site that is 2 webs, one in danish and a copy in englist (not exact same content) I wish to have a common shop for theese 2 sites where user can choose language.
But how do i get the content of my shop to change language / currency?
The simplest will probably be to copy the store to the different language sites and have Umbraco handle the language.
For currency you can either set up a catalog for each currency and assign the price group you want or override the price group programmatically by setting
Sorry for butting in, but I've been battling with this for a few days, hopefully someone can help me out.
I have a Catalog set up with the pricegroup "DKK 25 pct". Now, depending on the language, I may want to change the pricegroup as per Søren's suggestion:
This is due to the fact that the cart was created with a different currency than the one you're trying to add the new item with. uCommerce doesn't know how to handle that scenario so it throw an exception.
Clearing your cookies will give a new cart with the proper currency.
BTW you'll get a faster reply in the future if you do a new thread. I'm only seeing your question because I previously answered the other question on this thread.
diffrent languages
I have a umbraco site that is 2 webs, one in danish and a copy in englist (not exact same content)
I wish to have a common shop for theese 2 sites where user can choose language.
But how do i get the content of my shop to change language / currency?
How is your websites structured? (Urls for instance?)
And shall the webshop being integrated into the two sites or should it be a shared one?
It can depend on how you want your shop to be integrated into your existing sites (or if it should be a new one).
Hi Amigo,
The simplest will probably be to copy the store to the different language sites and have Umbraco handle the language.
For currency you can either set up a catalog for each currency and assign the price group you want or override the price group programmatically by setting
Thanks Søren ;-)
Sorry for butting in, but I've been battling with this for a few days, hopefully someone can help me out.
I have a Catalog set up with the pricegroup "DKK 25 pct". Now, depending on the language, I may want to change the pricegroup as per Søren's suggestion:
However, this produces the following error:
Items cannot be added with different currency DKK from billing currency EUR of order.
Line 69: var price = CatalogLibrary.CalculatePrice(product);
I have tried to override PriceService and TaxService as described elsewhere, but that ultimately produced the same error.
Am I missing something obvious here? Thanks in advance for any suggestions.
This is due to the fact that the cart was created with a different currency than the one you're trying to add the new item with. uCommerce doesn't know how to handle that scenario so it throw an exception.
Clearing your cookies will give a new cart with the proper currency.
BTW you'll get a faster reply in the future if you do a new thread. I'm only seeing your question because I previously answered the other question on this thread.
Hope this helps.
is working on a reply...