Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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?
0