You can highlight order line properties to display in the order line summary on the order details view and you can also show order properties in the additional info section.
We don't currently have an option for displaying anything custom in the orders listview however.
Hi Matt, sorry for the probably dumb question, but... where should I put the order.editor.config.js file? I tried to edit the one existing into App_Plugins/Vendr/config but I don't see any change, so possibly I'm editing the wrong file, or should I tell vendr where the file is located?
You'll want to copy the one that it's App_Plugins\Vendr\config and rename it to be storeAlias.order.editor.config.js then Vendr will pick this up. If you just edit the one that already exists this will get overridden when you rebuild the solution. We try to point this out though with the code comment at the start of the order editor config file.
// ========================================================
// I M P O R T A N T
// ========================================================
// THIS FILE WILL GET REPLACED DURING AN UPGRADE AND ANY
// CHANGES YOU MAKE TO IT WILL BE LOST
// ========================================================
// DO NOT edit this file directly. If you need to change
// it's behaviour, always take a copy and modify the copy,
// updating the Store to use your new version.
// ========================================================
Show custom properties in order overview and order detial
Is there a "easy" solution to show custom order properties in the order overview and in the order detail screen?
Hi Frans,
There are a few options available via the Order Editor Config. If you take a look at the docs here https://vendr.net/docs/core/2.0.0/umbraco-v9/key-concepts/order-editor-config/
You can highlight order line properties to display in the order line summary on the order details view and you can also show order properties in the additional info section.
We don't currently have an option for displaying anything custom in the orders listview however.
Hope this helps
Matt
Hi Matt, sorry for the probably dumb question, but... where should I put the order.editor.config.js file? I tried to edit the one existing into App_Plugins/Vendr/config but I don't see any change, so possibly I'm editing the wrong file, or should I tell vendr where the file is located?
thanks in advance alessandro
Hi Alessandro,
You'll want to copy the one that it's
App_Plugins\Vendr\config
and rename it to bestoreAlias.order.editor.config.js
then Vendr will pick this up. If you just edit the one that already exists this will get overridden when you rebuild the solution. We try to point this out though with the code comment at the start of the order editor config file.Hope this helps
Matt
PS you can find some more info on how to configure the order editor config here https://vendr.net/docs/core/2.1.0/umbraco-v9/key-concepts/order-editor-config/#assigning-an-order-editor-config-file-to-a-store
Hello Matt, thanks for your kind answer. I did check that doc page but I missed the info about the naming of the file.
My bad, sorry for wasting your time.
No need to apologise 👍🏻
is working on a reply...