iweber
-
5/30/2013 9:33:26 AM
Displaying a Single Product on a Page
Today I'm working on developing either a repeater or datalist for a page which just displays one product, the corresponding image(s), a description of the product, all the product options, and an add to cart button.
Now I'm somewhat stuck on certain parts of this. I took a long look at the API and documentation yesterday, but to no avail.
What I would really like to do, and what I think makes sense, is to develop these pages based off of the products we added to the ecommerce database. Everything that I want to display on these pages are things I've already put in the ecommerce database, for each product. (Plus we would then have one "template" which can be altered slightly for each product, making maintenance and adding more products very simple.)
Sorry for being so wordy, but here are my actual questions. I have no idea what my eval statements will be for the transformations of these pages. I'm having trouble going back and forth between the ecommerce database, and the transformation of the page. For example, if I want to pull the product description for a product from the database, what would be a way to do this?
Thank you so much for the help, I'm glad that Kentico has such good documentation and support.
|