Page 1 of 1

Access Product Data on ReceiptPage.ascx

Posted: Fri Aug 13, 2010 12:45 pm
by dappy2
I'm looking to take a customer's contact & order & product data information and send it to our email marketing program via an HttpRequest.

I'm adding a new function where I just need to build a string (a very long string, but a string to add as a query string). I can get all the customer info (Name, Address, Email, Order total etc).

What I can't figure out is how to get build a loop to grab product data for each item in an order. I would ultimately like to get:
Product Name, SKU, URL, Quantity Purchased, Thumbnail URL, Price etc.

I looked at the display code where the Shippable Items grid is built, I just don't understand enough about .Net to translate it to a code behind. Things like:

Code: Select all

<%# OrderHelper.GetShipmentItems(Container.DataItem) %>
<%#Eval("Quantity")%>'
<%#ProductHelper.GetSKU(Container.DataItem)%>
Thanks for any help.
Dappy