Custom Sitecore Commerce catalog plugin project with extended functionality for the Business Tools.
- Order Image Actions
- Status Entity Views
- Catalog Navigation View
- Sellable Item Variation Properties
- Variant Sellable Item Entity Link
Adds actions, Move Image Up and Move Image Down, to the Images entity view, to provide the business user the ability to order sellable item and variant images.
Enablement Policy Property: MoveImageActions
Adds Site-Ready Status, Pricing Status, and Inventory Status entity views added to the sellable item and variant page views. These views assist the business user in assessing whether the sellable item/variant has been correctly configured to be able to be purchased in the storefront.
In the Site-Ready Status view, the Price Status field is based on the Default Currency pricing.
Note: Customising around storefront/catalog associations, pricing, inventory, etc. may render these values inaccurate.
Enablement Policy Property: StatusViews
Adds the Catalog Navigation entity view to category and sellable item page views to assist the business user with Merchandising navigation and identifying the descendent associations.
Enablement Policy Property: CatalogNavigationView
Category entity view.
Sellable Item entity view.
Adds the properties from the VariationPropertiesPolicy to the Sellable Item's Variants entity view.
Enablement Policy Property: VariationProperties
Variants entity view.
Adds a Sellable Item entity view to the variant page view to provide a direct link back to the variant's owning sellable item.
Enablement Policy Property: RenderVariantSellableItemLink
Sellable Item entity view.
In the environment configuration files, add the CatalogFeatureEnablementPolicy and set the desired features to true
. (See the Enablement Policy Property value under each feature). For example:
{
"$type": "Ajsuth.Foundation.Catalog.Engine.Policies.CatalogFeatureEnablementPolicy, Ajsuth.Foundation.Catalog.Engine",
"MoveImageActions": true
}
- Download the repository.
- Add the Ajsuth.Foundation.Catalog.Engine.csproj to the Sitecore Commerce Engine solution.
- In the Sitecore Commerce Engine project, add a reference to the Ajsuth.Foundation.Catalog.Engine project.
- Enable desired features, following Enabling Features.
- Run the Sitecore Commerce Engine from Visual Studio or deploy the solution and run from IIS.
- Run the Bootstrap command on the Sitecore Commerce Engine.
Feature | Description | Issue |
---|---|---|
Status Entity Views | Bundles not currently supported in Status views. | #2 |
Status Entity Views | Status views currently only render status for latest entity version, regardless of which entity version has is active. | #3 |
Catalog Navigation View | Associating a category to the catalog and another category will prevent the catalog-category breadcrumb from displaying in the list of breadcrumbs. | #5 |
The code provided in this repository is sample code only. It is not intended for production usage and not endorsed by Sitecore. Both Sitecore and the code author do not take responsibility for any issues caused as a result of using this code. No guarantee or warranty is provided and code must be used at own risk.