How can I implement a multicurrency shop?
I red some topics in this forum about this feature implementation but I'm not able to implement it.
I can set the desired culture when I add a product to the cart in this way:
ExtendedDataCollection extendedData = new ExtendedDataCollection();
extendedData.AddProductVariantValues(productVariant);
var customerContext = new CustomerContext(UmbracoContext.Current);
var currentCustomer = customerContext.CurrentCustomer;
var basket = currentCustomer.Basket();
basket.AddItem(productVariant.Name, productVariant.Sku, newQuantity, productPrice, extendedData);
basket.Save();
However, I'm not able to set the culture when I add taxes, new shipping and payment methods. In this way code throws an exception: "Invoice is being created with line items costed in different currencies."
There is no Multi-currency support in Merchello, we want to do it custom, But How that's is the big Question, I searched a lot, I think no one yet done this, Could you please share if you get this Done.
Multicurrency
How can I implement a multicurrency shop? I red some topics in this forum about this feature implementation but I'm not able to implement it.
I can set the desired culture when I add a product to the cart in this way:
However, I'm not able to set the culture when I add taxes, new shipping and payment methods. In this way code throws an exception: "Invoice is being created with line items costed in different currencies."
My "set payment" code is:
My "set shipment" code is:
Is there a way to force to insert a custom price and custom currency (for taxes, shipment and payment)?
Otherwise, is there another way to manage the multicurrency in merchello?
Hi Eidos,
There is no Multi-currency support in Merchello, we want to do it custom, But How that's is the big Question, I searched a lot, I think no one yet done this, Could you please share if you get this Done.
is working on a reply...