Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Eidos 44 posts 66 karma points
    Oct 26, 2015 @ 15:54


    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();
    var customerContext = new CustomerContext(UmbracoContext.Current);
    var currentCustomer = customerContext.CurrentCustomer;
    var basket = currentCustomer.Basket();
    basket.AddItem(productVariant.Name, productVariant.Sku, newQuantity, productPrice, extendedData);

    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:

    IPaymentMethod paymentMethod = payment.GetPaymentGatewayMethodByKey(payMethodKey).PaymentMethod;

    My "set shipment" code is:

    var shippingAddress = basket.SalePreparation().GetShipToAddress();
    if (shippingAddress != null)
        IShipment shipment = basket.PackageBasket(shippingAddress).FirstOrDefault();
        shipment.VersionKey = Guid.NewGuid();
        IShipmentRateQuote quote = shipment.ShipmentRateQuoteByShipMethod(shipMethodKey);
        if (quote != null)

    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?

  • skp 12 posts 80 karma points
    Dec 26, 2018 @ 06:27

    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.

Please Sign in or register to post replies

Write your reply to: