Copied to clipboard

Flag this post as spam?

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


  • Matt Taylor 859 posts 2052 karma points
    Mar 09, 2012 @ 13:47
    Matt Taylor
    0

    XSLTHelper.InvokeXSLT umbracoLanguageId parameter

    I'm working through the example of how to create a license shop with Tea Commerce.

    In the WebshopEvents_AfterOrderFinalized event there is some code to send an email which is generated from an XSLT file.

    It uses the following as part of this:

    XSLTHelper.InvokeXSLT( emailLicenseXsltFile, null, parameters, false );

    The latest version of this TC library requires and additional parameter for this method, umbracoLanguageId.

    What should I be setting this with?

    Regards,

    Matt

  • Rune Grønkjær 1303 posts 2895 karma points
    Mar 09, 2012 @ 14:06
    Rune Grønkjær
    1

    Hi Matt,

    You should just set it to the orders umbracoLanguageId.

    /Rune

  • Anders Burla Johansen 2560 posts 8256 karma points
    Mar 09, 2012 @ 14:06
    Anders Burla Johansen
    1

    Hi Matt

    You have order.UmbracoLanguageId - thats it.

    Kind regards
    Anders

  • Rune Grønkjær 1303 posts 2895 karma points
    Mar 09, 2012 @ 14:07
    Rune Grønkjær
    0

    Hahah, I came first Anders :P

  • Matt Taylor 859 posts 2052 karma points
    Mar 09, 2012 @ 14:24
    Matt Taylor
    0

    Thanks guys.

    Yes Rune gets the karma. He's obviously not as busy as you this Friday. ;)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies