Get Ready for the Ucommerce for Sitecore Master Classes

In this section we’ll cover what’s in the box before we start coding away. The solution is created so it resembles a “real life” Ucommerce project as close as possible.

 


The solution projects

The solution is built up from 3 different projects:

Ucommerce.MasterClass.BusinessLogic
    • This will be used on the deep-dive part of the course primarily to create different extensions we will to deploy to the website, but also on the integration project when exploring the query APIs.

 

Ucommerce.MasterClass.Integration
    • Console Application that can access the APIs and the Ucommerce data store. We will use this on the deep-dive part of the course when we explore the query APIs. This project has an assembly reference for the BusinessLogic project.

 

Ucommerce.MasterClass.Website - a website project where all resources for the site exists including:
  • Sitecore sites configuration pushed to Include folder
  • Ucommerce configuration files to register custom components used for deep-dive
  • Models, Views, and Controllers for MVC components to scaffold the webshop
  • A few javascript files and styles sheets including Bootstrap for bells and whistles

The purpose of the project is to push extensions and modifications to the site. This project has an assembly reference for uCommerce.MasterClass.BusinessLogic.


The deploy tool

The deploy tool is used to push over all binaries, javascript files, style sheets, configuration files and more. The deploy tool is created as power shell files and will run a few scripts to deploy everything needed to the website.

To configure the deploy tool, follow the “Expertise 010”. This is the first exercise of the master class and is not required on beforehand.


It's all MVC

The first part of the Master Class is to build your own version of a webshop using MVC. Here’s what comes out of the box with the master class solution:

Views
    • Under the views folder, we’ve created all the markup needed to present the ecommerce data for the visitors. If you’re interested and/or want to modify it you’re more that welcome to do so.
Models
    • Under the models folder in the Master Class, we’ve created the view models needed for the views. There’s nothing fancy to it – only classes with a few properties used in each of the views.
Controllers
    • Under the Controllers folder, you’ll find all the controllers whose purpose is to set the view and the model. The controllers' responsibility is also to handle postbacks when the user clicks submit. The exercises will primarily be based in here.

 

Congratulations! You’re now ready to become a Ucommerce Rockstar ☺

{{lineitem.ProductName}}

{{lineitem.VariantName}} - {{lineitem.Quantity}} x {{lineitem.FormattedPrice}} {{lineitem.FormattedPrice}}

Your cart is empty ;(
Total {{basket.FormattedProductsTotal}}
Checkout