Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Frans de Jong 548 posts 1840 karma points MVP 3x c-trib
    Jan 26, 2022 @ 13:29
    Frans de Jong
    0

    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?

  • Matt Brailsford 4123 posts 22194 karma points MVP 9x c-trib
    Jan 26, 2022 @ 13:38
    Matt Brailsford
    0

    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

  • Alessandro 30 posts 151 karma points
    May 10, 2022 @ 09:58
    Alessandro
    0

    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

  • Matt Brailsford 4123 posts 22194 karma points MVP 9x c-trib
    May 10, 2022 @ 10:37
    Matt Brailsford
    0

    Hi Alessandro,

    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.
    // ========================================================
    

    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

  • Alessandro 30 posts 151 karma points
    May 11, 2022 @ 06:37
    Alessandro
    0

    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.

  • Matt Brailsford 4123 posts 22194 karma points MVP 9x c-trib
    May 11, 2022 @ 13:24
    Matt Brailsford
    0

    No need to apologise 👍🏻

Please Sign in or register to post replies

Write your reply to:

Draft