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.
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!
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
How do you access the order line properties?
orderLine.Properties["yourProperty"]
Kind regards
Anders
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
is working on a reply...