Copied to clipboard

Flag this post as spam?

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


  • Martin Robinson 40 posts 61 karma points
    Jun 07, 2013 @ 19:18
    Martin Robinson
    0

    Using order line custom properties in confirmation emails (cshtml)

    Hi all,

    I have successfully created custom order line properties and I am now at the stage where I am completing PayPal checkout and the TeaCommerce confirmation email is being generated (using the default email-template-confirmation.cshtml script).

    How can I insert my order line custom properties into the email? I can see where the order line loop is performed but my numerous attempts to try to access the order line custom properties are resulting in no email being generated (as if an error is hit) even though the cshtml script saves without any warning.

    An example of referring to an order line custom property within that cshtml script would be very welcome indeed.

    Cheers,
    Martin

  • Anders Burla 2560 posts 8256 karma points
    Jun 08, 2013 @ 21:27
    Anders Burla
    0

    How do you access the order line properties?
    orderLine.Properties["yourProperty"]

    Kind regards
    Anders

  • Martin Robinson 40 posts 61 karma points
    Oct 01, 2013 @ 09:50
    Martin Robinson
    0

    Hi Anders and Rune,

    Just to finish this thread by letting you know that the site has gone live at www.attachaware.com

    This is an Umbraco/TeaCommerce site with EU VAT Number checking, custom order finalization with custom properties, software licence generation and management (including single, multiple and domain licences) and custom email templates.

    I feel now as though I have a platform on which to launch other software-based products.

    It's still early days - just launched - so I will be happy to receive any bug reports etc.

    PS: Please excuse me if I paste this to complete the various forum threads I started over the past few months!

    Cheers,
    Martin

Please Sign in or register to post replies

Write your reply to:

Draft