ShoppingCartCustomData becoming OrderCustomData

Bart Lewandowski asked on August 2, 2018 12:43

Hi, I want to allow customer to specify their own order number and delivery date. I thought I will use ShoppingCartCustomData to store it. That works well. Form fields are autoupdating and populating the ShoppingCart table. The problem is when I want to transfer that data to order. I assumed that like all other data it is just copied from ShoppingCart to Order during the checkout routine. No such luck. The Order field comes as empty. I could write a macro on confirmation page to copy the data from one to another, but at that stage the shopping cart does not exist anymore. I was trying to find some documentation on that (am I doing something wrong like XML formatting or something?) - no luck either. Can somebody shed some light on the process?

Correct Answer

Suneel Jhangiani answered on August 2, 2018 16:53

The ShoppingCartInfo.ShoppingCartCustomData should get stored in the OrderInfo.OrderCustomData and hence you should be accessing it from that.

0 votesVote for this answer Unmark Correct answer

Recent Answers

Web Master answered on October 29, 2018 21:55

@Bart Lewandowski, Can you provide detail on how you even got the ShoppingCartCustomData to store the information you wanted it to store? We're working on something similar but haven't yet been able to access this custom data property correctly. Honestly, not even sure where to begin. We know it's there but no webpart exists to add it or that contains the field. We are looking to build an internal company store and simply want to capture an employee number. Thanks!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.