Smartstore README

The project's README from github.com/smartstore/Smartstore. As one markdown file: README.md.

Smartstore

Smartstore

Ready. Sell. Grow.

A modular, scalable, and ultra-fast open-source all-in-one eCommerce platform built on ASP.NET Core 10.

Try Online ∙ Developer Guide ∙ Forum ∙ Marketplace ∙ Translations


Smartstore Demo Shop


Smartstore is a cross-platform, modular, scalable, and ultra-fast open-source all-in-one eCommerce platform built on ASP.NET Core 10, Entity Framework Core 10, Vue.js, Sass, Bootstrap, and more.

Smartstore includes all the essential features to create multi-language, multi-store, and multi-currency shops, with built-in AI capabilities for text and image generation powered by the world's leading AI providers — targeting desktop and mobile devices alike. It enables SEO-optimized, rich product catalogs with support for an unlimited number of products and categories, variants, bundles, datasheets, ESD, discounts, coupons, and much more.

A comprehensive set of tools for CRM & CMS, sales, marketing, payment, and shipping makes Smartstore a powerful all-in-one solution that meets all your needs.

Smartstore delivers a beautiful and fully configurable storefront out of the box, built with a high-level design approach using Sass, Bootstrap, and other modern components. The included Flex theme is modern, clean, and fully responsive — giving shoppers the best possible experience on any device.

The state-of-the-art architecture — with ASP.NET Core 10, Entity Framework Core 10, and a domain-driven design approach — makes Smartstore easy to extend, extremely flexible, and a pleasure to work with.

 

Technology & Design

 

Key Features

Smartstore Screenshots

 

AI Features

Smartstore comes with a built-in AI framework that brings generative AI directly into the merchant workflow — no third-party plugins required.

Capabilities

Supported AI Providers

Smartstore integrates with all major AI providers through a unified, provider-agnostic abstraction layer. Switch or combine providers at any time without changing your workflow:

Provider Text Generation Image Generation
OpenAI / ChatGPT ✔ ✔
Google Gemini ✔ ✔
Anthropic Claude ✔ —
DeepSeek ✔ —
Ollama (self-hosted) ✔ —

 

Getting Started

System Requirements

Supported Operating Systems

Supported Database Systems

Upgrading from Smartstore.NET 4.2

Smartstore 5+ is a port of Smartstore.NET 4 — based on the classic .NET Framework 4.7.2 — to the modern ASP.NET Core 10 platform. Existing instances based on classic ASP.NET MVC can be upgraded seamlessly. To upgrade, simply replace the application files on your server (keep the App_Data directory intact) and all your data will be migrated to the new system automatically. See the documentation for detailed installation and upgrade instructions.

:information_source: Upgrading from versions earlier than 4.2 is not supported. Please migrate to Smartstore.NET 4.2 first, then upgrade to Smartstore 5+.

Visual Studio

  1. Clone the repository: git clone https://github.com/smartstore/Smartstore.git and check out the main branch.
  2. Download Visual Studio 2026 (any edition).
  3. Open Smartstore.sln and wait for Visual Studio to restore all NuGet packages.
  4. Set Smartstore.Web as the startup project and run it.

Repository Structure

Project Description
Smartstore Common low-level, application-agnostic infrastructure: bootstrapper, modularity engine, caching, pub/sub, imaging, type conversion, I/O, templating, scheduling, utilities, and extension methods
Smartstore.Data Database providers
Smartstore.Core Application-specific modules: catalog, checkout, identity, security, localization, logging, messaging, rules engine, search engine, theme engine, migrations, and more
Smartstore.Web.Common Common web features: custom MVC infrastructure, bundling, Tag Helpers, HTML helpers, and more
Smartstore.Modules All module and plugin projects
Smartstore.Web Entry host project: controllers, model classes, themes, and static assets

 

Building Smartstore

Option 1 — Publish from Visual Studio

  1. Open the Smartstore solution in Visual Studio 2026.
  2. Switch to the Release configuration.
  3. Rebuild the solution.
  4. Publish the Smartstore.Web host project.

Option 2 — Run a build script

Run the build script for your target platform from the build directory: build.{Platform}.cmd. The output is placed in build/artifacts/Community.{Version}.{Platform} and a zip archive is created in build/artifacts/ automatically.

By default, the script produces a self-contained, platform-specific application that bundles the ASP.NET runtime, so it runs on any machine without a pre-installed .NET runtime.

Smartstore uses Nuke as its build automation solution. You can customize the build process by editing src/Smartstore.Build/Smartstore.Build/Build.cs.

About the src/Smartstore.Web/Modules Directory

During the build, all modules in src/Smartstore.Modules/ are detected, compiled, and placed in src/Smartstore.Web/Modules/. The runtime loads modules dynamically from this directory. During development this folder is not required — you can safely delete it at any time.

Creating Docker Images

Run build/dockerize.{Platform}[.nobuild].sh to create a Docker image.

dockerize.linux.sh

Builds a Debian Linux base image with the full ASP.NET runtime, compiles the solution, and publishes a framework-dependent application inside the container. Also installs the native wkhtmltopdf library required for PDF generation.

dockerize.linux.nobuild.sh

Faster alternative — skips the build step. Requires a pre-built artifact in build/artifacts/Community.{Version}.linux-x64. Creates a Debian Linux base image with only the ASP.NET runtime dependencies and copies the artifact. Also installs wkhtmltopdf.

dockerize.windows.nobuild.sh

Creates a Windows Nano Server base image with only the ASP.NET runtime dependencies and copies the artifact from build/artifacts/Community.{Version}.win-x64. Requires the Docker engine to be running a Windows image.

Creating Docker Containers

Run compose.{DbSystem}.sh to create a ready-to-use Docker container that includes a database server.

compose.mysql.sh

Creates a composite Docker container with the Smartstore application image and the latest MySQL image.

compose.sqlserver.sh

Creates a composite Docker container with the Smartstore application image and the latest MS SQL Server image.

 

Try It Online

We provide a live demo so you can explore Smartstore without a local installation. Test all features in both the storefront and the backend. Note that the backend demo is shared — other testers may modify data simultaneously.

 

License

Smartstore Community Edition is released under the AGPL license.

⭐ Star this repository to stay up to date, follow our progress, and never miss a new release. Contributions and community involvement are always welcome.

Smartstore (smartstore/Smartstore)

Searching Database…

这是什么?Smartstore 是基于 ASP.NET Core 10 构建的模块化开源一体化电商平台,提供完整的店铺前端和管理后台,用于管理多语言、多店铺、多币种的在线商店。
这是添加到我应用里的库,还是我要部署的完整应用?它是一个完整的自托管 Web 应用,自带店铺前端和管理后台,不是嵌入其他项目的库。
怎么把它跑起来?克隆仓库,在 Visual Studio 2026 中打开 Smartstore.sln,把 Smartstore.Web 设为启动项目并运行,或者使用提供的构建脚本;也可以通过 dockerize 和 compose 脚本构建 Docker 镜像。
我需要什么数据库和操作系统?它可运行在 Windows 10+、Ubuntu 18.04+、Debian 11+ 或 macOS 10.11+ 上,数据库支持 SQL Server 2016+、MySQL 8.0+、PostgreSQL 11+ 或 SQLite 3.31+。
可以把旧的 Smartstore.NET 安装直接升级到这个版本吗?只有当你已经在用 Smartstore.NET 4.2 时才可以;更早的版本必须先迁移到 4.2,然后才能升级到 Smartstore 5+。
在安装任何东西之前能先试用吗?可以。Smartstore 提供同时覆盖店铺前端和后台管理的在线演示(登录 demo/1234),不过后台演示是与其他测试者共享的。
它开箱支持哪些 AI 提供商?Smartstore 内置的 AI 框架支持 OpenAI/ChatGPT、Google Gemini、Anthropic Claude、DeepSeek 和自托管的 Ollama 来做文本生成,其中 OpenAI 和 Gemini 还支持图像生成。
内置的主题引擎能做什么?它包含一个强大的主题引擎,支持主题继承和点击式配置,并带有用于灵活邮件/营销活动模板的 Liquid 模板引擎,还附带 HTML 转 PDF 转换器。
它能应对大型商品目录的规模吗?可以。它具备整页输出缓存、Redis、web farm 支持,以及一个专为极速返回结果而设计的分面搜索框架,即使商品多达数百万件也没问题。
Creator
smartstore
Size
145.2 MB
Stars
1.7K
Age
6y
Commits · 90 Days