Loading products from database

Posted by Community Admin on 04-Aug-2018 09:43

Loading products from database

All Replies

Posted by Community Admin on 27-Aug-2012 00:00

Hi all,

I am new in Sitefinity, please please i need a full example to show how to load product from database (SQL server), generaly i need to learn how to load informations from database. Thanks in advance.

Posted by Community Admin on 28-Aug-2012 00:00

you're going to want to use the Sitefinity API for this. Each content module (Blogs, News, Events, etc) exposes a ContentManager (BlogsManager, NewsManager, EventsManager, etc) that allows you to create, retrieve and edit items in the SF database.

For sample code on querying products, take a look at this documentation: http://www.sitefinity.com/documentation/documentationarticles/developers-guide/sitefinity-essentials/modules/ecommerce/products/querying-products

The sidebar navigation on the left exposes more docs and sample code for working with all the other content types: http://www.sitefinity.com/documentation/documentationarticles/developers-guide/sitefinity-essentials/modules

hope this is helpful!

This thread is closed