** This package is for Umbraco 4.7+ running on .net 4 only **
Doc cart allows you to create basic shopping cart functionality to your Umbraco site in a few clicks. Products are Umbraco documents with a price and SKU property added.
This is not a replacement for any of the other commerce packages out there - no stock management, checkout and payment gateway integration is included. This is just an API and set of Macros for carts based on Umbraco documents. (I'll be blogging on how to use Contour and Bill4U to implement a checkout process).
The package provides the following Macros (each with a variation for UserControl, XSLT, Razor and AJAX).
The following API methods are provided - accessible via Base, Razor and XSLT extension:
The following options can be given in web.config:
<docCart idDocumentPropertyAlias="id" titleDocumentPropertyAlias="pageName"
priceDocumentPropertyAlias="price" defaultNumberFormat="$#,##0.00"
maximumQuantityOfItemsInCart="10" />
idDocumentPropertyAlias - is the document type property that is displayed in the Id column when viewing the cart by default this just uses the NodeId.
Revision history:
1.0.1 - Added EmptyCart() method to cart service.