Hi,
I want to add this OrderItemCustomData field from OrderItem table to the Order payment notification email. But it's not showing up the value of the field.
I added this line to the transformation: {% OrderItem.OrderItemCustomData #%} but it's not displaying anything. What should I do to add additional field from OrderItem table to the order confirmation email and order invoice?
We use Kentico 11 portal engine.
Thanks, Wei Wang
Hi Wei,
Please have a look at this thread, I believe this is exactly your case. As OrderCustomData stores XML, not plain text, you should just use {% Order.OrderItems[0].OrderItemCustomData.NameofYourField %}
{% Order.OrderItems[0].OrderItemCustomData.NameofYourField %}
thank you!
Please, sign in to be able to submit a new answer.