Discussions
Grab OrderItems info in Order Confirmation Page
I was trying to implement Bazaarvoice ROI Beacon in my order confirmation page. This is a data structure that Bazaarvoice needs in the transaction page. I follow the instructions and got the script below. I need the "internal ID","display name", "price", and "quantity" in the OrderItems array. Netsuite provides "<%=getCurrentAttribute('confirmation','orderitems')%>" tolist the order details. But it needs an array to show them. The errors show up in the red font section.
I think the code blow needs improvement. Anybody can help and make it correct? thanks!
or maybe I need to do the "items" part in a separated script, and then write it back to the data structure?