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 873 posts 2086 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 1372 posts 3103 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 2560 posts 8256 karma points
    Mar 09, 2012 @ 14:06
    Anders Burla
    1

    Hi Matt

    You have order.UmbracoLanguageId - thats it.

    Kind regards
    Anders

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

    Hahah, I came first Anders :P

  • Matt Taylor 873 posts 2086 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. ;)

Please Sign in or register to post replies

Write your reply to:

Draft