Developer forum

Forum » Development » OrderLine Custom FieldValues

OrderLine Custom FieldValues

Zayar Minn Dynamicweb Employee
Zayar Minn
Reply

Hi All,

I am trying to retrieve OrderLineFieldValue. But it doesn’t come out. Could you please guide me? Here is my referencing and code.
Ref: https://doc.dynamicweb.com/api/html/6c37dac8-8290-11ad-8420-fb09fb0ef765.htm
Custom Fields: A1.PNG
Codes: A2.PNG
Result: A3.PNG

Regards,
Zayar Minn

A1.PNG A2.PNG A3.PNG

Replies

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply
This post has been marked as an answer

Hi Zayar,

Does the order lines actually have any stored values for the order line fields?

Remember to attach the order line fields to product groups.
Go through checkout and fill in the order line field values.
The order line field values should now be available for the order lines in that order.
See documentation for Order line fields.

If it still doesn't work then please share a more complete code sample including how and where you retrieve the order.

Best regards,
Morten

Votes for this answer: 1
 
Zayar Minn Dynamicweb Employee
Zayar Minn
Reply

Dear Morten,
Thanks your your help. I am implementing for Mobile API. Now I directly modify "OrderLineFieldValues" column in db. Now it is solved.

Regards,
Zayar Minn

 

You must be logged in to post in the forum