Skip to content
The commerce module for Orchard Core.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Abstractions Cleanup code, namespaces, and add some code comments Apr 27, 2019
Drivers Cleanup code, namespaces, and add some code comments Apr 27, 2019
Fields Cleanup code, namespaces, and add some code comments Apr 27, 2019
Handlers Ensure currency from handler instead of later on driver. Mar 12, 2019
Indexes Setup the most basic structure for the module, add a product part wit… Jan 4, 2019
Migrations Cleanup code, namespaces, and add some code comments Apr 27, 2019
Models Fixes #35: don't crash when the default currency setting is not set. May 26, 2019
Money Fixes #35: don't crash when the default currency setting is not set. May 26, 2019
OrchardCore.Commerce.Tests Cleanup code, namespaces, and add some code comments Apr 27, 2019
Recipes Remove product samples Apr 18, 2019
Services Fixes #35: don't crash when the default currency setting is not set. May 26, 2019
Settings A better fix to #35, handling null when reading from config. May 26, 2019
ViewModels Introduce product attributes as fields. Built-in product attributes a… Apr 26, 2019
Views Introduce product attributes as fields. Built-in product attributes a… Apr 26, 2019
.gitignore Add price infrastructure and a simple price part. Feb 24, 2019
AdminMenu.cs Cleanup code, namespaces, and add some code comments Apr 27, 2019
CommerceConstants.cs Setup the most basic structure for the module, add a product part wit… Jan 4, 2019
LICENSE Initial commit Oct 24, 2018
Manifest.cs Product recipe Apr 17, 2019
OrchardCore.Commerce.csproj Fixes #35: don't crash when the default currency setting is not set. May 26, 2019
Permissions.cs Added settings page with configuration option for default currency. Apr 17, 2019
README.md Update README.md Jan 5, 2019
Startup.cs Introduce product attributes as fields. Built-in product attributes a… Apr 26, 2019

README.md

Orchard Core Commerce

Join the chat at https://gitter.im/OrchardCore-Commerce/Lobby

The commerce module for Orchard Core.

History, status, and planning

Orchard Core Commerce will be an Orchard port and partial rewrite of the open source Nwazet Commerce module that was built for Orchard CMS 1.x. Nwazet Commerce was initially built in 2012 by Bertrand Le Roy, loosely based on a commerce sample by Sipke Shoorstra. The initial goal of Nwazet Commerce was to power the web site of the hardware startup Nwazet. While Nwazet is no longer operating, the Nwazet Commerce project went on, and was further developed by a group of passionate contributors who are using the platform for their own, and their customer's web sites.

Like Orchard, Nwazet Commerce was built with extensibility in mind, and as such it has its own extensions (typical examples include local tax and shipping modules). It's also pure, idiomatic Orchard.

Orchard Core represents a major evolution of the Orchard design principles, and is sufficiently different that running Nwazet Commerce on it will necessitate significant work. As such, we've decided that starting from a blank slate was the best way to go, so we'll port Nwazet Commerce piece by piece, being careful to accurately apply Orchard Core's new design principles. We also decided to adopt a new name, that gets rid of the now obsolete origins, and establishes our ambition for the module to become the go-to commerce module for Orchard Core.

This work is in its initial design phases. There's a lot of work to do, and yes, we do welcome participation in any shape or form.

The work will focus at first on porting a minimum viable feature set:

  • Product, price, and inventory parts and/or fields (those were a single part in Nwazet) Note: not all products have a price
  • Shopping cart
  • Checkout (probably redesigned around Orchard Workflows)
  • Base infrastructure for payment, plus one implementation (Stripe)
  • Order content type and management screens (including a redesign and refactoring of the order part)
  • Workflow activities

Globalization should be taken into account at every step.

Setting up your dev environment

  1. Prerequisites: Make sure you have an up-to-date clone of the Orchard Core repository on the dev branch. Please consult the Orchard Core documentation and make sure you have a working Orchard before you proceed. You'll also, of course, need all of Orchard Core's prerequisites for development (.NET Core, a code editor, etc.). The following steps assume some basic understanding of Orchard Core.
  2. Clone the module under [your Orchard Core clone's root]/src/OrchardCore.Modules.
  3. Add the existing project to the solution under src/OrchardCore.Modules in the solution explorer if you're using Visual Studio.
  4. Add a reference to the module from the OrchardCore.Cms.Web project.
  5. Build, run.
  6. From the admin, enable the module's only feature.
  7. (optional) Start using the features, by creating a new Product content type, and adding the product part to it.
You can’t perform that action at this time.