Copied to clipboard

Flag this post as spam?

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


  • seanrock 262 posts 483 karma points
    Jul 15, 2020 @ 09:16
    seanrock
    0

    Order property constants

    Hi Matt

    Do you have the order properties that are 'expected' such as billing and shipping fields defined as constants? I've had a look but don't see them. Just want to avoid duplicating these and typos etc.

    Thanks.

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jul 15, 2020 @ 09:21
    Matt Brailsford
    100

    Hi Sean,

    There are curently only constants for the properties that are absolutely required to be known by Vendr which are all in the namespace Vendr.Core.Constants.Properties.Customer https://vendr.net/docs/core/1-2-0/reference/vendr-core/constants/#constantspropertiescustomer

    However things like the billing address / shipping address aren't explicitly required to be named anything specific as far as Vendr is concerned and so we don't have constants for them.

    For minimum friction though, you can review the default Order Editor Config to see what property aliases the default editor view looks for https://vendr.net/docs/core/1-2-0/key-concepts/order-editor-config/

    /Matt

  • seanrock 262 posts 483 karma points
    Jul 15, 2020 @ 10:07
    seanrock
    0

    Ok cool thats what I'm looking for.

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft