Access Product Data on ReceiptPage.ascx

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
dappy2
Commander (CMDR)
Commander (CMDR)
Posts: 114
Joined: Wed Jan 18, 2006 5:53 pm
Contact:

Access Product Data on ReceiptPage.ascx

Post by dappy2 » Fri Aug 13, 2010 12:45 pm

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

Post Reply