Umbraco.Commerce.Issues icon indicating copy to clipboard operation
Umbraco.Commerce.Issues copied to clipboard

Add `template` support for order details view

Open mattbrailsford opened this issue 2 years ago • 1 comments

We currently support a template config option for list view UI config, but it would be nice if we could add this to the order details view to allow order properties to be formatted.

mattbrailsford avatar Dec 09 '22 10:12 mattbrailsford

May I add - the docs say you can use template and view but only view gets into the output from /umbraco/backoffice/umbracocommerce/umbracocommerceorder/GetOrderEditorConfig

image

It seems like the UI is prepared to use template at least.

<p ng-repeat="ai in vm.editorConfig.additionalInfo" class="ng-scope">
                  <strong class="ng-binding">Label:</strong>
                  <br>
                  <!-- ngIf: ai.template && !ai.refScope -->
                  <!-- ngIf: ai.template && ai.refScope -->
                  <!-- ngIf: !ai.template --><span ng-if="!ai.template" class="ng-binding ng-scope">No value</span><!-- end ngIf: !ai.template -->
                </p>

skttl avatar May 15 '24 11:05 skttl

Closing as Umbraco Commerce v14 has label views now

mattbrailsford avatar Feb 10 '25 12:02 mattbrailsford