Copied to clipboard

Flag this post as spam?

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


  • Lesley 107 posts 349 karma points
    Mar 17, 2021 @ 21:42
    Lesley
    0

    Vendr Checkout - custom order status

    Our client wants to be able to process pre-orders i.e. purchase a book before it is published.

    Is it possible to hook into the order finalization process in Vendr Checkout and set status to either New or PreOrder, depending on some property in the order details e.g. IsPreOrder?

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Mar 18, 2021 @ 09:25
    Matt Brailsford
    0

    Hi Lesley,

    Sure. Vendr throws a lot of events that you can hook into, including an OrderFinalizingNotification event so you can use this to know when an order is finalizing and alter the status accordingly. https://vendr.net/docs/core/1.5.0/key-concepts/events/

    You can also use order properties to store the relevant information as to whether it is a pre order https://vendr.net/docs/core/1.5.0/key-concepts/properties/ You could set that on your product doc type and look at using Automatic Properties (documented on the link above) to auto copy that value to the order line.

    Hope this helps

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft