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.
- Extend the Product domain object and Sitecore template
- Example of importing product data via the Sitecore Item API on a scheduled/batched basis.
- Experimental example of real-time data integration via a Sitecore Data Provider for just specific fields within a product item.
- Example of creating a custom category domain object and Sitecore template
- Example of updating product stock data on a scheduled/batched basis.
- Implement a custom
ProductStockManager
to retrieve stock in real-time from an external web service.
- Extend the product pricing pipeline to retrieve pricing in real-time (with a timed cache) from an external web service.
- Modify the pricing pipeline to allow category-wide sale pricing.
- Allow display of price within product comparison tables
- Experimental example of implementing pricing rules to allow A/B testing of product pricing.
- Example of implementing a custom tax calculator in order to implement custom tax logic or integrate with an external tax service.
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
- Extending the payment step of the checkout process and order processing to allow for payment by invoice / purchase order number.
- 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.
Microsoft Unity "Hello World" Example
- Simple example of replacing a component in Unity. In this case, the
ShoppingCartManager
.
- Persist user shopping carts beyond the ASP.NET Session, in cookies and/or user profiles.
- Allow a user to specify a product quantity before adding to cart.
- Custom discount actions, including true BOGO discounts.
- Extend the data stored on the customer profile
- Get shipping rates from an external web service.
- Skinning/theming scripts, styles, HTML templates, etc.
- Customizing the format of product urls.