AI agents: the content index is at /llms.txt. Every page is also available as Markdown — send the request header Accept: text/markdown, or append .md to the page URL.
Xperience Docs

Cookie consent

We use necessary cookies (opens in a new tab) to run our website and improve your experience while browsing. Additional cookies are only used with your consent. You may revoke your consent on the Cookies Policy (opens in a new tab) page or in your browser at any time.

Configure (opens in a new tab)
  • Documentation
    Administration interface basicsDevelopers and adminsBusiness usersChangelogGlossary
  • Guides
    Welcome to Xperience by KenticoAdministration interface basicsCustomer journeysDigital marketingConfigurationDevelopmentArchitectureUpgrade to Xperience by Kentico
  • Training
    For AdminsFor Business usersFor DevelopersFor Solution architects
  • API Examples
    ConfigurationContent managementDevelopmentDigital marketing
  • Changelog
    Documentation updatesSecurity advisories
  1. Home
  2. Developers and admins
  3. Digital commerce
  4. Commerce setup

Commerce setup


Was this page helpful?

Send us feedback Go back to top
  • Community Questions & Answers (opens in a new tab)
  • Contact support (opens in a new tab)

Advanced license required

Features described on this page require the Xperience by Kentico Advanced license tier.

The digital commerce feature helps you build simple online stores where you can sell physical or digital products. It gives you the basic tools, data structure, and actions you need to manage your shop and process orders. You can use it to set up product listings, handle purchases, and store customer data. Custom development is needed to fully set up and customize your shop, but this feature takes care of the main building blocks so you don’t have to start from scratch.

To use the commerce features of Xperience by Kentico:

  1. Enable the commerce feature.
  2. Prepare a product catalog and fill it with products.
    • You need to implement stock management to track product availability. You can do this by modeling the product stock as a custom module.
  3. Implement shipping and payment methods.
  4. Implement the shopping cart and checkout process.
    • The shopping cart and checkout interfaces need to be implemented as custom pages or widgets.
  5. Configure order statuses and set up notifications for order status changes.
  6. Display the product catalog on your storefront (your public-facing interface where customers browse and purchase products).
    • Depending on your product catalog model, you can either directly display product pages (if using pages to store products) or create pages for each product using custom code (if using the content hub to store products).

Enable digital commerce

To enable the commerce feature:

  1. Open your Xperience project in Visual Studio and edit the Program.cs file.

  2. Enable the commerce feature in the application startup:

    C#Program.cs
    using Microsoft.AspNetCore.Builder;
    
    using Kentico.Web.Mvc;
    using Kentico.Xperience.Commerce;
    
    // ...
    
    WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
    
    // ...
    
    builder.Services.AddKentico(features =>
    {
        // Enables digital commerce
        features.UseCommerce();
    });
  3. Register the required commerce service implementations. You must at minimum implement and register a product data retriever and a tax calculation step for the price calculation service to work.

On this page

  • Enable digital commerce

Related pages

  • Digital commerce