Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Gustas Sagaitis 14 posts 93 karma points
    Jan 17, 2014 @ 10:21
    Gustas Sagaitis
    0

    Get order number before or after order is placed

    Hi,

    I want to have a page where I show order details for order that has been just placed. I can get basket which seems to have same information except for order number, how do I get order number?

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Jan 17, 2014 @ 10:35
    Nickolaj Lundgreen
    100

    Hi

    In a normal uCommerce checkout flow, orders doesn't get a order-number before the paymentprocess is complete, so basket (not completed orders) will miss that property. If you are looking for "order that has been just placed", you would need to filter the order where order.OrderStatus.OrderStatusId == OrderStatus.Get((int)OrderStatusCode.NewOrder) and some sort of date range.

  • Gustas Sagaitis 14 posts 93 karma points
    Jan 17, 2014 @ 11:37
    Gustas Sagaitis
    0

    Hi Nickolaj,

    Thank you for response. Will probably just use this hack :)

Please Sign in or register to post replies

Write your reply to:

Draft