I'm following the instructions to add custom properties to an order line in the back office editor but wondered if there was a way of specifying the template so we can add logic when the property values are shown.
It says you can for the cart/order but there is no mention of if for an order line. I've got a date and a boolean that currently shows the raw values which would be nice to reformat if possible.
Order Line Properties Editor Config
Hi Matt,
I'm following the instructions to add custom properties to an order line in the back office editor but wondered if there was a way of specifying the template so we can add logic when the property values are shown.
I've looked here:
https://vendr.net/docs/core/3.0.0/key-concepts/ui-config-files/
It says you can for the cart/order but there is no mention of if for an order line. I've got a date and a boolean that currently shows the raw values which would be nice to reformat if possible.
Thanks,
Justin
Hi Justin,
I think we currently only allow the
template
config option within the list view, and not on the order details view.I can add it to our issue tracker to take a look at adding the support, but as it currently stands it's not really possible.
Matt
Thanks Matt,
I thought as much, I've worked around it for now but I think it would be useful to add in the future.
Justin
is working on a reply...