Developer forum

Forum » Development » OrderLines are not included before checkout step

OrderLines are not included before checkout step

Zayar Minn Dynamicweb Employee
Zayar Minn
Reply
Hi,
 
I am implementing Dynamicweb AIP for mobile. When a customer adds an item to cart from website then sync to mobile application.
In this case the OrderLines are not included before checkout step. I am retrieving order with below functions.
1. Dynamicweb.Ecommerce.Orders.OrderService().GetOrder(orderId)
2. Dynamicweb.Ecommerce.Orders.Order.GetOrderById(orderId);
How can I retrieve to include OrderLines.
 
Regards,
Zayar Minn

Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

If you need the current cart, go through Dynamicweb.Ecommerce.Common.Context.Cart

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum