Copied to clipboard

Flag this post as spam?

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


  • Geoff 19 posts 134 karma points
    Mar 27, 2015 @ 08:28
    Geoff
    0

    How to get Order Status Name

    Hi,

    Is there an way to get the Name of the order status for an order in Tea Commerce 3?

    The OrderStatusId is available for an order but I can't see a way to get the Name for this status.

    I'm trying to display the details for a customer's orders using Razor

    Thanks,

    Geoff

     

  • Anders Burla 2560 posts 8256 karma points
    Mar 27, 2015 @ 08:35
    Anders Burla
    100

    Hi Geoff

    You can use the TeaCommerce.Api.Services.OrderStatusService.Instance.Get(storeId, orderStatusId)

    Kind regards
    Anders

  • Geoff 19 posts 134 karma points
    Mar 27, 2015 @ 08:39
    Geoff
    0

    Thanks Anders, That's what I needed

Please Sign in or register to post replies

Write your reply to:

Draft