No description, website, or topics provided.
C# ASP JavaScript CSS HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
packages
src-student
src
.gitattributes
.gitignore
README.md

README.md

Active Commerce Training Examples

Within this project you will find completed examples of exercises used during Active Commerce training, and other examples of extension and integration points that may be helpful in implementing Active Commerce.

Note that the examples within this project should not be considered production-ready code. They are merely intended to provide direction in your own implementation. These examples are not supported by Active Commerce, and we provide no warranty. Use at your own risk.

Contents

Products and Categories

Custom Product Class

  • Extend the Product domain object and Sitecore template

Product Import

  • Example of importing product data via the Sitecore Item API on a scheduled/batched basis.

Product Data Provider

  • Experimental example of real-time data integration via a Sitecore Data Provider for just specific fields within a product item.

Product Link Provider

  • Example of a custom link provider to allow products to be used in links more generically (e.g. Generic Link field, Rich Text links), while maintaining product url resolution.

Product Url Examples

  • Customizing the format of product urls.

Custom Category

  • Example of creating a custom category domain object and Sitecore template

Custom Product Sort

  • Example of a 'Sort by Rating' custom product sort option

Product Stock

Product Stock Extension

  • Example of extending the stock data stored in the Active Commerce database, allowing that data to be edited in the Content Editor, and using that data to implement new stock business rules.

Product Stock Update

  • Example of updating product stock data on a scheduled/batched basis.

Real-time Stock

  • Implement a custom ProductStockManager to retrieve stock in real-time from an external web service.

Product Pricing and Taxes

Real-time Pricing

  • Extend the product pricing pipeline to retrieve pricing in real-time (with a timed cache) from an external web service.

Category-Wide Sale Pricing

  • Modify the pricing pipeline to allow category-wide sale pricing.

Price Comparison

  • Allow display of price within product comparison tables

Pricing Rules Example

  • Demonstrates how you can manipulate product pricing using the Sitecore Rules Engine

Custom Tax Calculator

  • Example of implementing a custom tax calculator in order to implement custom tax logic or integrate with an external tax service.

Custom Tax Rate Provider

  • Example of implementing a custom tax rate provider. This example could be used (with testing) as-is for very simple U.S. sales tax scenarios. See provided README.

Checkout

Address Validator

  • Example of implementing a custom address validator for the checkout process.

Checkout Extension - Gift Message

  • Example of extending the data collected during checkout. There is a detailed overview of this example in the Active Commerce Developer's Cookbook

Payment Gateway Integration

  • Example of integrating with a new payment gateway for onsite / integrated payment.

Invoice Payment

  • Extending the payment step of the checkout process and order processing to allow for payment by invoice / purchase order number.

Checkout via API

  • Construct a shopping cart and execute order processing directly through the Active Commerce domain layer.

Gift Cards

  • Example implementation of Gift Cards, including checkout modifications, a backing (NHibernate-based) Gift Card repository, and simple admin page.

Orders and Order Processing

Order Data Extension

  • Extending the Order domain object and Sitecore template. This example is referenced/utilized within others in this solution.

Order Processing Pipeline Example

  • Example of adding a new processor to the order processing pipeline for real-time order data integration.

Batched/Scheduled Order Data Export

  • Example of exporting order data with an external system on a scheduled/batched basis.

Batched/Scheduled Order Data Update

  • Example of updating order status and tracking number from an external system on scheduled/batched basis.

Shopping Cart

Microsoft Unity "Hello World" Example

  • Simple example of replacing a component in Unity. In this case, the ShoppingCartManager.

Product Quantity Input

  • Allow a user to specify a product quantity before adding to cart.

Discount Extensions

  • Custom discount actions, including true BOGO discounts.

Estimate Shipping

  • Allow user to estimate shipping costs by zip code

Customer Data

Customer Info Extension

  • Extend the data stored on the customer profile

Shipping Integration

Shipping Rates Integration

  • Get shipping rates from an external web service.

Skinning

Various Skinning Examples

  • Skinning/theming scripts, styles, HTML templates, etc.

NHibernate

Simple Reviews System

  • Persist a custom object to the Active Commerce database with NHibernate and manage the data with Sitecore SPEAK