Documentation

Ucommerce includes full API reference documentation and lots of helpful articles to help you build your e-commerce site as effortlessly as possible.

Topics Payment Providers
v7.18

Migrating Catalog Library

In the old days you could access CatalogLibrary via a static accessor:

    
    
        UCommerce.Api.CatalogLibrary
    
    

To grab the new CatalogLibrary use the DI Container:

    using Ucommerce.Api;
    using Ucommerce.Infrastructure;

The catalogLibrary has been slimmed down, and input and return models are now longer backed by UCommerce.EntitiesV2 (NHibernate entities).

Instead they return Search models found under

    using Ucommerce.Search.Models;

The only exception to this is the price calculation which remains the same.